<!ELEMENT extension (renderingType* | renderingBindings*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT renderingType EMPTY>
<!ATTLIST renderingType
name CDATA #REQUIRED
id CDATA #REQUIRED
class CDATA #REQUIRED>
이 요소에서는 렌더링 유형을 정의합니다.
org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate
를 구현하는
Java 클래스의 완전한 이름 <!ELEMENT renderingBindings (enablement*)>
<!ATTLIST renderingBindings
renderingIds CDATA #IMPLIED
primaryId CDATA #IMPLIED
class CDATA #IMPLIED
defaultIds CDATA #IMPLIED>
메모리 블록과 사용 가능한 렌더링을 바인드합니다.
class
를
제공하는 경우 지정하지 않아도 됩니다. class
를
제공하는 경우 지정하지 않아도 됩니다. 클라이언트는 메모리 블록당
하나의 기본 렌더링 유형만 지정하도록 주의해야 합니다. org.eclipse.debug.ui.memory.IMemoryRenderingBindingsProvider
를
구현하는 Java 클래스의 완전한 이름. 이를 통해 동적 렌더링을 바인드할 수
있습니다. 이 항목을 지정하면
renderingIds
, defaultIds
및
primaryId
를 지정하지 않아도 됩니다. class
를
제공하는 경우 지정하지 않아도 됩니다.
위 예제에서는 새 렌더링 유형, Sample Renderin이 정의됩니다.<extension point=
"org.eclipse.debug.ui.memoryRenderings"
>
<renderingType name=
"Sample Rendering"
id=
"com.example.sampleRendering"
class=
"com.example.SampleRenderingTypeDelegate"
>
</renderingType>
<renderingBindings renderingIds=
"com.example.sampleRendering"
>
<enablement>
<instanceof value=
"com.example.SampleMemoryBlock"
/>
</enablement>
</renderingBindings>
</extension>
com.example.SampleRenderingTypeDelegate
클래스는
org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate
를
구현하고 이 클래스를 사용하여 이 유형의 새 렌더링을 작성합니다. 렌더링은
com.exmaple.SampleMemoryBlock
인스턴스와 바인드됩니다.
디버그 플랫폼에서는 다음 렌더링 유형을 제공합니다.
디버그 플랫폼에서는 렌더링을 호스트하는 메모리 보기를 제공합니다.
Copyright (c) 2004, 2005 IBM Corporation and others.
All rights reserved. 본 프로그램 및 본 프로그램에 동봉되는 자료는 본 배포물에 동봉되는 Eclipse Public License v1.0의 조항에 따라 사용해야 하며
웹 사이트(http://www.eclipse.org/legal/epl-v10.html)에서도 관련 사항을 참조할 수 있습니다.