<!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>
true
です。<!ELEMENT variable EMPTY>
<!ATTLIST variable
name CDATA #REQUIRED
value CDATA #REQUIRED>
このタイプのオブジェクトに対する論理値の 1 つの変数。
上記の例において、Map はそのエントリーに変換され、Map$Entry はそのキーおよび値に変換されます。<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>
Copyright (c) 2004, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html