Java Logical Structures

org.eclipse.jdt.debug.javaLogicalStructures

3.1

This extension point allows developers to define a logical structure for Java objects of a specified type. The logical value is created by evaluating the provided code snippet.

<!ELEMENT extension (javaLogicalStructure)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT javaLogicalStructure (variable)>

<!ATTLIST javaLogicalStructure

type        CDATA #REQUIRED

subtypes    (true | false) "true"

value       CDATA #IMPLIED

description CDATA #REQUIRED>


<!ELEMENT variable EMPTY>

<!ATTLIST variable

name  CDATA #REQUIRED

value CDATA #REQUIRED>

One variable of the logical value for the object of this type.



Following is an example of a Java logical structure extension point with two structures:

<extension point=

"org.eclipse.jdt.debug.javaLogicalStructures"

>

<javaLogitalStructure subtypes=

"true"

value=

"return entrySet().toArray();"

type=

"java.util.Map"

/>

<javaLogitalStructure subtypes=

"true"

type=

"java.util.Map$Entry"

>

<variable value=

"return getKey();"

name=

"key"

/>

<variable value=

"return getValue();"

name=

"value"

/>

</javaLogitalStructure>

</extension>

In the example above a Map is translated into its entries and a Map$Entry is translated into its key and value.

[Enter API information here.]

[Enter information about supplied implementation of this extension point.]