<!ELEMENT extension (propertySections)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT propertySections (propertySection+)>
<!ATTLIST propertySections
contributorId CDATA #REQUIRED>
<!ELEMENT propertySection (input+)>
<!ATTLIST propertySection
tab CDATA #REQUIRED
id CDATA #REQUIRED
class CDATA #REQUIRED
afterSection CDATA #IMPLIED
filter CDATA #IMPLIED
enablesFor CDATA #IMPLIED>
n | - a precise number of items selected. For example: enablesFor=" 1" enables the section only when 1 item is selected |
<!ELEMENT input EMPTY>
<!ATTLIST input
type CDATA #REQUIRED>
<extension point=
"org.eclipse.wst.ui.properties.propertySections"
>
<propertySections contributorId=
"org.eclipse.gef.examples.logicdesigner.LogicEditor"
>
<propertySection tab=
"logic.tab.Element"
class=
"org.eclipse.gef.examples.logicdesigner.sections.NameSection"
id=
"logic.section.Name"
>
<input type=
"org.eclipse.gef.examples.logicdesigner.model.LogicElement"
/>
</propertySection>
<propertySection tab=
"logic.tab.Location"
class=
"org.eclipse.gef.examples.logicdesigner.sections.LocationSection"
id=
"logic.section.Location"
>
<input type=
"org.eclipse.gef.examples.logicdesigner.model.LogicSubpart"
/>
</propertySection>
<propertySection tab=
"logic.tab.Size"
class=
"org.eclipse.gef.examples.logicdesigner.sections.SizeSection"
id=
"logic.section.Size"
filter=
"org.eclipse.gef.examples.logicdesigner.sections.LogicElementSizeFilter"
>
<input type=
"org.eclipse.gef.examples.logicdesigner.model.LogicSubpart"
/>
</propertySection>
<propertySection tab=
"logic.tab.Element"
class=
"org.eclipse.gef.examples.logicdesigner.sections.ValueSection"
id=
"logic.section.Value"
>
<input type=
"org.eclipse.gef.examples.logicdesigner.model.LED"
/>
</propertySection>
</propertySections>
</extension>
Copyright (c) 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