디버그 모델 프리젠테이션

org.eclipse.debug.ui.debugModelPresentations

이 확장점을 통해 도구가 디버그 모델의 프리젠테이션 특성을 처리할 수 있습니다. 디버그 모델 프리젠테이션은 특정 디버그 모델의 요소에 레이블, 이미지 및 편집기를 제공해야 합니다.

<!ELEMENT extension (debugModelPresentation*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT debugModelPresentation EMPTY>

<!ATTLIST debugModelPresentation

class                      CDATA #REQUIRED

id                         CDATA #REQUIRED

detailsViewerConfiguration CDATA #IMPLIED>


다음은 디버그 모델 프리젠테이션 확장점에 관한 예제입니다.

   

<extension point =

"org.eclipse.debug.ui.debugModelPresentations"

>

<debugModelPresentation class =

"com.example.JavaModelPresentation"

id =

"com.example.JavaDebugModel"

>

</debugModelPresentation>

</extension>

위의 예제에서 com.example.JavaModelPresentation 클래스는 com.example.JavaDebugModel에서 식별된 디버그 모델의 디버그 요소를 표현하는 데 사용됩니다.

class 조치 속성 값은 org.eclipse.debug.ui.IDebugModelPresentation을 구현하는 Java 클래스의 완전한 클래스 이름이어야 합니다. 3.1부터, 디버그 모델 프리젠테이션이 선택적으로 IColorProviderIFontProvider를 구현하여 디버그 요소에 대한 기본 글꼴과 색상을 대체할 수 있습니다.