diff options
| author | Paul Elder | 2013-03-11 17:22:17 +0000 |
|---|---|---|
| committer | Paul Elder | 2013-03-12 19:46:04 +0000 |
| commit | d4b6051bd65cd0510084e05e5a35279eae4568a8 (patch) | |
| tree | 6a36911afa265262690e9deb5556de4ef9310e99 | |
| parent | 0bbf6a09bf8ed0bca2f4d4b0d4491ec17c84f0eb (diff) | |
| download | eclipse.platform.ui-d4b6051bd65cd0510084e05e5a35279eae4568a8.tar.gz eclipse.platform.ui-d4b6051bd65cd0510084e05e5a35279eae4568a8.tar.xz eclipse.platform.ui-d4b6051bd65cd0510084e05e5a35279eae4568a8.zip | |
bug 402764: Remove the MOpaque* model classesI20130313-0800I20130312-2000
Note: All changes affect javadoc only:
* Mark MOpaque* and MRendered* as @noreference in the the model
* Add documentation nodes to all types and features in the model.
* Regenerate all interfaces to pick up new model doc comments
Change-Id: Ie4c13a3e8c72f193e73b9ad70e12419ae638ea02
83 files changed, 4813 insertions, 499 deletions
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore b/bundles/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore index 4ef43ca525d..62606bdf65b 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore @@ -1,26 +1,61 @@ <?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="fragment" - nsURI="http://www.eclipse.org/ui/2010/UIModel/fragment" nsPrefix="fragment"> +<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="fragment" nsURI="http://www.eclipse.org/ui/2010/UIModel/fragment" + nsPrefix="fragment"> <eClassifiers xsi:type="ecore:EClass" name="ModelFragments"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore#//ApplicationElement" - containment="true"/> + containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="fragments" upperBound="-1" - eType="#//ModelFragment" containment="true"/> + eType="#//ModelFragment" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="ModelFragment" abstract="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> <eOperations name="merge" upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore#//ApplicationElement"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> <eParameters name="application" eType="ecore:EClass platform:/plugin/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore#//Application"/> </eOperations> <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore#//ApplicationElement" - containment="true"/> + containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="StringModelFragment" eSuperTypes="#//ModelFragment"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="featurename" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentElementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInList" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="featurename" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentElementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInList" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/> + </eAnnotations> + </eStructuralFeatures> </eClassifiers> </ecore:EPackage> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore index 213ec6aaebd..c57b14e65a6 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore @@ -9,12 +9,27 @@ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Application">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="commands" upperBound="-1"
- eType="#//commands/Command" containment="true"/>
+ eType="#//commands/Command" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="addons" upperBound="-1"
- eType="#//Addon" containment="true"/>
+ eType="#//Addon" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="categories" upperBound="-1"
- eType="#//commands/Category" containment="true"/>
+ eType="#//commands/Category" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/basic/Window"/>
</eGenericSuperTypes>
@@ -29,20 +44,58 @@ <eGenericSuperTypes eClassifier="#//ui/SnippetContainer"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ApplicationElement" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="persistedState" upperBound="-1"
- eType="#//StringToStringMap" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tags" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributorURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="#//StringToStringMap" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="tags" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributorURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="transientData" upperBound="-1"
- eType="#//StringToObjectMap" transient="true" containment="true"/>
+ eType="#//StringToObjectMap" transient="true" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Contribution" abstract="true" eSuperTypes="#//ApplicationElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="object" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Addon" eSuperTypes="#//Contribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Addon" eSuperTypes="#//Contribution"/>
<eClassifiers xsi:type="ecore:EClass" name="StringToObjectMap" instanceClassName="java.util.Map$Entry">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
@@ -51,138 +104,396 @@ nsPrefix="commands">
<eClassifiers xsi:type="ecore:EClass" name="BindingTableContainer" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="bindingTables" upperBound="-1"
- eType="#//commands/BindingTable" containment="true"/>
+ eType="#//commands/BindingTable" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="rootContext" upperBound="-1"
- eType="#//commands/BindingContext" containment="true"/>
+ eType="#//commands/BindingContext" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bindings" abstract="true" interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="bindingContexts" upperBound="-1"
- eType="#//commands/BindingContext"/>
+ eType="#//commands/BindingContext">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BindingContext" eSuperTypes="#//ApplicationElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
- eType="#//commands/BindingContext" containment="true"/>
+ eType="#//commands/BindingContext" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BindingTable" eSuperTypes="#//ApplicationElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="bindings" upperBound="-1"
- eType="#//commands/KeyBinding" containment="true"/>
+ eType="#//commands/KeyBinding" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="bindingContext" lowerBound="1"
- eType="#//commands/BindingContext"/>
+ eType="#//commands/BindingContext">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Command" eSuperTypes="#//ApplicationElement">
- <eOperations name="getLocalizedCommandName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="commandName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedCommandName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="commandName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1"
- eType="#//commands/CommandParameter" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="category" eType="#//commands/Category"/>
+ eType="#//commands/CommandParameter" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="category" eType="#//commands/Category">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommandParameter" eSuperTypes="#//ApplicationElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="optional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
+ defaultValueLiteral="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Handler" eSuperTypes="#//Contribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="command" lowerBound="1"
- eType="#//commands/Command"/>
+ eType="#//commands/Command">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="HandlerContainer" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="handlers" upperBound="-1"
- eType="#//commands/Handler" containment="true"/>
+ eType="#//commands/Handler" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="KeyBinding" eSuperTypes="#//ApplicationElement #//commands/KeySequence">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="command" lowerBound="1"
- eType="#//commands/Command"/>
+ eType="#//commands/Command">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1"
- eType="#//commands/Parameter" containment="true"/>
+ eType="#//commands/Parameter" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="KeySequence" abstract="true" interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="keySequence" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Parameter" eSuperTypes="#//ApplicationElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="ParameterizedCommand" instanceClassName="org.eclipse.core.commands.ParameterizedCommand"
serializable="false"/>
<eClassifiers xsi:type="ecore:EClass" name="Category" eSuperTypes="#//ApplicationElement">
- <eOperations name="getLocalizedName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
</eSubpackages>
<eSubpackages name="ui" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/ui"
nsPrefix="ui">
<eClassifiers xsi:type="ecore:EClass" name="Context" abstract="true" interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="context" eType="#//IEclipseContext"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="variables" ordered="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1"
- eType="#//StringToStringMap" containment="true"/>
+ eType="#//StringToStringMap" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Dirtyable" abstract="true" interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dirty" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Input" abstract="true" interface="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="inputURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="inputURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UIElement" abstract="true" eSuperTypes="#//ApplicationElement">
- <eOperations name="getLocalizedAccessibilityPhrase" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedAccessibilityPhrase" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="widget" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="renderer" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="toBeRendered" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="onTop" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ defaultValueLiteral="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="onTop" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="visible" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
+ defaultValueLiteral="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="parent" eOpposite="#//ui/ElementContainer/children">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericType eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/UIElement"/>
</eGenericType>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="containerData" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="containerData" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="curSharedRef" eType="#//ui/advanced/Placeholder"
- transient="true" derived="true"/>
+ transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="visibleWhen" eType="#//ui/Expression"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="accessibilityPhrase"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ElementContainer" abstract="true"
eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eTypeParameters name="T">
<eBounds eClassifier="#//ui/UIElement"/>
</eTypeParameters>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
containment="true" eOpposite="#//ui/UIElement/parent">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericType eTypeParameter="#//ui/ElementContainer/T"/>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="selectedElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericType eTypeParameter="#//ui/ElementContainer/T"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UILabel" abstract="true" interface="true">
- <eOperations name="getLocalizedLabel" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eOperations name="getLocalizedTooltip" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="iconURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tooltip" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedLabel" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eOperations name="getLocalizedTooltip" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="iconURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="tooltip" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GenericStack" abstract="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eTypeParameters name="T">
<eBounds eClassifier="#//ui/UIElement"/>
</eTypeParameters>
@@ -191,20 +502,34 @@ </eGenericSuperTypes>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GenericTile" abstract="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eTypeParameters name="T">
<eBounds eClassifier="#//ui/UIElement"/>
</eTypeParameters>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="horizontal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="horizontal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eTypeParameter="#//ui/GenericTile/T"/>
</eGenericSuperTypes>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GenericTrimContainer" abstract="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eTypeParameters name="T">
<eBounds eClassifier="#//ui/UIElement"/>
</eTypeParameters>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="side" lowerBound="1"
- eType="#//ui/SideValue"/>
+ eType="#//ui/SideValue">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eTypeParameter="#//ui/GenericTrimContainer/T"/>
</eGenericSuperTypes>
@@ -215,17 +540,39 @@ <eLiterals name="Left" value="2"/>
<eLiterals name="Right" value="3"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Expression" abstract="true" eSuperTypes="#//ApplicationElement"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Expression" abstract="true" eSuperTypes="#//ApplicationElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CoreExpression" eSuperTypes="#//ui/Expression">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="coreExpressionId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- defaultValueLiteral=""/>
+ defaultValueLiteral="">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="coreExpression" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SnippetContainer" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="snippets" upperBound="-1"
- eType="#//ui/UIElement" containment="true"/>
+ eType="#//ui/UIElement" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eSubpackages name="menu" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu"
nsPrefix="menu">
@@ -235,133 +582,365 @@ <eLiterals name="Radio" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Item" abstract="true" eSuperTypes="#//ui/UIElement #//ui/UILabel">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="enabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="selected" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ defaultValueLiteral="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="selected" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1"
- eType="#//ui/menu/ItemType"/>
+ eType="#//ui/menu/ItemType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="HandledItem" abstract="true" eSuperTypes="#//ui/menu/Item">
- <eStructuralFeatures xsi:type="ecore:EReference" name="command" eType="#//commands/Command"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="command" eType="#//commands/Command">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wbCommand" eType="#//commands/ParameterizedCommand"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1"
- eType="#//commands/Parameter" containment="true"/>
+ eType="#//commands/Parameter" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuElement" abstract="true" eSuperTypes="#//ui/UIElement #//ui/UILabel">
- <eOperations name="getLocalizedMnemonics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mnemonics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedMnemonics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mnemonics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MenuItem" abstract="true" eSuperTypes="#//ui/menu/Item #//ui/menu/MenuElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MenuSeparator" eSuperTypes="#//ui/menu/MenuElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MenuItem" abstract="true" eSuperTypes="#//ui/menu/Item #//ui/menu/MenuElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="MenuSeparator" eSuperTypes="#//ui/menu/MenuElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Menu">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="enabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
+ defaultValueLiteral="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/menu/MenuElement"/>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/menu/MenuElement"/>
</eGenericSuperTypes>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuContribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInParent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- defaultValueLiteral=""/>
+ defaultValueLiteral="">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/menu/MenuElement"/>
</eGenericSuperTypes>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PopupMenu" eSuperTypes="#//ui/menu/Menu #//ui/Context"/>
- <eClassifiers xsi:type="ecore:EClass" name="DirectMenuItem" eSuperTypes="#//ui/menu/MenuItem #//Contribution"/>
- <eClassifiers xsi:type="ecore:EClass" name="HandledMenuItem" eSuperTypes="#//ui/menu/MenuItem #//ui/menu/HandledItem"/>
+ <eClassifiers xsi:type="ecore:EClass" name="PopupMenu" eSuperTypes="#//ui/menu/Menu #//ui/Context">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DirectMenuItem" eSuperTypes="#//ui/menu/MenuItem #//Contribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandledMenuItem" eSuperTypes="#//ui/menu/MenuItem #//ui/menu/HandledItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ToolItem" abstract="true" eSuperTypes="#//ui/menu/Item #//ui/menu/ToolBarElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="menu" eType="#//ui/menu/Menu"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ToolBar">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/menu/ToolBarElement"/>
</eGenericSuperTypes>
<eGenericSuperTypes eClassifier="#//ui/basic/TrimElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ToolBarElement" abstract="true"
- eSuperTypes="#//ui/UIElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="ToolControl" eSuperTypes="#//ui/menu/ToolBarElement #//Contribution #//ui/basic/TrimElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="HandledToolItem" eSuperTypes="#//ui/menu/ToolItem #//ui/menu/HandledItem"/>
- <eClassifiers xsi:type="ecore:EClass" name="DirectToolItem" eSuperTypes="#//ui/menu/ToolItem #//Contribution"/>
- <eClassifiers xsi:type="ecore:EClass" name="ToolBarSeparator" eSuperTypes="#//ui/menu/ToolBarElement"/>
+ eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ToolControl" eSuperTypes="#//ui/menu/ToolBarElement #//Contribution #//ui/basic/TrimElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandledToolItem" eSuperTypes="#//ui/menu/ToolItem #//ui/menu/HandledItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DirectToolItem" eSuperTypes="#//ui/menu/ToolItem #//Contribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ToolBarSeparator" eSuperTypes="#//ui/menu/ToolBarElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuContributions" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="menuContributions"
- upperBound="-1" eType="#//ui/menu/MenuContribution" containment="true"/>
+ upperBound="-1" eType="#//ui/menu/MenuContribution" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RenderedMenu" eSuperTypes="#//ui/menu/Menu">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MMenu
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionManager"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RenderedToolBar" eSuperTypes="#//ui/menu/ToolBar">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MToolBar
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionManager"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ToolBarContribution">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInParent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInParent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/menu/ToolBarElement"/>
</eGenericSuperTypes>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ToolBarContributions" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="toolBarContributions"
- upperBound="-1" eType="#//ui/menu/ToolBarContribution" containment="true"/>
+ upperBound="-1" eType="#//ui/menu/ToolBarContribution" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrimContribution">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInParent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="positionInParent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/basic/TrimElement"/>
</eGenericSuperTypes>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrimContributions" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
Provisional for 4.3.
</p>
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="trimContributions"
- upperBound="-1" eType="#//ui/menu/TrimContribution" containment="true"/>
+ upperBound="-1" eType="#//ui/menu/TrimContribution" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RenderedMenuItem" eSuperTypes="#//ui/menu/MenuItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MMenuItem
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionItem" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OpaqueToolItem" eSuperTypes="#//ui/menu/ToolItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MToolItem
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="opaqueItem" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OpaqueMenuItem" eSuperTypes="#//ui/menu/MenuItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MMenuItem
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="opaqueItem" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OpaqueMenuSeparator" eSuperTypes="#//ui/menu/MenuSeparator">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MMenuSeparator
@noreference"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="opaqueItem" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
- transient="true"/>
+ transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OpaqueMenu" eSuperTypes="#//ui/menu/Menu">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Do no use! This class will be removed at the beginning of Luna (4.4) development.
@deprecated Use MMenu
@noreference"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DynamicMenuContribution" eSuperTypes="#//ui/menu/MenuItem #//Contribution">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OpaqueMenu" eSuperTypes="#//ui/menu/Menu"/>
- <eClassifiers xsi:type="ecore:EClass" name="DynamicMenuContribution" eSuperTypes="#//ui/menu/MenuItem #//Contribution"/>
</eSubpackages>
<eSubpackages name="basic" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic"
nsPrefix="basic">
<eClassifiers xsi:type="ecore:EClass" name="Part" eSuperTypes="#//ui/UIElement #//ui/basic/PartSashContainerElement #//ui/basic/StackElement #//Contribution #//ui/Context #//ui/UILabel #//commands/HandlerContainer #//ui/Dirtyable #//commands/Bindings #//ui/basic/WindowElement">
- <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="menus" upperBound="-1"
- eType="#//ui/menu/Menu" containment="true"/>
+ eType="#//ui/menu/Menu" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="toolbar" eType="#//ui/menu/ToolBar"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="closeable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="false"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ defaultValueLiteral="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputPart" eSuperTypes="#//ui/basic/Part #//ui/Input">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InputPart" eSuperTypes="#//ui/basic/Part #//ui/Input"/>
<eClassifiers xsi:type="ecore:EClass" name="PartStack">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericSuperTypes eClassifier="#//ui/GenericStack">
<eTypeArguments eClassifier="#//ui/basic/StackElement"/>
</eGenericSuperTypes>
@@ -369,6 +948,9 @@ <eGenericSuperTypes eClassifier="#//ui/basic/WindowElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PartSashContainer">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericSuperTypes eClassifier="#//ui/GenericTile">
<eTypeArguments eClassifier="#//ui/basic/PartSashContainerElement"/>
</eGenericSuperTypes>
@@ -376,20 +958,51 @@ <eGenericSuperTypes eClassifier="#//ui/basic/WindowElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Window">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="mainMenu" eType="#//ui/menu/Menu"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- defaultValueLiteral="-2147483648"/>
+ defaultValueLiteral="-2147483648">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="y" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- defaultValueLiteral="-2147483648"/>
+ defaultValueLiteral="-2147483648">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- defaultValueLiteral="-1"/>
+ defaultValueLiteral="-1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- defaultValueLiteral="-1"/>
+ defaultValueLiteral="-1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="windows" upperBound="-1"
- eType="#//ui/basic/Window" containment="true"/>
+ eType="#//ui/basic/Window" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="sharedElements" upperBound="-1"
- eType="#//ui/UIElement" containment="true"/>
+ eType="#//ui/UIElement" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/basic/WindowElement"/>
</eGenericSuperTypes>
@@ -400,36 +1013,84 @@ <eGenericSuperTypes eClassifier="#//ui/SnippetContainer"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrimmedWindow" eSuperTypes="#//ui/basic/Window">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="trimBars" upperBound="-1"
- eType="#//ui/basic/TrimBar" containment="true"/>
+ eType="#//ui/basic/TrimBar" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TrimElement" abstract="true" eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TrimElement" abstract="true" eSuperTypes="#//ui/UIElement"/>
<eClassifiers xsi:type="ecore:EClass" name="PartSashContainerElement" abstract="true"
- interface="true" eSuperTypes="#//ui/UIElement"/>
+ interface="true" eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WindowElement" abstract="true" interface="true"
- eSuperTypes="#//ui/UIElement"/>
+ eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrimBar">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="pendingCleanup" upperBound="-1"
- eType="#//ui/basic/TrimElement" transient="true"/>
+ eType="#//ui/basic/TrimElement" transient="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/GenericTrimContainer">
<eTypeArguments eClassifier="#//ui/basic/TrimElement"/>
</eGenericSuperTypes>
<eGenericSuperTypes eClassifier="#//ui/UIElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="StackElement" abstract="true" interface="true"
- eSuperTypes="#//ui/UIElement"/>
+ eSuperTypes="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
</eSubpackages>
<eSubpackages name="advanced" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced"
nsPrefix="advanced">
<eClassifiers xsi:type="ecore:EClass" name="Placeholder" eSuperTypes="#//ui/UIElement #//ui/basic/PartSashContainerElement #//ui/basic/StackElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="ref" lowerBound="1"
- eType="#//ui/UIElement"/>
+ eType="#//ui/UIElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="closeable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="false"/>
+ defaultValueLiteral="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Perspective">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="windows" upperBound="-1"
- eType="#//ui/basic/Window" containment="true"/>
+ eType="#//ui/basic/Window" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eGenericSuperTypes eClassifier="#//ui/ElementContainer">
<eTypeArguments eClassifier="#//ui/basic/PartSashContainerElement"/>
</eGenericSuperTypes>
@@ -437,6 +1098,9 @@ <eGenericSuperTypes eClassifier="#//ui/Context"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PerspectiveStack">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eGenericSuperTypes eClassifier="#//ui/UIElement"/>
<eGenericSuperTypes eClassifier="#//ui/GenericStack">
<eTypeArguments eClassifier="#//ui/advanced/Perspective"/>
@@ -444,7 +1108,11 @@ <eGenericSuperTypes eClassifier="#//ui/basic/PartSashContainerElement"/>
<eGenericSuperTypes eClassifier="#//ui/basic/WindowElement"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Area" eSuperTypes="#//ui/basic/PartSashContainer #//ui/UILabel"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Area" eSuperTypes="#//ui/basic/PartSashContainer #//ui/UILabel">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eClassifiers>
</eSubpackages>
</eSubpackages>
<eSubpackages name="descriptor" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/descriptor"
@@ -452,23 +1120,69 @@ <eSubpackages name="basic" nsURI="http://www.eclipse.org/ui/2010/UIModel/application/descriptor/basic"
nsPrefix="basic">
<eClassifiers xsi:type="ecore:EClass" name="PartDescriptor" eSuperTypes="#//ApplicationElement #//ui/UILabel #//commands/HandlerContainer #//commands/Bindings">
- <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="allowMultiple" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ <eOperations name="getLocalizedDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="allowMultiple" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="menus" upperBound="-1"
- eType="#//ui/menu/Menu" containment="true"/>
+ eType="#//ui/menu/Menu" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="toolbar" eType="#//ui/menu/ToolBar"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="closeable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="false"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dirtyable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ defaultValueLiteral="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dirtyable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="contributionURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PartDescriptorContainer" abstract="true"
interface="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptors" upperBound="-1"
- eType="#//descriptor/basic/PartDescriptor" containment="true"/>
+ eType="#//descriptor/basic/PartDescriptor" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<p>
<strong>Developers</strong>:
Add more detailed documentation by editing this comment in 
org.eclipse.ui.model.workbench/model/UIElements.ecore. 
There is a GenModel/documentation node under each type and attribute.
</p>"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
</eSubpackages>
</eSubpackages>
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.genmodel b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.genmodel index 891e011e539..7f9c1aaa283 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.genmodel +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.genmodel @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<genmodel:GenModel xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" +<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2008, 2012 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

Contributors:
 IBM Corporation - initial API and implementation" modelDirectory="/org.eclipse.e4.ui.model.workbench/src" modelPluginID="org.eclipse.e4.ui.model.workbench" + templateDirectory="/org.eclipse.e4.ui.model.workbench/templates" dynamicTemplates="true" modelName="UIElements" modelPluginClass="org.eclipse.e4.ui.model.application.impl.MWorkbenchModelActivator" nonNLSMarkers="true" rootExtendsInterface="" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container" suppressEMFTypes="true" suppressEMFMetaData="true" featureMapWrapperInternalInterface="" @@ -24,17 +24,20 @@ </genClasses> <genClasses ecoreClass="UIElements.ecore#//ApplicationElement"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ApplicationElement/elementId"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UIElements.ecore#//ApplicationElement/persistedState"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ApplicationElement/tags"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ApplicationElement/contributorURI"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ApplicationElement/transientData"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UIElements.ecore#//ApplicationElement/clonableSnippets"/> + <genFeatures createChild="false" ecoreFeature="ecore:EReference UIElements.ecore#//ApplicationElement/transientData"/> </genClasses> <genClasses image="false" ecoreClass="UIElements.ecore#//Contribution" labelFeature="#//application/Contribution/contributionURI"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//Contribution/contributionURI"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//Contribution/object"/> - <genFeatures createChild="false" ecoreFeature="ecore:EReference UIElements.ecore#//Contribution/persistedState"/> </genClasses> <genClasses ecoreClass="UIElements.ecore#//Addon" labelFeature="#//application/Contribution/contributionURI"/> + <genClasses ecoreClass="UIElements.ecore#//StringToObjectMap"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//StringToObjectMap/key"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//StringToObjectMap/value"/> + </genClasses> <nestedGenPackages prefix="Commands" basePackage="org.eclipse.e4.ui.model.application" disposableProviderFactory="true" ecorePackage="UIElements.ecore#//commands"> <genDataTypes ecoreDataType="UIElements.ecore#//commands/ParameterizedCommand"/> @@ -128,6 +131,12 @@ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/UIElement/accessibilityPhrase"/> <genOperations ecoreOperation="UIElements.ecore#//ui/UIElement/getLocalizedAccessibilityPhrase"/> </genClasses> + <genClasses image="false" ecoreClass="UIElements.ecore#//ui/ElementContainer"> + <genTypeParameters ecoreTypeParameter="UIElements.ecore#//ui/ElementContainer/T"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UIElements.ecore#//ui/ElementContainer/children"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" + ecoreFeature="ecore:EReference UIElements.ecore#//ui/ElementContainer/selectedElement"/> + </genClasses> <genClasses image="false" ecoreClass="UIElements.ecore#//ui/UILabel"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/UILabel/label"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/UILabel/iconURI"/> @@ -135,12 +144,6 @@ <genOperations ecoreOperation="UIElements.ecore#//ui/UILabel/getLocalizedLabel"/> <genOperations ecoreOperation="UIElements.ecore#//ui/UILabel/getLocalizedTooltip"/> </genClasses> - <genClasses image="false" ecoreClass="UIElements.ecore#//ui/ElementContainer"> - <genTypeParameters ecoreTypeParameter="UIElements.ecore#//ui/ElementContainer/T"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UIElements.ecore#//ui/ElementContainer/children"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" - ecoreFeature="ecore:EReference UIElements.ecore#//ui/ElementContainer/selectedElement"/> - </genClasses> <genClasses image="false" ecoreClass="UIElements.ecore#//ui/GenericStack"> <genTypeParameters ecoreTypeParameter="UIElements.ecore#//ui/GenericStack/T"/> </genClasses> @@ -157,6 +160,9 @@ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/CoreExpression/coreExpressionId"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/CoreExpression/coreExpression"/> </genClasses> + <genClasses image="false" ecoreClass="UIElements.ecore#//ui/SnippetContainer"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UIElements.ecore#//ui/SnippetContainer/snippets"/> + </genClasses> <nestedGenPackages prefix="Menu" basePackage="org.eclipse.e4.ui.model.application.ui" disposableProviderFactory="true" ecorePackage="UIElements.ecore#//ui/menu"> <genEnums typeSafeEnumCompatible="false" ecoreEnum="UIElements.ecore#//ui/menu/ItemType"> @@ -237,6 +243,7 @@ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UIElements.ecore#//ui/menu/OpaqueMenuSeparator/opaqueItem"/> </genClasses> <genClasses ecoreClass="UIElements.ecore#//ui/menu/OpaqueMenu"/> + <genClasses ecoreClass="UIElements.ecore#//ui/menu/DynamicMenuContribution"/> </nestedGenPackages> <nestedGenPackages prefix="Basic" basePackage="org.eclipse.e4.ui.model.application.ui" disposableProviderFactory="true" ecorePackage="UIElements.ecore#//ui/basic"> @@ -265,7 +272,10 @@ <genClasses image="false" ecoreClass="UIElements.ecore#//ui/basic/TrimElement"/> <genClasses image="false" ecoreClass="UIElements.ecore#//ui/basic/PartSashContainerElement"/> <genClasses image="false" ecoreClass="UIElements.ecore#//ui/basic/WindowElement"/> - <genClasses ecoreClass="UIElements.ecore#//ui/basic/TrimBar"/> + <genClasses ecoreClass="UIElements.ecore#//ui/basic/TrimBar"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" + ecoreFeature="ecore:EReference UIElements.ecore#//ui/basic/TrimBar/pendingCleanup"/> + </genClasses> <genClasses ecoreClass="UIElements.ecore#//ui/basic/StackElement"/> </nestedGenPackages> <nestedGenPackages prefix="Advanced" basePackage="org.eclipse.e4.ui.model.application.ui" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java index 969b810f6d3..32e1bc1bd7f 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application; * A representation of the model object '<em><b>Addon</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplication.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplication.java index 7ce48cbafa3..372859fd18f 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplication.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplication.java @@ -30,6 +30,15 @@ import org.eclipse.e4.ui.model.application.ui.menu.MTrimContributions; * A representation of the model object '<em><b>Application</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -47,11 +56,15 @@ public interface MApplication extends MElementContainer<MWindow>, MContext, MHan * Returns the value of the '<em><b>Commands</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MCommand}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Commands</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Commands</em>' containment reference list. * @model containment="true" * @generated @@ -62,11 +75,15 @@ public interface MApplication extends MElementContainer<MWindow>, MContext, MHan * Returns the value of the '<em><b>Addons</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.MAddon}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Addons</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Addons</em>' containment reference list. * @model containment="true" * @generated @@ -77,11 +94,15 @@ public interface MApplication extends MElementContainer<MWindow>, MContext, MHan * Returns the value of the '<em><b>Categories</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MCategory}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Categories</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Categories</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java index d3acde43b49..180e3d03820 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java @@ -18,6 +18,15 @@ import java.util.Map; * A representation of the model object '<em><b>Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -36,11 +45,15 @@ public interface MApplicationElement { /** * Returns the value of the '<em><b>Element Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Element Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Element Id</em>' attribute. * @see #setElementId(String) * @model @@ -63,11 +76,15 @@ public interface MApplicationElement { * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.String}, * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Persisted State</em>' map isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Persisted State</em>' map. * @model mapType="org.eclipse.e4.ui.model.application.StringToStringMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" * @generated @@ -78,11 +95,15 @@ public interface MApplicationElement { * Returns the value of the '<em><b>Tags</b></em>' attribute list. * The list contents are of type {@link java.lang.String}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Tags</em>' attribute list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Tags</em>' attribute list. * @model * @generated @@ -92,11 +113,15 @@ public interface MApplicationElement { /** * Returns the value of the '<em><b>Contributor URI</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contributor URI</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contributor URI</em>' attribute. * @see #setContributorURI(String) * @model @@ -119,11 +144,15 @@ public interface MApplicationElement { * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.Object}, * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Transient Data</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Transient Data</em>' map. * @model mapType="org.eclipse.e4.ui.model.application.StringToObjectMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EJavaObject>" transient="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MContribution.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MContribution.java index 128fa25c25e..eeba8b03f5f 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MContribution.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MContribution.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application; * A representation of the model object '<em><b>Contribution</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -31,11 +40,15 @@ public interface MContribution extends MApplicationElement { /** * Returns the value of the '<em><b>Contribution URI</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contribution URI</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contribution URI</em>' attribute. * @see #setContributionURI(String) * @model @@ -56,11 +69,15 @@ public interface MContribution extends MApplicationElement { /** * Returns the value of the '<em><b>Object</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Object</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Object</em>' attribute. * @see #setObject(Object) * @model transient="true" derived="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingContext.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingContext.java index c6847b57bea..3fd81b49daa 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingContext.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingContext.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Binding Context</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -34,11 +43,15 @@ public interface MBindingContext extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @model @@ -59,11 +72,15 @@ public interface MBindingContext extends MApplicationElement { /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model @@ -85,11 +102,15 @@ public interface MBindingContext extends MApplicationElement { * Returns the value of the '<em><b>Children</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MBindingContext}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Children</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Children</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTable.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTable.java index 43c59cb1c6a..ff1d15d67fd 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTable.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTable.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Binding Table</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -34,11 +43,15 @@ public interface MBindingTable extends MApplicationElement { * Returns the value of the '<em><b>Bindings</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MKeyBinding}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Bindings</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Bindings</em>' containment reference list. * @model containment="true" * @generated @@ -48,11 +61,15 @@ public interface MBindingTable extends MApplicationElement { /** * Returns the value of the '<em><b>Binding Context</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Binding Context</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Binding Context</em>' reference. * @see #setBindingContext(MBindingContext) * @model required="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTableContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTableContainer.java index 39f261af0ad..c625c69220c 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTableContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindingTableContainer.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Binding Table Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +42,15 @@ public interface MBindingTableContainer { * Returns the value of the '<em><b>Binding Tables</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MBindingTable}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Binding Tables</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Binding Tables</em>' containment reference list. * @model containment="true" * @generated @@ -48,11 +61,15 @@ public interface MBindingTableContainer { * Returns the value of the '<em><b>Root Context</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MBindingContext}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Root Context</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Root Context</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindings.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindings.java index cab65c23af7..3ebc3dd41a3 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindings.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MBindings.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Bindings</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MBindings { * Returns the value of the '<em><b>Binding Contexts</b></em>' reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MBindingContext}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Binding Contexts</em>' attribute list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Binding Contexts</em>' reference list. * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCategory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCategory.java index a616ea592d1..20b9e7f3aa9 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCategory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCategory.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Category</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MCategory extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @model required="true" @@ -57,11 +70,15 @@ public interface MCategory extends MApplicationElement { /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model @@ -82,6 +99,14 @@ public interface MCategory extends MApplicationElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ @@ -90,6 +115,14 @@ public interface MCategory extends MApplicationElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommand.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommand.java index 2017373c16e..d1543df2bdc 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommand.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommand.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Command</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MCommand extends MApplicationElement { /** * Returns the value of the '<em><b>Command Name</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Command Name</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Command Name</em>' attribute. * @see #setCommandName(String) * @model @@ -60,11 +73,15 @@ public interface MCommand extends MApplicationElement { /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model @@ -86,11 +103,15 @@ public interface MCommand extends MApplicationElement { * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MCommandParameter}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parameters</em>' containment reference list. * @model containment="true" * @generated @@ -100,11 +121,15 @@ public interface MCommand extends MApplicationElement { /** * Returns the value of the '<em><b>Category</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Category</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Category</em>' reference. * @see #setCategory(MCategory) * @model @@ -125,6 +150,14 @@ public interface MCommand extends MApplicationElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ @@ -133,6 +166,14 @@ public interface MCommand extends MApplicationElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommandParameter.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommandParameter.java index e3235de67bc..27a7249eb50 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommandParameter.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MCommandParameter.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Command Parameter</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +42,15 @@ public interface MCommandParameter extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @model required="true" @@ -58,11 +71,15 @@ public interface MCommandParameter extends MApplicationElement { /** * Returns the value of the '<em><b>Type Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Type Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Type Id</em>' attribute. * @see #setTypeId(String) * @model @@ -84,11 +101,15 @@ public interface MCommandParameter extends MApplicationElement { * Returns the value of the '<em><b>Optional</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Optional</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Optional</em>' attribute. * @see #setOptional(boolean) * @model default="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandler.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandler.java index 450b9b36c3a..0f4887fdb33 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandler.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandler.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MContribution; * A representation of the model object '<em><b>Handler</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -31,11 +40,15 @@ public interface MHandler extends MContribution { /** * Returns the value of the '<em><b>Command</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Command</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Command</em>' reference. * @see #setCommand(MCommand) * @model required="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandlerContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandlerContainer.java index 7e1898757f1..a8a6ad03ac9 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandlerContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MHandlerContainer.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Handler Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MHandlerContainer { * Returns the value of the '<em><b>Handlers</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MHandler}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Handlers</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Handlers</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeyBinding.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeyBinding.java index 26930938cc3..472b7862252 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeyBinding.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeyBinding.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Key Binding</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +42,15 @@ public interface MKeyBinding extends MApplicationElement, MKeySequence { /** * Returns the value of the '<em><b>Command</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Command</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Command</em>' reference. * @see #setCommand(MCommand) * @model required="true" @@ -59,11 +72,15 @@ public interface MKeyBinding extends MApplicationElement, MKeySequence { * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MParameter}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parameters</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeySequence.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeySequence.java index 28cb3e83c0e..2172a53fe3e 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeySequence.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MKeySequence.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.commands; * A representation of the model object '<em><b>Key Sequence</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +39,15 @@ public interface MKeySequence { /** * Returns the value of the '<em><b>Key Sequence</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Key Sequence</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Key Sequence</em>' attribute. * @see #setKeySequence(String) * @model required="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MParameter.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MParameter.java index 72808532fb7..85905d1e54b 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MParameter.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/MParameter.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Parameter</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MParameter extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @model @@ -57,11 +70,15 @@ public interface MParameter extends MApplicationElement { /** * Returns the value of the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Value</em>' attribute. * @see #setValue(String) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java index c7e35d7aaf0..da729bd24fb 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java @@ -23,6 +23,15 @@ import org.eclipse.e4.ui.model.application.ui.menu.MToolBar; * A representation of the model object '<em><b>Part Descriptor</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -44,11 +53,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Allow Multiple</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Allow Multiple</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Allow Multiple</em>' attribute. * @see #setAllowMultiple(boolean) * @model @@ -69,11 +82,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Category</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Category</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Category</em>' attribute. * @see #setCategory(String) * @model @@ -95,11 +112,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler * Returns the value of the '<em><b>Menus</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.menu.MMenu}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Menus</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Menus</em>' containment reference list. * @model containment="true" * @generated @@ -109,11 +130,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Toolbar</b></em>' containment reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Toolbar</em>' containment reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Toolbar</em>' containment reference. * @see #setToolbar(MToolBar) * @model containment="true" @@ -135,11 +160,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler * Returns the value of the '<em><b>Closeable</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Closeable</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Closeable</em>' attribute. * @see #setCloseable(boolean) * @model default="false" @@ -160,11 +189,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Dirtyable</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Dirtyable</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Dirtyable</em>' attribute. * @see #setDirtyable(boolean) * @model @@ -185,11 +218,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Contribution URI</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contribution URI</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contribution URI</em>' attribute. * @see #setContributionURI(String) * @model @@ -210,11 +247,15 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model @@ -235,6 +276,14 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptorContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptorContainer.java index 93e331dfdf0..1062e317f8c 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptorContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptorContainer.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Part Descriptor Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MPartDescriptorContainer { * Returns the value of the '<em><b>Descriptors</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptor}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Descriptors</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Descriptors</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MContext.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MContext.java index 70bfca123a7..756eda3f871 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MContext.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MContext.java @@ -19,6 +19,15 @@ import org.eclipse.e4.core.contexts.IEclipseContext; * A representation of the model object '<em><b>Context</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MContext { /** * Returns the value of the '<em><b>Context</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Context</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Context</em>' attribute. * @see #setContext(IEclipseContext) * @model dataType="org.eclipse.e4.ui.model.application.IEclipseContext" transient="true" derived="true" @@ -61,11 +74,15 @@ public interface MContext { * Returns the value of the '<em><b>Variables</b></em>' attribute list. * The list contents are of type {@link java.lang.String}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Variables</em>' attribute list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Variables</em>' attribute list. * @model ordered="false" * @generated @@ -77,11 +94,15 @@ public interface MContext { * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.String}, * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Properties</em>' map isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Properties</em>' map. * @model mapType="org.eclipse.e4.ui.model.application.StringToStringMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MCoreExpression.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MCoreExpression.java index 2b32c418748..c054b1be4aa 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MCoreExpression.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MCoreExpression.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Core Expression</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MCoreExpression extends MExpression { * Returns the value of the '<em><b>Core Expression Id</b></em>' attribute. * The default value is <code>""</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Core Expression Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Core Expression Id</em>' attribute. * @see #setCoreExpressionId(String) * @model default="" @@ -57,11 +70,15 @@ public interface MCoreExpression extends MExpression { /** * Returns the value of the '<em><b>Core Expression</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Core Expression</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Core Expression</em>' attribute. * @see #setCoreExpression(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MDirtyable.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MDirtyable.java index ae29eb5ef46..67ee9fc23ea 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MDirtyable.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MDirtyable.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Dirtyable</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +39,15 @@ public interface MDirtyable { /** * Returns the value of the '<em><b>Dirty</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Dirty</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Dirty</em>' attribute. * @see #setDirty(boolean) * @model transient="true" derived="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MElementContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MElementContainer.java index 94d7aec266a..8ffd8198576 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MElementContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MElementContainer.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Element Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -34,11 +43,15 @@ public interface MElementContainer<T extends MUIElement> extends MUIElement { * The list contents are of type {@link T}. * It is bidirectional and its opposite is '{@link org.eclipse.e4.ui.model.application.ui.MUIElement#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Children</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Children</em>' containment reference list. * @see org.eclipse.e4.ui.model.application.ui.MUIElement#getParent * @model opposite="parent" containment="true" @@ -49,11 +62,15 @@ public interface MElementContainer<T extends MUIElement> extends MUIElement { /** * Returns the value of the '<em><b>Selected Element</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Selected Element</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Selected Element</em>' reference. * @see #setSelectedElement(MUIElement) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MExpression.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MExpression.java index 76b3eb564f1..d58f91a8996 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MExpression.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MExpression.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Expression</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericStack.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericStack.java index e2fbc1e8748..f4d7880d52d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericStack.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericStack.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Generic Stack</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTile.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTile.java index 9becee4fafa..a9a3eabb591 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTile.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTile.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Generic Tile</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +39,15 @@ public interface MGenericTile<T extends MUIElement> extends MElementContainer<T> /** * Returns the value of the '<em><b>Horizontal</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Horizontal</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Horizontal</em>' attribute. * @see #setHorizontal(boolean) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTrimContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTrimContainer.java index bc30074c84a..7f2751ca152 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTrimContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MGenericTrimContainer.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Generic Trim Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -31,11 +40,15 @@ public interface MGenericTrimContainer<T extends MUIElement> extends MElementCon * Returns the value of the '<em><b>Side</b></em>' attribute. * The literals are from the enumeration {@link org.eclipse.e4.ui.model.application.ui.SideValue}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Side</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Side</em>' attribute. * @see org.eclipse.e4.ui.model.application.ui.SideValue * @see #setSide(SideValue) diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MInput.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MInput.java index e57945e39d2..38c644ebbc3 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MInput.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MInput.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>Input</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +39,15 @@ public interface MInput { /** * Returns the value of the '<em><b>Input URI</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Input URI</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Input URI</em>' attribute. * @see #setInputURI(String) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MSnippetContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MSnippetContainer.java index 990e043b0ab..32a6abb6a32 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MSnippetContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MSnippetContainer.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Snippet Container</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <p>
+ * <strong>Developers</strong>:
+ * Add more detailed documentation by editing this comment in
+ * org.eclipse.ui.model.workbench/model/UIElements.ecore.
+ * There is a GenModel/documentation node under each type and attribute.
+ * </p>
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -32,11 +41,15 @@ public interface MSnippetContainer { * Returns the value of the '<em><b>Snippets</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.MUIElement}.
* <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
* <p>
- * If the meaning of the '<em>Snippets</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * <strong>Developers</strong>:
+ * Add more detailed documentation by editing this comment in
+ * org.eclipse.ui.model.workbench/model/UIElements.ecore.
+ * There is a GenModel/documentation node under each type and attribute.
* </p>
- * <!-- end-user-doc -->
+ * <!-- end-model-doc -->
* @return the value of the '<em>Snippets</em>' containment reference list.
* @model containment="true"
* @generated
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java index 65d0a206dd6..ae6b7f6482d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder; * A representation of the model object '<em><b>UI Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -41,11 +50,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Widget</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Widget</em>' attribute. * @see #setWidget(Object) * @model transient="true" derived="true" @@ -66,11 +79,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Renderer</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Renderer</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Renderer</em>' attribute. * @see #setRenderer(Object) * @model transient="true" derived="true" @@ -92,11 +109,15 @@ public interface MUIElement extends MApplicationElement { * Returns the value of the '<em><b>To Be Rendered</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>To Be Rendered</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>To Be Rendered</em>' attribute. * @see #setToBeRendered(boolean) * @model default="true" @@ -117,11 +138,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>On Top</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>On Top</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>On Top</em>' attribute. * @see #setOnTop(boolean) * @model @@ -143,11 +168,15 @@ public interface MUIElement extends MApplicationElement { * Returns the value of the '<em><b>Visible</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Visible</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Visible</em>' attribute. * @see #setVisible(boolean) * @model default="true" @@ -169,11 +198,15 @@ public interface MUIElement extends MApplicationElement { * Returns the value of the '<em><b>Parent</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.e4.ui.model.application.ui.MElementContainer#getChildren <em>Children</em>}'. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parent</em>' container reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parent</em>' container reference. * @see #setParent(MElementContainer) * @see org.eclipse.e4.ui.model.application.ui.MElementContainer#getChildren @@ -195,11 +228,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Container Data</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Container Data</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Container Data</em>' attribute. * @see #setContainerData(String) * @model @@ -220,11 +257,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Cur Shared Ref</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Cur Shared Ref</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Cur Shared Ref</em>' reference. * @see #setCurSharedRef(MPlaceholder) * @model transient="true" derived="true" @@ -245,11 +286,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Visible When</b></em>' containment reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Visible When</em>' containment reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Visible When</em>' containment reference. * @see #setVisibleWhen(MExpression) * @model containment="true" @@ -270,11 +315,15 @@ public interface MUIElement extends MApplicationElement { /** * Returns the value of the '<em><b>Accessibility Phrase</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Accessibility Phrase</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Accessibility Phrase</em>' attribute. * @see #setAccessibilityPhrase(String) * @model @@ -295,6 +344,14 @@ public interface MUIElement extends MApplicationElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUILabel.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUILabel.java index c41090dfd25..1ce30bc9aba 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUILabel.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUILabel.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui; * A representation of the model object '<em><b>UI Label</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MUILabel { /** * Returns the value of the '<em><b>Label</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Label</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Label</em>' attribute. * @see #setLabel(String) * @model @@ -57,11 +70,15 @@ public interface MUILabel { /** * Returns the value of the '<em><b>Icon URI</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Icon URI</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Icon URI</em>' attribute. * @see #setIconURI(String) * @model @@ -82,11 +99,15 @@ public interface MUILabel { /** * Returns the value of the '<em><b>Tooltip</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Tooltip</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Tooltip</em>' attribute. * @see #setTooltip(String) * @model @@ -107,6 +128,14 @@ public interface MUILabel { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ @@ -115,6 +144,14 @@ public interface MUILabel { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MArea.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MArea.java index 959c316fe0a..62d28e680c9 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MArea.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MArea.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainer; * A representation of the model object '<em><b>Area</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspective.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspective.java index a36e304fafa..ad853cea1f5 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspective.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspective.java @@ -22,6 +22,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MWindow; * A representation of the model object '<em><b>Perspective</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -37,11 +46,15 @@ public interface MPerspective extends MElementContainer<MPartSashContainerElemen * Returns the value of the '<em><b>Windows</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.basic.MWindow}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Windows</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Windows</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspectiveStack.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspectiveStack.java index f88c7428cb3..a1251f4cfd9 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspectiveStack.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPerspectiveStack.java @@ -20,6 +20,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MWindowElement; * A representation of the model object '<em><b>Perspective Stack</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPlaceholder.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPlaceholder.java index effafbb2f4b..e34714f6149 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPlaceholder.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/MPlaceholder.java @@ -19,6 +19,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MStackElement; * A representation of the model object '<em><b>Placeholder</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -34,11 +43,15 @@ public interface MPlaceholder extends MUIElement, MPartSashContainerElement, MSt /** * Returns the value of the '<em><b>Ref</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Ref</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Ref</em>' reference. * @see #setRef(MUIElement) * @model required="true" @@ -60,11 +73,15 @@ public interface MPlaceholder extends MUIElement, MPartSashContainerElement, MSt * Returns the value of the '<em><b>Closeable</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Closeable</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Closeable</em>' attribute. * @see #setCloseable(boolean) * @model default="false" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MInputPart.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MInputPart.java index 7d8a65b7f01..c206b5bcd65 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MInputPart.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MInputPart.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MInput; * A representation of the model object '<em><b>Input Part</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPart.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPart.java index 100307d23e6..1cd02f43110 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPart.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPart.java @@ -26,6 +26,15 @@ import org.eclipse.e4.ui.model.application.ui.menu.MToolBar; * A representation of the model object '<em><b>Part</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -44,11 +53,15 @@ public interface MPart extends MUIElement, MPartSashContainerElement, MStackElem * Returns the value of the '<em><b>Menus</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.menu.MMenu}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Menus</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Menus</em>' containment reference list. * @model containment="true" * @generated @@ -58,11 +71,15 @@ public interface MPart extends MUIElement, MPartSashContainerElement, MStackElem /** * Returns the value of the '<em><b>Toolbar</b></em>' containment reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Toolbar</em>' containment reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Toolbar</em>' containment reference. * @see #setToolbar(MToolBar) * @model containment="true" @@ -84,11 +101,15 @@ public interface MPart extends MUIElement, MPartSashContainerElement, MStackElem * Returns the value of the '<em><b>Closeable</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Closeable</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Closeable</em>' attribute. * @see #setCloseable(boolean) * @model default="false" @@ -109,11 +130,15 @@ public interface MPart extends MUIElement, MPartSashContainerElement, MStackElem /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model @@ -134,6 +159,14 @@ public interface MPart extends MUIElement, MPartSashContainerElement, MStackElem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainer.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainer.java index ecbbbf2642a..22581d47224 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainer.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainer.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MGenericTile; * A representation of the model object '<em><b>Part Sash Container</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainerElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainerElement.java index 49dde99fe6d..76b9ab62af1 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainerElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartSashContainerElement.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Part Sash Container Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model interface="true" abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartStack.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartStack.java index a2eb9a7f675..ba179adf742 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartStack.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MPartStack.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MGenericStack; * A representation of the model object '<em><b>Part Stack</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MStackElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MStackElement.java index 4f11c3aa32c..20485bd65cd 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MStackElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MStackElement.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Stack Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model interface="true" abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimBar.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimBar.java index e5d4215ce50..09879cba11c 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimBar.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimBar.java @@ -19,6 +19,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Trim Bar</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MTrimBar extends MGenericTrimContainer<MTrimElement>, MUIElemen * Returns the value of the '<em><b>Pending Cleanup</b></em>' reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.basic.MTrimElement}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Pending Cleanup</em>' reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Pending Cleanup</em>' reference list. * @model transient="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimElement.java index 7070039d227..e52e3c5a8cd 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimElement.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Trim Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimmedWindow.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimmedWindow.java index 8ecb6fa48e8..b6ae7e773bb 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimmedWindow.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MTrimmedWindow.java @@ -17,6 +17,15 @@ import java.util.List; * A representation of the model object '<em><b>Trimmed Window</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MTrimmedWindow extends MWindow { * Returns the value of the '<em><b>Trim Bars</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.basic.MTrimBar}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Trim Bars</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Trim Bars</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindow.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindow.java index de440548bd6..e8b827f40e6 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindow.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindow.java @@ -25,6 +25,15 @@ import org.eclipse.e4.ui.model.application.ui.menu.MMenu; * A representation of the model object '<em><b>Window</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -45,11 +54,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC /** * Returns the value of the '<em><b>Main Menu</b></em>' containment reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Main Menu</em>' containment reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Main Menu</em>' containment reference. * @see #setMainMenu(MMenu) * @model containment="true" @@ -71,11 +84,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>X</b></em>' attribute. * The default value is <code>"-2147483648"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>X</em>' attribute. * @see #setX(int) * @model default="-2147483648" @@ -97,11 +114,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>Y</b></em>' attribute. * The default value is <code>"-2147483648"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Y</em>' attribute. * @see #setY(int) * @model default="-2147483648" @@ -123,11 +144,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>Width</b></em>' attribute. * The default value is <code>"-1"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Width</em>' attribute. * @see #setWidth(int) * @model default="-1" @@ -149,11 +174,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>Height</b></em>' attribute. * The default value is <code>"-1"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Height</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Height</em>' attribute. * @see #setHeight(int) * @model default="-1" @@ -175,11 +204,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>Windows</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.basic.MWindow}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Windows</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Windows</em>' containment reference list. * @model containment="true" * @generated @@ -190,11 +223,15 @@ public interface MWindow extends MElementContainer<MWindowElement>, MUILabel, MC * Returns the value of the '<em><b>Shared Elements</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.MUIElement}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Shared Elements</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Shared Elements</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindowElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindowElement.java index 3acd6c5a7e6..ccb845fe66c 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindowElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindowElement.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Window Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model interface="true" abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectMenuItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectMenuItem.java index afe9067c293..33c5efd641e 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectMenuItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectMenuItem.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MContribution; * A representation of the model object '<em><b>Direct Menu Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectToolItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectToolItem.java index e97c2d54930..89788d76de8 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectToolItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDirectToolItem.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MContribution; * A representation of the model object '<em><b>Direct Tool Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDynamicMenuContribution.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDynamicMenuContribution.java index 581016d5d2e..beb9791ec92 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDynamicMenuContribution.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MDynamicMenuContribution.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.MContribution; * A representation of the model object '<em><b>Dynamic Menu Contribution</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledItem.java index 18ec9adb847..9c73c5abb0d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledItem.java @@ -20,6 +20,15 @@ import org.eclipse.e4.ui.model.application.commands.MParameter; * A representation of the model object '<em><b>Handled Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -36,11 +45,15 @@ public interface MHandledItem extends MItem { /** * Returns the value of the '<em><b>Command</b></em>' reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Command</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Command</em>' reference. * @see #setCommand(MCommand) * @model @@ -61,11 +74,15 @@ public interface MHandledItem extends MItem { /** * Returns the value of the '<em><b>Wb Command</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Wb Command</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Wb Command</em>' attribute. * @see #setWbCommand(ParameterizedCommand) * @model dataType="org.eclipse.e4.ui.model.application.commands.ParameterizedCommand" transient="true" @@ -87,11 +104,15 @@ public interface MHandledItem extends MItem { * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MParameter}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parameters</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledMenuItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledMenuItem.java index a93145d8423..9e74534c8ad 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledMenuItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledMenuItem.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Handled Menu Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledToolItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledToolItem.java index e4b5f6eab87..f34c06649d5 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledToolItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MHandledToolItem.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Handled Tool Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MItem.java index eb7dc5efbaf..252b70ce03a 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MItem.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.MUILabel; * A representation of the model object '<em><b>Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MItem extends MUIElement, MUILabel { * Returns the value of the '<em><b>Enabled</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Enabled</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Enabled</em>' attribute. * @see #setEnabled(boolean) * @model default="true" @@ -60,11 +73,15 @@ public interface MItem extends MUIElement, MUILabel { /** * Returns the value of the '<em><b>Selected</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Selected</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Selected</em>' attribute. * @see #setSelected(boolean) * @model @@ -86,11 +103,15 @@ public interface MItem extends MUIElement, MUILabel { * Returns the value of the '<em><b>Type</b></em>' attribute. * The literals are from the enumeration {@link org.eclipse.e4.ui.model.application.ui.menu.ItemType}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Type</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Type</em>' attribute. * @see org.eclipse.e4.ui.model.application.ui.menu.ItemType * @see #setType(ItemType) diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenu.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenu.java index d58006f8bb1..832a0258958 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenu.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenu.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MElementContainer; * A representation of the model object '<em><b>Menu</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +41,15 @@ public interface MMenu extends MMenuElement, MElementContainer<MMenuElement> { * Returns the value of the '<em><b>Enabled</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Enabled</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Enabled</em>' attribute. * @see #setEnabled(boolean) * @model default="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContribution.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContribution.java index 3bca567ede4..4ef42ae165a 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContribution.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContribution.java @@ -17,6 +17,13 @@ import org.eclipse.e4.ui.model.application.ui.MElementContainer; * A representation of the model object '<em><b>Contribution</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +40,15 @@ public interface MMenuContribution extends MElementContainer<MMenuElement> { * Returns the value of the '<em><b>Position In Parent</b></em>' attribute. * The default value is <code>""</code>. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Position In Parent</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Position In Parent</em>' attribute. * @see #setPositionInParent(String) * @model default="" @@ -58,11 +69,15 @@ public interface MMenuContribution extends MElementContainer<MMenuElement> { /** * Returns the value of the '<em><b>Parent Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parent Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parent Id</em>' attribute. * @see #setParentId(String) * @model required="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContributions.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContributions.java index d83bd24a7b2..f5c45482e3a 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContributions.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuContributions.java @@ -17,6 +17,13 @@ import java.util.List; * A representation of the model object '<em><b>Contributions</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -32,11 +39,15 @@ public interface MMenuContributions { * Returns the value of the '<em><b>Menu Contributions</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.menu.MMenuContribution}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Menu Contributions</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Menu Contributions</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuElement.java index b18fecea63d..247ca672156 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuElement.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.MUILabel; * A representation of the model object '<em><b>Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +42,15 @@ public interface MMenuElement extends MUIElement, MUILabel { /** * Returns the value of the '<em><b>Mnemonics</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Mnemonics</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Mnemonics</em>' attribute. * @see #setMnemonics(String) * @model @@ -58,6 +71,14 @@ public interface MMenuElement extends MUIElement, MUILabel { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model kind="operation" * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuItem.java index 912f5794439..f392b016ad8 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuItem.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuSeparator.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuSeparator.java index 7c33de13bea..36255fa4789 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuSeparator.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MMenuSeparator.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Separator</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenu.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenu.java index 408e725e4c1..386a8b54a38 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenu.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenu.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Opaque Menu</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MMenu + * @noreference + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuItem.java index cdcd62e86bd..89d7afa316d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuItem.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Opaque Menu Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MMenuItem + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +36,15 @@ public interface MOpaqueMenuItem extends MMenuItem { /** * Returns the value of the '<em><b>Opaque Item</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Opaque Item</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Opaque Item</em>' attribute. * @see #setOpaqueItem(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuSeparator.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuSeparator.java index 960f2576b8a..236c1839f7b 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuSeparator.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueMenuSeparator.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Opaque Menu Separator</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MMenuSeparator + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -31,11 +37,15 @@ public interface MOpaqueMenuSeparator extends MMenuSeparator { /** * Returns the value of the '<em><b>Opaque Item</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Opaque Item</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Opaque Item</em>' attribute. * @see #setOpaqueItem(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueToolItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueToolItem.java index c853a921a0b..9d57f295fa0 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueToolItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MOpaqueToolItem.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Opaque Tool Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MToolItem + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +36,15 @@ public interface MOpaqueToolItem extends MToolItem { /** * Returns the value of the '<em><b>Opaque Item</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Opaque Item</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Opaque Item</em>' attribute. * @see #setOpaqueItem(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MPopupMenu.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MPopupMenu.java index f6069b1ac1a..6b0d0bb9e10 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MPopupMenu.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MPopupMenu.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MContext; * A representation of the model object '<em><b>Popup Menu</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenu.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenu.java index 907f755a43e..5f151325e7b 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenu.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenu.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Rendered Menu</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MMenu + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +36,15 @@ public interface MRenderedMenu extends MMenu { /** * Returns the value of the '<em><b>Contribution Manager</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contribution Manager</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contribution Manager</em>' attribute. * @see #setContributionManager(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenuItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenuItem.java index 73106b2c79d..418e615c8e3 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenuItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedMenuItem.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Rendered Menu Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MMenuItem + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +36,15 @@ public interface MRenderedMenuItem extends MMenuItem { /** * Returns the value of the '<em><b>Contribution Item</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contribution Item</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contribution Item</em>' attribute. * @see #setContributionItem(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedToolBar.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedToolBar.java index a4b7fd7135a..99b20bf5e60 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedToolBar.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MRenderedToolBar.java @@ -16,6 +16,12 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Rendered Tool Bar</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * Do no use! This class will be removed at the beginning of Luna (4.4) development. + * @deprecated Use MToolBar + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +36,15 @@ public interface MRenderedToolBar extends MToolBar { /** * Returns the value of the '<em><b>Contribution Manager</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Contribution Manager</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Contribution Manager</em>' attribute. * @see #setContributionManager(Object) * @model transient="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBar.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBar.java index 54250d1cbef..cef50967b76 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBar.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBar.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MTrimElement; * A representation of the model object '<em><b>Tool Bar</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContribution.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContribution.java index af90261cf73..8d72fd0a178 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContribution.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContribution.java @@ -17,6 +17,13 @@ import org.eclipse.e4.ui.model.application.ui.MElementContainer; * A representation of the model object '<em><b>Tool Bar Contribution</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +40,15 @@ public interface MToolBarContribution extends MElementContainer<MToolBarElement> /** * Returns the value of the '<em><b>Parent Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parent Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parent Id</em>' attribute. * @see #setParentId(String) * @model @@ -58,11 +69,15 @@ public interface MToolBarContribution extends MElementContainer<MToolBarElement> /** * Returns the value of the '<em><b>Position In Parent</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Position In Parent</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Position In Parent</em>' attribute. * @see #setPositionInParent(String) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContributions.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContributions.java index 76b0b5e0bc5..cae0a49244a 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContributions.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarContributions.java @@ -17,6 +17,13 @@ import java.util.List; * A representation of the model object '<em><b>Tool Bar Contributions</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +40,15 @@ public interface MToolBarContributions { * Returns the value of the '<em><b>Tool Bar Contributions</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.menu.MToolBarContribution}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Tool Bar Contributions</em>' reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Tool Bar Contributions</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarElement.java index 6997da0b1cd..1b950238895 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarElement.java @@ -17,6 +17,15 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * A representation of the model object '<em><b>Tool Bar Element</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model abstract="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarSeparator.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarSeparator.java index 9519a08d1b2..88f079598fe 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarSeparator.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolBarSeparator.java @@ -16,6 +16,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Tool Bar Separator</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolControl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolControl.java index 4490c815f72..03fa865ac83 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolControl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolControl.java @@ -18,6 +18,15 @@ import org.eclipse.e4.ui.model.application.ui.basic.MTrimElement; * A representation of the model object '<em><b>Tool Control</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * * @model * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolItem.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolItem.java index 069865b0dcd..a762d51d807 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolItem.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MToolItem.java @@ -15,6 +15,15 @@ package org.eclipse.e4.ui.model.application.ui.menu; * A representation of the model object '<em><b>Tool Item</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -30,11 +39,15 @@ public interface MToolItem extends MItem, MToolBarElement { /** * Returns the value of the '<em><b>Menu</b></em>' containment reference. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Menu</em>' reference isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Menu</em>' containment reference. * @see #setMenu(MMenu) * @model containment="true" diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContribution.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContribution.java index 127159e6547..c64b6b5e171 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContribution.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContribution.java @@ -18,6 +18,13 @@ import org.eclipse.e4.ui.model.application.ui.basic.MTrimElement; * A representation of the model object '<em><b>Trim Contribution</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -34,11 +41,15 @@ public interface MTrimContribution extends MElementContainer<MTrimElement> { /** * Returns the value of the '<em><b>Parent Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parent Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parent Id</em>' attribute. * @see #setParentId(String) * @model @@ -59,11 +70,15 @@ public interface MTrimContribution extends MElementContainer<MTrimElement> { /** * Returns the value of the '<em><b>Position In Parent</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Position In Parent</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Position In Parent</em>' attribute. * @see #setPositionInParent(String) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContributions.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContributions.java index 0a0c411e5bf..1422ed09224 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContributions.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/MTrimContributions.java @@ -17,6 +17,13 @@ import java.util.List; * A representation of the model object '<em><b>Trim Contributions</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * Provisional for 4.3. + * </p> + * @noreference + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +40,15 @@ public interface MTrimContributions { * Returns the value of the '<em><b>Trim Contributions</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.ui.menu.MTrimContribution}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Trim Contributions</em>' reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * org.eclipse.ui.model.workbench/model/UIElements.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Trim Contributions</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragment.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragment.java index d0e16356b05..0fd339a03bc 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragment.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragment.java @@ -20,6 +20,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Model Fragment</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MModelFragment { * Returns the value of the '<em><b>Elements</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.MApplicationElement}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Elements</em>' containment reference list. * @model containment="true" * @generated @@ -49,6 +62,14 @@ public interface MModelFragment { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> * @model * @generated */ diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragments.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragments.java index c466d04900f..34fcdd1080d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragments.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MModelFragments.java @@ -19,6 +19,15 @@ import org.eclipse.e4.ui.model.application.MApplicationElement; * A representation of the model object '<em><b>Model Fragments</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -35,11 +44,15 @@ public interface MModelFragments { * Returns the value of the '<em><b>Imports</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.MApplicationElement}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Imports</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Imports</em>' containment reference list. * @model containment="true" * @generated @@ -50,11 +63,15 @@ public interface MModelFragments { * Returns the value of the '<em><b>Fragments</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.fragment.MModelFragment}. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Fragments</em>' containment reference list isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Fragments</em>' containment reference list. * @model containment="true" * @generated diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MStringModelFragment.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MStringModelFragment.java index 5336a0639e7..34ef4dfc367 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MStringModelFragment.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/fragment/MStringModelFragment.java @@ -17,6 +17,15 @@ package org.eclipse.e4.ui.model.fragment; * A representation of the model object '<em><b>String Model Fragment</b></em>'. * <!-- end-user-doc --> * + * <!-- begin-model-doc --> + * <p> + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. + * </p> + * <!-- end-model-doc --> + * * <p> * The following features are supported: * <ul> @@ -33,11 +42,15 @@ public interface MStringModelFragment extends MModelFragment { /** * Returns the value of the '<em><b>Featurename</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Featurename</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Featurename</em>' attribute. * @see #setFeaturename(String) * @model @@ -58,11 +71,15 @@ public interface MStringModelFragment extends MModelFragment { /** * Returns the value of the '<em><b>Parent Element Id</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Parent Element Id</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Parent Element Id</em>' attribute. * @see #setParentElementId(String) * @model @@ -83,11 +100,15 @@ public interface MStringModelFragment extends MModelFragment { /** * Returns the value of the '<em><b>Position In List</b></em>' attribute. * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> * <p> - * If the meaning of the '<em>Position In List</em>' attribute isn't clear, - * there really should be more of a description here... + * <strong>Developers</strong>: + * Add more detailed documentation by editing this comment in + * /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. + * There is a GenModel/documentation node under each type and attribute. * </p> - * <!-- end-user-doc --> + * <!-- end-model-doc --> * @return the value of the '<em>Position In List</em>' attribute. * @see #setPositionInList(String) * @model diff --git a/bundles/org.eclipse.e4.ui.model.workbench/templates/model/Class.javajet b/bundles/org.eclipse.e4.ui.model.workbench/templates/model/Class.javajet new file mode 100644 index 00000000000..67f940fbabf --- /dev/null +++ b/bundles/org.eclipse.e4.ui.model.workbench/templates/model/Class.javajet @@ -0,0 +1,2332 @@ +<%@ jet package="org.eclipse.emf.codegen.ecore.templates.model" imports="java.util.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.util.CodeGenUtil" class="Class"%> +<% +/** + * Copyright (c) 2002-2011 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 + * + * Contributors: + * IBM - Initial API and implementation + */ +%> +<%final GenClass genClass = (GenClass)((Object[])argument)[0]; final GenPackage genPackage = genClass.getGenPackage(); final GenModel genModel=genPackage.getGenModel();%> +<%final boolean isJDK50 = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50;%> +<%final boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); final boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%> +<%final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;%> +<%final String publicStaticFinalFlag = isImplementation ? "public static final " : "";%> +<%final String singleWildcard = isJDK50 ? "<?>" : "";%> +<%final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";%> +<%final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";%> +<%final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";%> +<%final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";%> +<%@ include file="../Header.javajetinc"%> +<%if (isInterface) {%> +package <%=genPackage.getInterfacePackageName()%>; +<%} else {%> +package <%=genPackage.getClassPackageName()%>; +<%}%> + +<%genModel.markImportLocation(stringBuffer, genPackage);%> +<%if (isImplementation) { genClass.addClassPsuedoImports(); }%> + +<%if (isInterface) {%> +<%@ include file="Class/interface.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'. + * <!-- end-user-doc --> +<%if (genClass.hasDocumentation()) {%> + * + * <!-- begin-model-doc --> + * <%=genClass.getDocumentation(genModel.getIndentation(stringBuffer))%> + * <!-- end-model-doc --> +<%}%> + * +<%if (!genClass.getGenFeatures().isEmpty()) {%> + * <p> + * The following features are supported: + * <ul> +<%for (GenFeature genFeature : genClass.getGenFeatures()) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> + * <li>{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li> + <%}%> +<%}%> + * </ul> + * </p> +<%}%> + * +<%if (!genModel.isSuppressEMFMetaData()) {%> + * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genClass.getClassifierAccessorName()%>() +<%}%> +<%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%> + * @model <%=modelInfo%> +<%} else {%> + * <%=modelInfo%> +<%}} if (first) {%> + * @model +<%}}%> +<%if (genClass.needsRootExtendsInterfaceExtendsTag()) {%> + * @extends <%=genModel.getImportedName(genModel.getRootExtendsInterface())%> +<%}%> + * @generated + */ +<%@ end %><%//Class/interface.javadoc.override.javajetinc%> +<%} else {%> +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'. + * <!-- end-user-doc --> + * <p> +<%if (!genClass.getImplementedGenFeatures().isEmpty()) {%> + * The following features are implemented: + * <ul> +<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%> + * <li>{@link <%=genClass.getQualifiedClassName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li> +<%}%> + * </ul> +<%}%> + * </p> + * + * @generated + */ +<%}%> +<%if (isImplementation) {%> +public<%if (genClass.isAbstract()) {%> abstract<%}%> class <%=genClass.getClassName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getClassExtends()%><%=genClass.getClassImplements()%> +<%} else {%> +public interface <%=genClass.getInterfaceName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getInterfaceExtends()%> +<%}%> +{ +<%if (genModel.hasCopyrightField()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%> + +<%}%> +<%if (isImplementation && genModel.getDriverNumber() != null) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final <%=genModel.getImportedName("java.lang.String")%> mofDriverNumber = "<%=genModel.getDriverNumber()%>";<%=genModel.getNonNLS()%> + +<%}%> +<%if (isImplementation && genClass.isJavaIOSerializable()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final long serialVersionUID = 1L; + +<%}%> +<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%> + <%if (eVirtualValuesField != null) {%> + /** + * An array of objects representing the values of non-primitive features. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected Object[] <%=eVirtualValuesField%>; + + <%}%> + <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%> + <%if (!eVirtualIndexBitFields.isEmpty()) {%> + <%for (String eVirtualIndexBitField : eVirtualIndexBitFields) {%> + /** + * A bit field representing the indices of non-primitive feature values. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected int <%=eVirtualIndexBitField%>; + + <%}%> + <%}%> + <%}%> +<%}%> +<%if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {%> + /** + * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected int <%=genModel.getBooleanFlagsField()%> = 0; + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation()) {%> + <%for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {%> +<%@ include file="Class/declaredFieldGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> + <%if (genFeature.hasSettingDelegate()) {%> + /** + * The cached setting delegate for the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal.SettingDelegate <%=genFeature.getUpperName()%>__ESETTING_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal)<%=genFeature.getQualifiedFeatureAccessor()%>).getSettingDelegate(); + + <%} else if (genFeature.isListType() || genFeature.isReferenceType()) {%> + <%if (genClass.isField(genFeature)) {%> + /** + * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected <%=genFeature.getImportedInternalType(genClass)%> <%=genFeature.getSafeName()%>; + + <%}%> + <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String rawListItemType = genFeature.getRawListItemType(); int index = rawListItemType.indexOf('['); String head = rawListItemType; String tail = ""; if (index != -1) { head = rawListItemType.substring(0, index); tail = rawListItemType.substring(index); } %> + /** + * The empty value for the '{@link #<%=genFeature.getGetArrayAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' array accessor. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetArrayAccessor()%>() + * @generated + * @ordered + */ + <%if (genFeature.getQualifiedListItemType(genClass).contains("<")) {%> + @SuppressWarnings("unchecked") + <%}%> + protected static final <%=rawListItemType%>[] <%=genFeature.getUpperName()%>_EEMPTY_ARRAY = new <%=head%> [0]<%=tail%>; + + <%}%> + <%} else {%> + <%if (genFeature.hasEDefault() && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) { String staticDefaultValue = genFeature.getStaticDefaultValue();%> + /** + * The default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + * @ordered + */ + <%if (genModel.useGenerics() && genFeature.isListDataType() && genFeature.isSetDefaultValue()) {%> + @SuppressWarnings("unchecked") + <%}%> + protected static final <%=genFeature.getImportedType(genClass)%> <%=genFeature.getEDefault()%><%if ("".equals(staticDefaultValue)) {%>; // TODO The default value literal "<%=genFeature.getEcoreFeature().getDefaultValueLiteral()%>" is not valid.<%} else {%> = <%=staticDefaultValue%>;<%=genModel.getNonNLS(staticDefaultValue)%><%}%> + + <%}%> + <%if (genClass.isField(genFeature)) {%> + <%if (genClass.isFlag(genFeature)) { int flagIndex = genClass.getFlagIndex(genFeature);%> + <%if (flagIndex > 31 && flagIndex % 32 == 0) {%> + /** + * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected int <%=genClass.getFlagsField(genFeature)%> = 0; + + <%}%> + <%if (genFeature.isEnumType()) {%> + /** + * The offset of the flags representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected static final int <%=genFeature.getUpperName()%>_EFLAG_OFFSET = <%=flagIndex % 32%>; + + /** + * The flags representing the default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected static final int <%=genFeature.getUpperName()%>_EFLAG_DEFAULT = <%if (isJDK50) {%><%=genFeature.getEDefault()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(<%=genFeature.getEDefault()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET; + + /** + * The array of enumeration values for '{@link <%=genFeature.getImportedType(genClass)%> <%=genFeature.getTypeGenClassifier().getFormattedName()%>}' + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + private static final <%=genFeature.getImportedType(genClass)%>[] <%=genFeature.getUpperName()%>_EFLAG_VALUES = <%if (isJDK50) {%><%=genFeature.getImportedType(genClass)%>.values()<%} else {%>(<%=genFeature.getImportedType(genClass)%>[])<%=genFeature.getImportedType(genClass)%>.VALUES.toArray(new <%=genFeature.getImportedType(genClass)%>[<%=genFeature.getImportedType(genClass)%>.VALUES.size()])<%}%>; + + <%}%> + /** + * The flag<%=genClass.getFlagSize(genFeature) > 1 ? "s" : ""%> representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + * @ordered + */ + protected static final int <%=genFeature.getUpperName()%>_EFLAG = <%=genClass.getFlagMask(genFeature)%> << <%if (genFeature.isEnumType()) {%><%=genFeature.getUpperName()%>_EFLAG_OFFSET<%} else {%><%=flagIndex % 32%><%}%>; + + <%} else {%> + /** + * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%><%if (genFeature.hasEDefault()) {%> = <%=genFeature.getEDefault()%><%}%>; + + <%}%> + <%}%> + <%}%> + <%if (genClass.isESetField(genFeature)) {%> + <%if (genClass.isESetFlag(genFeature)) { int flagIndex = genClass.getESetFlagIndex(genFeature);%> + <%if (flagIndex > 31 && flagIndex % 32 == 0) {%> + /** + * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected int <%=genClass.getESetFlagsField(genFeature)%> = 0; + + <%}%> + /** + * The flag representing whether the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected static final int <%=genFeature.getUpperName()%>_ESETFLAG = 1 << <%=flagIndex % 32 %>; + + <%} else {%> + /** + * This is true if the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected boolean <%=genFeature.getUncapName()%>ESet; + + <%}%> + <%}%> +<%@ include file="Class/declaredFieldGenFeature.insert.javajetinc" fail="silent" %> +<%@ end %><%//Class/declaredFieldGenFeature.override.javajetinc%> + <%}%> +<%}%> +<%if (isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenFeatures().isEmpty()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int <%=genClass.getOffsetCorrectionField(null)%> = <%=genClass.getQualifiedClassifierAccessor()%>.getFeatureID(<%=genClass.getImplementedGenFeatures().get(0).getQualifiedFeatureAccessor()%>) - <%=genClass.getQualifiedFeatureID(genClass.getImplementedGenFeatures().get(0))%>; + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation()) {%> + <%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) { GenFeature reverseFeature = genFeature.getReverse();%> + <%if (reverseFeature != null && reverseFeature.getGenClass().hasOffsetCorrection()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int <%=genClass.getOffsetCorrectionField(genFeature)%> = <%=reverseFeature.getGenClass().getQualifiedClassifierAccessor()%>.getFeatureID(<%=reverseFeature.getQualifiedFeatureAccessor()%>) - <%=reverseFeature.getGenClass().getQualifiedFeatureID(reverseFeature)%>; + + <%}%> + <%}%> +<%}%> +<%if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int "EOPERATION_OFFSET_CORRECTION" = <%=genClass.getQualifiedClassifierAccessor()%>.getOperationID(<%=genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor()%>) - <%=genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0))%>; + +<%}%> +<%if (isImplementation) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.isPublicConstructors()) {%>public<%} else {%>protected<%}%> <%=genClass.getClassName()%>() + { + super(); + <%for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {%> + <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG<%if (!genFeature.isBooleanType()) {%>_DEFAULT<%}%>; + <%}%> + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eStaticClass() + { + return <%=genClass.getQualifiedClassifierAccessor()%>; + } + +<%}%> +<%@ include file="Class/reflectiveDelegation.override.javajetinc" fail="alternative" %> +<%@ start %> +<%if (isImplementation && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel.isDynamicDelegation()) && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel().getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass.getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected int eStaticFeatureCount() + { + return <%=genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass().getAllGenFeatures().size()%>; + } + +<%}%> +<%@ end %><%//Class/reflectiveDelegation.override.javajetinc%> +<%new Runnable() { public void run() {%> +<%for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass.getDeclaredGenFeatures())) {%> +<%@ include file="Class/genFeature.override.javajetinc" fail="alternative" %> +<%@ start %> + <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (!isImplementation) {%> + <%=genFeature.getListItemType(genClass)%>[] <%=genFeature.getGetArrayAccessor()%>(); + + <%} else {%> + public <%=genFeature.getListItemType(genClass)%>[] <%=genFeature.getGetArrayAccessor()%>() + { + <%if (genFeature.isVolatile()) {%> + <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>(); + if (list.isEmpty()) return <%if (genModel.useGenerics() && !genFeature.getListItemType(genClass).contains("<") && !genFeature.getListItemType(null).equals(genFeature.getListItemType(genClass))) {%>(<%=genFeature.getListItemType(genClass)%>[])<%}%><%=genFeature.getUpperName()%>_EEMPTY_ARRAY; + <%} else {%> + if (<%=genFeature.getSafeName()%> == null || <%=genFeature.getSafeName()%>.isEmpty()) return <%if (genModel.useGenerics() && !genFeature.getListItemType(genClass).contains("<") && !genFeature.getListItemType(null).equals(genFeature.getListItemType(genClass))) {%>(<%=genFeature.getListItemType(genClass)%>[])<%}%><%=genFeature.getUpperName()%>_EEMPTY_ARRAY; + <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getSafeName()%>; + <%}%> + list.shrink(); + return (<%=genFeature.getListItemType(genClass)%>[])list.data(); + } + + <%}%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (!isImplementation) {%> + <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index); + + <%} else {%> + public <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index) + { + return <%if (!genModel.useGenerics()) {%>(<%=genFeature.getListItemType(genClass)%>)<%}%><%=genFeature.getGetAccessor()%>().get(index); + } + + <%}%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (!isImplementation) {%> + int get<%=genFeature.getAccessorName()%>Length(); + + <%} else {%> + public int get<%=genFeature.getAccessorName()%>Length() + { + <%if (genFeature.isVolatile()) {%> + return <%=genFeature.getGetAccessor()%>().size(); + <%} else {%> + return <%=genFeature.getSafeName()%> == null ? 0 : <%=genFeature.getSafeName()%>.size(); + <%}%> + } + + <%}%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (!isImplementation) {%> + void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>); + + <%} else {%> + public void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>) + { + ((<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).setData(new<%=genFeature.getCapName()%>.length, new<%=genFeature.getCapName()%>); + } + + <%}%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (!isImplementation) {%> + void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element); + + <%} else {%> + public void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element) + { + <%=genFeature.getGetAccessor()%>().set(index, element); + } + + <%}%> + <%}%> + <%if (genFeature.isGet() && (isImplementation || !genFeature.isSuppressedGetVisibility())) {%> +<%@ include file="Class/getGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> +<%if (isInterface) {%> +<%@ include file="Class/getGenFeature.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * Returns the value of the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%if (genFeature.isListType()) {%> + <%if (genFeature.isMapType()) { GenFeature keyFeature = genFeature.getMapEntryTypeGenClass().getMapEntryKeyFeature(); GenFeature valueFeature = genFeature.getMapEntryTypeGenClass().getMapEntryValueFeature(); %> + * The key is of type <%if (keyFeature.isListType()) {%>list of {@link <%=keyFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=keyFeature.getType(genClass)%>}<%}%>, + * and the value is of type <%if (valueFeature.isListType()) {%>list of {@link <%=valueFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=valueFeature.getType(genClass)%>}<%}%>, + <%} else if (!genFeature.isWrappedFeatureMapType() && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature.getQualifiedListItemType(genClass)))) { +String typeName = genFeature.getQualifiedListItemType(genClass); String head = typeName; String tail = ""; int index = typeName.indexOf('<'); if (index == -1) { index = typeName.indexOf('['); } +if (index != -1) { head = typeName.substring(0, index); tail = typeName.substring(index).replaceAll("<", "<"); } +%> + * The list contents are of type {@link <%=head%>}<%=tail%>. + <%}%> + <%} else if (genFeature.isSetDefaultValue()) {%> + * The default value is <code><%=genFeature.getDefaultValue()%></code>. + <%}%> + <%if (genFeature.getTypeGenEnum() != null) {%> + * The literals are from the enumeration {@link <%=genFeature.getTypeGenEnum().getQualifiedName()%>}. + <%}%> + <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %> + <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%> + * It is bidirectional and its opposite is '{@link <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%> <em><%=reverseGenFeature.getFormattedName()%></em>}'. + <%}%> + <%}%> +<%@ include file="Class/getGenFeature.javadoc.insert.javajetinc" fail="silent" %> + * <!-- begin-user-doc --> + <%if (!genFeature.hasDocumentation()) {%> + * <p> + * If the meaning of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> isn't clear, + * there really should be more of a description here... + * </p> + <%}%> + * <!-- end-user-doc --> + <%if (genFeature.hasDocumentation()) {%> + * <!-- begin-model-doc --> + * <%=genFeature.getDocumentation(genModel.getIndentation(stringBuffer))%> + * <!-- end-model-doc --> + <%}%> + * @return the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>. + <%if (genFeature.getTypeGenEnum() != null) {%> + * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%> + <%}%> + <%if (genFeature.isUnsettable()) {%> + <%if (!genFeature.isSuppressedIsSetVisibility()) {%> + * @see #isSet<%=genFeature.getAccessorName()%>() + <%}%> + <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%> + * @see #unset<%=genFeature.getAccessorName()%>() + <%}%> + <%}%> + <%if (genFeature.isChangeable() && !genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%> + * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>) + <%}%> + <%if (!genModel.isSuppressEMFMetaData()) {%> + * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genFeature.getFeatureAccessorName()%>() + <%}%> + <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %> + <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%> + * @see <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%> + <%}%> + <%}%> + <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%> + * @model <%=modelInfo%> + <%} else {%> + * <%=modelInfo%> + <%}} if (first) {%> + * @model + <%}}%> + * @generated + */ +<%@ end %><%//Class/getGenFeature.javadoc.override.javajetinc%> +<%} else {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/getGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> +<%}%> +<%if (!isImplementation) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%>(); + +<%} else {%> + <%if (genModel.useGenerics() && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType() && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType() && genFeature.hasSettingDelegate())) {%> + @SuppressWarnings("unchecked") + <%}%> + public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>() + { +<%@ include file="Class/getGenFeature.pre.insert.javajetinc" fail="silent" %> + <%if (genModel.isDynamicDelegation()) {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, true, <%=!genFeature.isEffectiveSuppressEMFTypes()%>)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%} else if (genModel.isReflectiveDelegation()) {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eGet(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%} else if (genFeature.hasSettingDelegate()) {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%} else if (!genFeature.isVolatile()) {%> + <%if (genFeature.isListType()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%}%> + if (<%=genFeature.getSafeName()%> == null) + { + <%if (genModel.isVirtualDelegation()) {%> + eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>); + <%} else {%> + <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>; + <%}%> + } + return <%=genFeature.getSafeName()%><%=genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : ""%>; + <%} else if (genFeature.isContainer()) {%> + if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null; + return (<%=genFeature.getImportedType(genClass)%>)eContainer(); + <%} else {%> + <%if (genFeature.isResolveProxies()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>); + <%}%> + if (<%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy()) + { + <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> old<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>; + <%=genFeature.getSafeName()%> = <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy(old<%=genFeature.getCapName()%>); + if (<%=genFeature.getSafeName()%> != old<%=genFeature.getCapName()%>) + { + <%if (genFeature.isEffectiveContains()) {%> + <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> new<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>; + <%if (!genFeature.isBidirectional()) {%> + <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, null); + <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, null); + <%}%> + if (new<%=genFeature.getCapName()%>.eInternalContainer() == null) + { + <%if (!genFeature.isBidirectional()) {%> + msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs); + <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + <%}%> + } + if (msgs != null) msgs.dispatch(); + <%} else if (genModel.isVirtualDelegation()) {%> + eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>); + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.RESOLVE, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, old<%=genFeature.getCapName()%>, <%=genFeature.getSafeName()%>)); + <%}%> + } + } + <%}%> + <%if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>); + <%} else if (genClass.isFlag(genFeature)) {%> + <%if (genFeature.isBooleanType()) {%> + return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0; + <%} else {%> + return <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]; + <%}%> + <%} else {%> + return <%=genFeature.getSafeName()%>; + <%}%> + <%}%> + <%} else {//volatile%> + <%if (genFeature.isResolveProxies() && !genFeature.isListType()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = basicGet<%=genFeature.getAccessorName()%>(); + return <%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy() ? <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>) : <%=genFeature.getSafeName()%>; + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (genFeature.isFeatureMapType()) {%> + <%String featureMapEntryTemplateArgument = isJDK50 ? "<" + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return new <%=genFeature.getImportedEffectiveFeatureMapWrapperClass()%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>)); + <%} else {%> + return (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>)get<%=delegateFeature.getAccessorName()%>().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%}%> + <%} else if (genFeature.isListType()) {%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().list(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else {%> + return get<%=delegateFeature.getAccessorName()%>().list(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%}%> + <%} else {%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%} else {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%}%> + <%}%> + <%} else if (genClass.getGetAccessorOperation(genFeature) != null) {%> + <%=genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%> + <%} else if (genFeature.hasGetterBody()) {%> + <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%> + <%} else {%> +<%@ include file="Class/getGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // Ensure that you remove @generated or mark it @generated NOT + <%if (genFeature.isListType()) {%> + // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting + // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.<%if (genFeature.isMapType()) {%>EcoreEMap<%} else if (genFeature.isFeatureMapType()) {%>BasicFeatureMap<%} else {%>EcoreEList<%}%> should be used. + <%}%> + throw new UnsupportedOperationException(); +<%@ end %><%//Class/getGenFeature.todo.override.javajetinc%> + <%}%> + <%}%> + } + +<%}%> +<%@ end %><%//Class/getGenFeature.override.javajetinc%> + <%}%> + <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) {%> +<%@ include file="Class/basicGetGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/basicGetGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> + public <%=genFeature.getImportedType(genClass)%> basicGet<%=genFeature.getAccessorName()%>() + { +<%@ include file="Class/basicGetGenFeature.pre.insert.javajetinc" fail="silent" %> + <%if (genModel.isDynamicDelegation()) {%> + return (<%=genFeature.getImportedType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, false, <%=!genFeature.isEffectiveSuppressEMFTypes()%>); + <%} else if (genFeature.hasSettingDelegate()) {%> + return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>; + <%} else if (genFeature.isContainer()) {%> + if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null; + return (<%=genFeature.getImportedType(genClass)%>)eInternalContainer(); + <%} else if (!genFeature.isVolatile()) {%> + <%if (genModel.isVirtualDelegation()) {%> + return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else {%> + return <%=genFeature.getSafeName()%>; + <%}%> + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return (<%=genFeature.getImportedType(genClass)%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false); + <%} else {%> + return (<%=genFeature.getImportedType(genClass)%>)get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false); + <%}%> + <%} else {%> +<%@ include file="Class/basicGetGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // -> do not perform proxy resolution + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/basicGetGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%@ end %><%//Class/basicGetGenFeature.override.javajetinc%> + <%}%> + <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {%> +<%@ include file="Class/basicSetGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/basicSetGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> + public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedInternalType(genClass)%> new<%=genFeature.getCapName()%>, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs) + { + <%if (genFeature.isContainer()) {%> +<%@ include file="Class/basicSetGenFeature.pre.insert.javajetinc" fail="silent" %> + msgs = eBasicSetContainer((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs); +<%@ include file="Class/basicSetGenFeature.post.insert.javajetinc" fail="silent" %> + return msgs; + <%} else if (genModel.isDynamicDelegation()) {%> +<%@ include file="Class/basicSetGenFeature.pre.insert.javajetinc" fail="silent" %> + msgs = eDynamicInverseAdd((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs); +<%@ include file="Class/basicSetGenFeature.post.insert.javajetinc" fail="silent" %> + return msgs; + <%} else if (!genFeature.isVolatile()) {%> +<%@ include file="Class/basicSetGenFeature.pre.insert.javajetinc" fail="silent" %> + <%if (genModel.isVirtualDelegation()) {%> + Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>); + <%} else {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>; + <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%>; + <%}%> + <%if (genFeature.isUnsettable()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE; + <%}%> + <%} else if (genClass.isESetFlag(genFeature)) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%if (!genModel.isSuppressNotification()) {%> + <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG; + <%}%> + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%=genFeature.getUncapName()%>ESet = true; + <%}%> + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + { + <%if (genFeature.isUnsettable()) {%> + <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>); + <%} else {%> + <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>); + <%}%> + if (msgs == null) msgs = notification; else msgs.add(notification); + } + <%}%> +<%@ include file="Class/basicSetGenFeature.post.insert.javajetinc" fail="silent" %> + return msgs; + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs); + <%} else {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs); + <%}%> + <%} else {%> +<%@ include file="Class/basicSetGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to set the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // -> this method is automatically invoked to keep the containment relationship in synch + // -> do not modify other features + // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first) + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/basicSetGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%@ end %><%//Class/basicSetGenFeature.override.javajetinc%> + <%}%> + <%if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) {%> +<%@ include file="Class/setGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> +<%if (isInterface) { %> +<%@ include file="Class/setGenFeature.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * Sets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. +<%@ include file="Class/setGenFeature.javadoc.insert.javajetinc" fail="silent" %> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>. + <%if (genFeature.isEnumType()) {%> + * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%> + <%}%> + <%if (genFeature.isUnsettable()) {%> + <%if (!genFeature.isSuppressedIsSetVisibility()) {%> + * @see #isSet<%=genFeature.getAccessorName()%>() + <%}%> + <%if (!genFeature.isSuppressedUnsetVisibility()) {%> + * @see #unset<%=genFeature.getAccessorName()%>() + <%}%> + <%}%> + * @see #<%=genFeature.getGetAccessor()%>() + * @generated + */ +<%@ end %><%//Class/setGenFeature.javadoc.override.javajetinc%> +<%} else {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/setGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> +<%}%> +<%if (!isImplementation) { %> + void set<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedType(genClass)%> value); + +<%} else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);%> + public void set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=genFeature.getImportedType(genClass)%> <%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>) + { +<%@ include file="Class/setGenFeature.pre.insert.javajetinc" fail="silent" %> + <%if (genModel.isDynamicDelegation()) {%> + eDynamicSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>); + <%} else if (genModel.isReflectiveDelegation()) {%> + eSet(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>); + <%} else if (genFeature.hasSettingDelegate()) {%> + <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicSet(this, null, 0, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>); + <%} else if (!genFeature.isVolatile()) {%> + <%if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + if (new<%=genFeature.getCapName()%> != eInternalContainer() || (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%> && new<%=genFeature.getCapName()%> != null)) + { + if (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")%>.isAncestor(this, <%=genFeature.getEObjectCast()%>new<%=genFeature.getCapName()%>)) + throw new <%=genModel.getImportedName("java.lang.IllegalArgumentException")%>("Recursive containment not allowed for " + toString());<%=genModel.getNonNLS()%> + <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (new<%=genFeature.getCapName()%> != null) + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs); + if (msgs != null) msgs.dispatch(); + } + <%if (!genModel.isSuppressNotification()) {%> + else if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>)); + <%}%> + <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%}%> + if (new<%=genFeature.getCapName()%> != <%=genFeature.getSafeName()%>) + { + <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null; + if (<%=genFeature.getSafeName()%> != null) + <%if (!genFeature.isBidirectional()) {%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs); + if (new<%=genFeature.getCapName()%> != null) + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs); + <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + if (new<%=genFeature.getCapName()%> != null) + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + <%}%> + msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs); + if (msgs != null) msgs.dispatch(); + } + <%if (genFeature.isUnsettable()) {%> + else + { + <%if (genModel.isVirtualDelegation()) {%> + boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else if (genClass.isESetFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%}%> + <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%=genFeature.getUncapName()%>ESet = true; + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>, !old<%=genFeature.getCapName()%>ESet)); + <%}%> + } + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + else if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>)); + <%}%> + <%}%> + <%} else {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + <%if (genFeature.isBooleanType()) {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0; + <%} else {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]; + <%}%> + <%}%> + <%if (genFeature.isBooleanType()) {%> + if (new<%=genFeature.getCapName()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG; + <%} else {%> + if (new<%=genFeature.getCapName()%> == null) new<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EDEFAULT; + <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%if (isJDK50) {%>new<%=genFeature.getCapName()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(new<%=genFeature.getCapName()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET; + <%}%> + <%} else {%> + <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%> + <%if (!genModel.isSuppressNotification()) {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>; + <%}%> + <%}%> + <%if (genFeature.isEnumType()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>; + <%} else {%> + <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>; + <%}%> + <%} else {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>; + <%} else {%> + <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>; + <%}%> + <%}%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>); + <%}%> + <%}%> + <%if (genFeature.isUnsettable()) {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE; + <%} else if (genClass.isESetFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%}%> + <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%=genFeature.getUncapName()%>ESet = true; + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>)); + <%}%> + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>)); + <%}%> + <%}%> + <%}%> +<%@ include file="Class/setGenFeature.post.insert.javajetinc" fail="silent" %> + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>); + <%} else {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>); + <%}%> + <%} else if (setAccessorOperation != null) {%> + <%=setAccessorOperation.getBody(genModel.getIndentation(stringBuffer))%> + <%} else {%> +<%@ include file="Class/setGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to set the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/setGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%}%> +<%@ end %><%//Class/setGenFeature.override.javajetinc%> + <%}%> + <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) {%> +<%@ include file="Class/basicUnsetGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/basicUnsetGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> + public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicUnset<%=genFeature.getAccessorName()%>(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs) + { + <%if (genModel.isDynamicDelegation()) {%> + return eDynamicInverseRemove((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>(), <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs); + <%} else if (!genFeature.isVolatile()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%if (!genModel.isSuppressNotification()) {%>Object old<%=genFeature.getCapName()%> = <%}%>eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>; + <%}%> + <%=genFeature.getSafeName()%> = null; + <%}%> + <%if (genModel.isVirtualDelegation()) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE; + <%}%> + <%} else if (genClass.isESetFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%}%> + <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%=genFeature.getUncapName()%>ESet = false; + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + { + <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + <%}%> + <%} else {%> +<%@ include file="Class/basicUnsetGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to unset the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // -> this method is automatically invoked to keep the containment relationship in synch + // -> do not modify other features + // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first) + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/basicUnsetGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%@ end %><%//Class.basicUnsetGenFeature.override.javajetinc%> + <%}%> + <%if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) {%> +<%@ include file="Class/unsetGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> +<%if (isInterface) {%> +<%@ include file="Class/unsetGenFeature.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * Unsets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>. +<%@ include file="Class/unsetGenFeature.javadoc.insert.javajetinc" fail="silent" %> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + <%if (!genFeature.isSuppressedIsSetVisibility()) {%> + * @see #isSet<%=genFeature.getAccessorName()%>() + <%}%> + * @see #<%=genFeature.getGetAccessor()%>() + <%if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%> + * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>) + <%}%> + * @generated + */ +<%@ end %><%//Class/unsetGenFeature.javadoc.override.javajetinc%> +<%} else {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/unsetGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> +<%}%> +<%if (!isImplementation) {%> + void unset<%=genFeature.getAccessorName()%>(); + +<%} else {%> + public void unset<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) {%>_<%}%>() + { + <%if (genModel.isDynamicDelegation()) {%> + eDynamicUnset(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else if (genModel.isReflectiveDelegation()) {%> + eUnset(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else if (genFeature.hasSettingDelegate()) {%> + <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0); + <%} else if (!genFeature.isVolatile()) {%> + <%if (genFeature.isListType()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%}%> + if (<%=genFeature.getSafeName()%> != null) ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).unset(); + <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%}%> + if (<%=genFeature.getSafeName()%> != null) + { + <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null; + <%if (!genFeature.isBidirectional()) {%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs); + <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + <%}%> + msgs = basicUnset<%=genFeature.getAccessorName()%>(msgs); + if (msgs != null) msgs.dispatch(); + } + else + { + <%if (genModel.isVirtualDelegation()) {%> + boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else if (genClass.isESetFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%}%> + <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%=genFeature.getUncapName()%>ESet = false; + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, null, null, old<%=genFeature.getCapName()%>ESet)); + <%}%> + } + <%} else {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (!genModel.isSuppressNotification()) {%> + <%if (genFeature.isBooleanType()) {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0; + <%} else {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]; + <%}%> + <%}%> + <%} else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + Object old<%=genFeature.getCapName()%> = eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else {%> + <%if (!genModel.isSuppressNotification()) {%> + <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>; + <%}%> + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE; + <%} else if (genClass.isESetFlag(genFeature)) {%> + boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%} else {%> + boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet; + <%}%> + <%}%> + <%if (genFeature.isReferenceType()) {%> + <%=genFeature.getSafeName()%> = null; + <%if (!genModel.isVirtualDelegation()) {%> + <%if (genClass.isESetFlag(genFeature)) {%> + <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%=genFeature.getUncapName()%>ESet = false; + <%}%> + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>)); + <%}%> + <%} else {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (genFeature.isBooleanType()) {%> + if (<%=genFeature.getEDefault()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG; + <%} else {%> + <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%=genFeature.getUpperName()%>_EFLAG_DEFAULT; + <%}%> + <%} else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%> + <%=genFeature.getSafeName()%> = <%=genFeature.getEDefault()%>; + <%}%> + <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%> + <%if (genClass.isESetFlag(genFeature)) {%> + <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG; + <%} else {%> + <%=genFeature.getUncapName()%>ESet = false; + <%}%> + <%}%> + <%if (!genModel.isSuppressNotification()) {%> + if (eNotificationRequired()) + eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? old<%=genFeature.getCapName()%> : <%=genFeature.getEDefault()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%=genFeature.getEDefault()%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>)); + <%}%> + <%}%> + <%}%> + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%}%> + <%} else if (genClass.getUnsetAccessorOperation(genFeature) != null) {%> + <%=genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%> + <%} else {%> +<%@ include file="Class/unsetGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to unset the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/unsetGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%}%> +<%@ end %><%//Class/unsetGenFeature.override.javajetinc%> + <%}%> + <%if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) {%> +<%@ include file="Class/isSetGenFeature.override.javajetinc" fail="alternative" %> +<%@ start %> +<%if (isInterface) {%> +<%@ include file="Class/isSetGenFeature.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * Returns whether the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%> is set. +<%@ include file="Class/isSetGenFeature.javadoc.insert.javajetinc" fail="silent" %> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> is set. + <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%> + * @see #unset<%=genFeature.getAccessorName()%>() + <%}%> + * @see #<%=genFeature.getGetAccessor()%>() + <%if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) {%> + * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>) + <%}%> + * @generated + */ +<%@ end %><%//Class/isSetGenFeature.javadoc.override.javajetinc%> +<%} else {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc%> +<%@ include file="Class/isSetGenFeature.annotations.insert.javajetinc" fail="silent" %> +<%}%> +<%}%> +<%if (!isImplementation) {%> + boolean isSet<%=genFeature.getAccessorName()%>(); + +<%} else {%> + public boolean isSet<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) {%>_<%}%>() + { + <%if (genModel.isDynamicDelegation()) {%> + return eDynamicIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else if (genModel.isReflectiveDelegation()) {%> + return eIsSet(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else if (genFeature.hasSettingDelegate()) {%> + return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); + <%} else if (!genFeature.isVolatile()) {%> + <%if (genFeature.isListType()) {%> + <%if (genModel.isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%}%> + return <%=genFeature.getSafeName()%> != null && ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).isSet(); + <%} else {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + return eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else if (genClass.isESetFlag(genFeature)) {%> + return (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0; + <%} else {%> + return <%=genFeature.getUncapName()%>ESet; + <%}%> + <%}%> + <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%> + <%if (delegateFeature.isWrappedFeatureMapType()) {%> + return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%} else {%> + return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>); + <%}%> + <%} else if (genClass.getIsSetAccessorOperation(genFeature) != null) {%> + <%=genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%> + <%} else {%> +<%@ include file="Class/isSetGenFeature.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method to return whether the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> is set + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/isSetGenFeature.todo.override.javajetinc%> + <%}%> + } + +<%}%> +<%@ end %><%//Class/isSetGenFeature.override.javajetinc%> + <%}%> +<%@ include file="Class/genFeature.insert.javajetinc" fail="silent" %> +<%@ end %><%//Class/genFeature.override.javajetinc%> +<%}//for%> +<%}}.run();%> +<%for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {%> +<%@ include file="Class/genOperation.override.javajetinc" fail="alternative" %> +<%@ start %> + <%if (isImplementation) {%> + <%if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {%> + /** + * The cached validation expression for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' invariant operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) + * @generated + * @ordered + */ + protected static final <%=genModel.getImportedName("java.lang.String")%> <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION = "<%=genOperation.getInvariantExpression("\t\t")%>";<%=genModel.getNonNLS()%> + + <%} else if (genOperation.hasInvocationDelegate()) {%> + /** + * The cached invocation delegate for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) + * @generated + * @ordered + */ + protected static final <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal.InvocationDelegate <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal)<%=genOperation.getQualifiedOperationAccessor()%>).getInvocationDelegate(); + + <%}%> + <%}%> +<%if (isInterface) {%> +<%@ include file="Class/genOperation.javadoc.override.javajetinc" fail="alternative" %> +<%@ start %> + /** +<%@ include file="Class/genOperation.javadoc.insert.javajetinc" fail="silent" %> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + <%if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) {%> + * <!-- begin-model-doc --> + <%if (genOperation.hasDocumentation()) {%> + * <%=genOperation.getDocumentation(genModel.getIndentation(stringBuffer))%> + <%}%> + <%for (GenParameter genParameter : genOperation.getGenParameters()) {%> + <%if (genParameter.hasDocumentation()) { String documentation = genParameter.getDocumentation("");%> + <%if (documentation.contains("\n") || documentation.contains("\r")) {%> + * @param <%=genParameter.getName()%> + * <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%> + <%} else {%> + * @param <%=genParameter.getName()%> <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%> + <%}%> + <%}%> + <%}%> + * <!-- end-model-doc --> + <%}%> + <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%> + * @model <%=modelInfo%> + <%} else {%> + * <%=modelInfo%> + <%}} if (first) {%> + * @model + <%}}%> + * @generated + */ +<%@ end %><%//Class/genOperation.javadoc.override.javajetinc%> +<%} else {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +<%if (isJDK50) { //Class/genOperation.annotations.insert.javajetinc%> +<%@ include file="Class/genOperation.annotations.insert.javajetinc" fail="silent" %> +<%}%> +<%}%> +<%if (!isImplementation) {%> + <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(genClass)%>)<%=genOperation.getThrows(genClass)%>; + +<%} else {%> + <%if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {%> + @SuppressWarnings("unchecked") + <%}%> + public <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(genClass)%>)<%=genOperation.getThrows(genClass)%> + { + <%if (genOperation.hasBody()) {%> + <%=genOperation.getBody(genModel.getIndentation(stringBuffer))%> + <%} else if (genOperation.isInvariant()) {GenClass opClass = genOperation.getGenClass(); String diagnostics = genOperation.getGenParameters().get(0).getName(); String context = genOperation.getGenParameters().get(1).getName();%> + <%if (genOperation.hasInvariantExpression()) {%> + return + <%=opClass.getGenPackage().getImportedValidatorClassName()%>.validate + (<%=genClass.getQualifiedClassifierAccessor()%>, + this, + <%=diagnostics%>, + <%=context%>, + "<%=genOperation.getValidationDelegate()%>",<%=genModel.getNonNLS()%> + <%=genOperation.getQualifiedOperationAccessor()%>, + <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION, + <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR, + <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE, + <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>); + <%} else {%> + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) + { + if (<%=diagnostics%> != null) + { + <%=diagnostics%>.add + (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%> + (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR, + <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE, + <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>, + <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "<%=genOperation.getName()%>", <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")%>.getObjectLabel(this, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%> + new Object [] { this })); + } + return false; + } + return true; + <%}%> + <%} else if (genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size();%> + try + { + <%if (genOperation.isVoid()) {%> + <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>); + <%} else {%> + return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>(<%}%>(<%=genOperation.getObjectType(genClass)%>)<%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>).<%=genOperation.getPrimitiveValueFunction()%>()<%}%>; + <%}%> + } + catch (<%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%> ite) + { + throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(ite); + } + <%} else {%> +<%@ include file="Class/implementedGenOperation.TODO.override.javajetinc" fail="alternative" %> +<%@ start %> + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); +<%@ end %><%//Class/implementedGenOperation.todo.override.javajetinc%> + <%}%> + } + +<%}%> +<%@ include file="Class/genOperation.insert.javajetinc" fail="silent" %> +<%@ end %><%//Class/implementedGenOperation.override.javajetinc%> +<%}//for%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useGenerics()) {%> + <%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%> + <%if (genFeature.isUncheckedCast(genClass)) {%> + @SuppressWarnings("unchecked") + <%break; }%> + <%}%> + <%}%> + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseAdd(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs) + { + switch (featureID<%=negativeOffsetCorrection%>) + { +<%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.isListType()) { String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");%> + <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%> + return ((<%=cast%>(<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicAdd(otherEnd, msgs); + <%} else {%> + return (<%=cast%><%=genFeature.getGetAccessor()%>()).basicAdd(otherEnd, msgs); + <%}%> + <%} else if (genFeature.isContainer()) {%> + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + <%if (genFeature.isBasicSet()) {%> + return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs); + <%} else {%> + return eBasicSetContainer(otherEnd, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs); + <%}%> + <%} else {%> + <%if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + <%} else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>(); + <%}%> + if (<%=genFeature.getSafeName()%> != null) + <%if (genFeature.isEffectiveContains()) {%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs); + <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); + <%}%> + return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs); + <%}%> +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eInverseAdd(otherEnd, featureID, msgs); +<%} else {%> + return eDynamicInverseAdd(otherEnd, featureID, msgs); +<%}%> + } + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseRemove(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs) + { + switch (featureID<%=negativeOffsetCorrection%>) + { +<%for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.isListType()) {%> + <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicRemove(otherEnd, msgs); + <%} else if (genFeature.isWrappedFeatureMapType()) {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).basicRemove(otherEnd, msgs); + <%} else {%> + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)<%=genFeature.getGetAccessor()%>()).basicRemove(otherEnd, msgs); + <%}%> + <%} else if (genFeature.isContainer() && !genFeature.isBasicSet()) {%> + return eBasicSetContainer(null, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs); + <%} else if (genFeature.isUnsettable()) {%> + return basicUnset<%=genFeature.getAccessorName()%>(msgs); + <%} else {%> + return basicSet<%=genFeature.getAccessorName()%>(null, msgs); + <%}%> +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eInverseRemove(otherEnd, featureID, msgs); +<%} else {%> + return eDynamicInverseRemove(otherEnd, featureID, msgs); +<%}%> + } + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eBasicRemoveFromContainerFeature(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs) + { + switch (eContainerFeatureID()<%=negativeOffsetCorrection%>) + { +<%for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {%> + <%GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + return eInternalContainer().eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs); +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eBasicRemoveFromContainerFeature(msgs); +<%} else {%> + return eDynamicBasicRemoveFromContainer(msgs); +<%}%> + } + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID<%=negativeOffsetCorrection%>) + { +<%for (GenFeature genFeature : genClass.getEGetGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.isPrimitiveType()) {%> + <%if (isJDK50) {%> + return <%=genFeature.getGetAccessor()%>(); + <%} else if (genFeature.isBooleanType()) {%> + return <%=genFeature.getGetAccessor()%>() ? Boolean.TRUE : Boolean.FALSE; + <%} else {%> + return new <%=genFeature.getObjectType(genClass)%>(<%=genFeature.getGetAccessor()%>()); + <%}%> + <%} else if (genFeature.isResolveProxies() && !genFeature.isListType()) {%> + if (resolve) return <%=genFeature.getGetAccessor()%>(); + return basicGet<%=genFeature.getAccessorName()%>(); + <%} else if (genFeature.isMapType()) {%> + <%if (genFeature.isEffectiveSuppressEMFTypes()) {%> + if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap(); + else return <%=genFeature.getGetAccessor()%>(); + <%} else {%> + if (coreType) return <%=genFeature.getGetAccessor()%>(); + else return <%=genFeature.getGetAccessor()%>().map(); + <%}%> + <%} else if (genFeature.isWrappedFeatureMapType()) {%> + if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap(); + return <%=genFeature.getGetAccessor()%>(); + <%} else if (genFeature.isFeatureMapType()) {%> + if (coreType) return <%=genFeature.getGetAccessor()%>(); + return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).getWrapper(); + <%} else {%> + return <%=genFeature.getGetAccessor()%>(); + <%}%> +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eGet(featureID, resolve, coreType); +<%} else {%> + return eDynamicGet(featureID, resolve, coreType); +<%}%> + } + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useGenerics()) {%> + <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%> + <%if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {%> + @SuppressWarnings("unchecked") + <%break; }%> + <%}%> + <%}%> + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public void eSet(int featureID, Object newValue) + { + switch (featureID<%=negativeOffsetCorrection%>) + { + <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.isListType()) {%> + <%if (genFeature.isWrappedFeatureMapType()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).set(newValue); + <%} else if (genFeature.isFeatureMapType()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).set(newValue); + <%} else if (genFeature.isMapType()) {%> + <%if (genFeature.isEffectiveSuppressEMFTypes()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).set(newValue); + <%} else {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)<%=genFeature.getGetAccessor()%>()).set(newValue); + <%}%> + <%} else {%> + <%=genFeature.getGetAccessor()%>().clear(); + <%=genFeature.getGetAccessor()%>().addAll((<%=genModel.getImportedName("java.util.Collection")%><%if (isJDK50) {%><? extends <%=genFeature.getListItemType(genClass)%>><%}%>)newValue); + <%}%> + <%} else if (!isJDK50 && genFeature.isPrimitiveType()) {%> + set<%=genFeature.getAccessorName()%>(((<%=genFeature.getObjectType(genClass)%>)newValue).<%=genFeature.getPrimitiveValueFunction()%>()); + <%} else {%> + set<%=genFeature.getAccessorName()%>(<%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>newValue); + <%}%> + return; + <%}%> + } + <%if (genModel.isMinimalReflectiveMethods()) {%> + super.eSet(featureID, newValue); + <%} else {%> + eDynamicSet(featureID, newValue); + <%}%> + } + +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {%> +<%@ include file="Class/eUnset.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public void eUnset(int featureID) + { + switch (featureID<%=negativeOffsetCorrection%>) + { + <%for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.isListType() && !genFeature.isUnsettable()) {%> + <%if (genFeature.isWrappedFeatureMapType()) {%> + ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().clear(); + <%} else {%> + <%=genFeature.getGetAccessor()%>().clear(); + <%}%> + <%} else if (genFeature.isUnsettable()) {%> + unset<%=genFeature.getAccessorName()%>(); + <%} else if (!genFeature.hasEDefault()) {%> + set<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)null); + <%} else if (genFeature.hasSettingDelegate()) {%> + <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0); + <%} else {%> + set<%=genFeature.getAccessorName()%>(<%=genFeature.getEDefault()%>); + <%}%> + return; + <%}%> + } + <%if (genModel.isMinimalReflectiveMethods()) {%> + super.eUnset(featureID); + <%} else {%> + eDynamicUnset(featureID); + <%}%> + } + +<%@ end %><%//Class/eUnset.override.javajetinc%> +<%}%> +<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {%> +<%@ include file="Class/eIsSet.override.javajetinc" fail="alternative" %> +<%@ start %> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useGenerics()) {%> + <%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {%> + <%if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + @SuppressWarnings("unchecked") + <%break; }%> + <%}%> + <%}%> + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public boolean eIsSet(int featureID) + { + switch (featureID<%=negativeOffsetCorrection%>) + { +<%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; }%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: + <%if (genFeature.hasSettingDelegate()) {%> + <%if (genFeature.isUnsettable()) {%> + return isSet<%=genFeature.getAccessorName()%>(); + <%} else {%> + return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); + <%}%> + <%} else if (genFeature.isListType() && !genFeature.isUnsettable()) {%> + <%if (genFeature.isWrappedFeatureMapType()) {%> + <%if (genFeature.isVolatile()) {%> + return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().isEmpty(); + <%} else {%> + return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.featureMap().isEmpty(); + <%}%> + <%} else {%> + <%if (genClass.isField(genFeature)) {%> + return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty(); + <%} else {%> + <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>); + return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty(); + <%} else {%> + return !<%=genFeature.getGetAccessor()%>().isEmpty(); + <%}%> + <%}%> + <%}%> + <%} else if (genFeature.isUnsettable()) {%> + return isSet<%=genFeature.getAccessorName()%>(); + <%} else if (genFeature.isResolveProxies()) {%> + <%if (genClass.isField(genFeature)) {%> + return <%=safeNameAccessor%> != null; + <%} else {%> + <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null; + <%} else {%> + return basicGet<%=genFeature.getAccessorName()%>() != null; + <%}%> + <%}%> + <%} else if (!genFeature.hasEDefault()) {%> + <%if (genClass.isField(genFeature)) {%> + return <%=safeNameAccessor%> != null; + <%} else {%> + <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null; + <%} else {%> + return <%=genFeature.getGetAccessor()%>() != null; + <%}%> + <%}%> + <%} else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {%> + <%if (genClass.isField(genFeature)) {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (genFeature.isBooleanType()) {%> + return ((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0) != <%=genFeature.getEDefault()%>; + <%} else {%> + return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != <%=genFeature.getUpperName()%>_EFLAG_DEFAULT; + <%}%> + <%} else {%> + return <%=safeNameAccessor%> != <%=genFeature.getEDefault()%>; + <%}%> + <%} else {%> + <%if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>) != <%=genFeature.getEDefault()%>; + <%} else {%> + return <%=genFeature.getGetAccessor()%>() != <%=genFeature.getEDefault()%>; + <%}%> + <%}%> + <%} else {//datatype%> + <%if (genClass.isField(genFeature)) {%> + return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>); + <%} else {%> + <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%> + <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>); + return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>); + <%} else {%> + return <%=genFeature.getEDefault()%> == null ? <%=genFeature.getGetAccessor()%>() != null : !<%=genFeature.getEDefault()%>.equals(<%=genFeature.getGetAccessor()%>()); + <%}%> + <%}%> + <%}%> +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eIsSet(featureID); +<%} else {%> + return eDynamicIsSet(featureID); +<%}%> + } + +<%@ end %><%//Class/eIsSet.override.javajetinc%> +<%}%> +<%if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) {%> + <%if (!genClass.getMixinGenFeatures().isEmpty()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<%=singleWildcard%> baseClass) + { + <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%> + if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class) + { + switch (derivedFeatureID<%=negativeOffsetCorrection%>) + { + <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>; + <%}%> + default: return -1; + } + } + <%}%> + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + <%}%> + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public int eDerivedStructuralFeatureID(int baseFeatureID, Class<%=singleWildcard%> baseClass) + { + <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%> + if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class) + { + switch (baseFeatureID) + { + <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%> + case <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>; + <%}%> + default: return -1; + } + } + <%}%> + <%if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) {%> + if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class) + { + switch (baseFeatureID<%=negativeOffsetCorrection%>) + { + <%for (GenFeature genFeature : genClass.getGenFeatures()) {%> + case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>; + <%}%> + default: return -1; + } + } + <%}%> + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + +<%}%> +<%if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public int eDerivedOperationID(int baseOperationID, Class<%=singleWildcard%> baseClass) + { + <%for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) { List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations(); List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();%> + <%if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) {%> + if (baseClass == <%=extendedGenClass.getRawImportedInterfaceName()%>.class) + { + switch (baseOperationID) + { + <%for (GenOperation genOperation : extendedImplementedGenOperations) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%> + <%if (implementedGenOperations.contains(overrideGenOperation)) {%> + case <%=extendedGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation)%><%=positiveOperationOffsetCorrection%>; + <%}%> + <%}%> + default: return super.eDerivedOperationID(baseOperationID, baseClass); + } + } + <%}%> + <%}%> + <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%> + if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class) + { + switch (baseOperationID) + { + <%for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%> + case <%=mixinGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation)%><%=positiveOperationOffsetCorrection%>; + <%}%> + default: return -1; + } + } + <%}%> + <%if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {%> + if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class) + { + switch (baseOperationID<%=negativeOperationOffsetCorrection%>) + { + <%for (GenOperation genOperation : genClass.getGenOperations()) {%> + case <%=genClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(genOperation)%><%=positiveOperationOffsetCorrection%>; + <%}%> + default: return -1; + } + } + <%}%> + return super.eDerivedOperationID(baseOperationID, baseClass); + } + +<%}%> +<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%> + <%if (eVirtualValuesField != null) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected Object[] eVirtualValues() + { + return <%=eVirtualValuesField%>; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected void eSetVirtualValues(Object[] newValues) + { + <%=eVirtualValuesField%> = newValues; + } + + <%}%> + <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%> + <%if (!eVirtualIndexBitFields.isEmpty()) { List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>());%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected int eVirtualIndexBits(int offset) + { + switch (offset) + { + <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%> + case <%=i%> : + return <%=allEVirtualIndexBitFields.get(i)%>; + <%}%> + default : + throw new IndexOutOfBoundsException(); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + protected void eSetVirtualIndexBits(int offset, int newIndexBits) + { + switch (offset) + { + <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%> + case <%=i%> : + <%=allEVirtualIndexBitFields.get(i)%> = newIndexBits; + break; + <%}%> + default : + throw new IndexOutOfBoundsException(); + } + } + + <%}%> + <%}%> +<%}%> +<%if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + <%if (genModel.useGenerics()) {%> + <%boolean isUnchecked = false; boolean isRaw = false; LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { for (GenParameter genParameter : genOperation.getGenParameters()) { if (genParameter.isUncheckedCast()) { if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) { isUnchecked = true; } if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) { isRaw = true; break LOOP; }}}}%> + <%if (isUnchecked) {%> + @SuppressWarnings(<%if (!isRaw) {%>"unchecked"<%} else {%>{"rawtypes", "unchecked" }<%}%>) + <%}%> + <%}%> + public Object eInvoke(int operationID, <%=genModel.getImportedName("org.eclipse.emf.common.util.EList")%><%=singleWildcard%> arguments) throws <%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%> + { + switch (operationID<%=negativeOperationOffsetCorrection%>) + { +<%for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size();%> + case <%=genClass.getQualifiedOperationID(genOperation)%>: + <%if (genOperation.isVoid()) {%> + <%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>); + return null; + <%} else {%> + return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>new <%=genOperation.getObjectType(genClass)%>(<%}%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>)<%}%>; + <%}%> +<%}%> + } +<%if (genModel.isMinimalReflectiveMethods()) {%> + return super.eInvoke(operationID, arguments); +<%} else {%> + return eDynamicInvoke(operationID, arguments); +<%}%> + } + +<%}%> +<%if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useClassOverrideAnnotation()) {%> + @Override + <%}%> + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + <%{ boolean first = true;%> + <%for (GenFeature genFeature : genClass.getToStringGenFeatures()) {%> + <%if (first) { first = false;%> + result.append(" (<%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%> + <%} else {%> + result.append(", <%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%> + <%}%> + <%if (genFeature.isUnsettable() && !genFeature.isListType()) {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + if (eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)) result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)); else result.append("<unset>");<%=genModel.getNonNLS()%> + <%} else {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (genFeature.isBooleanType()) {%> + if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0); else result.append("<unset>");<%=genModel.getNonNLS()%> + <%} else {%> + if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]); else result.append("<unset>");<%=genModel.getNonNLS()%> + <%}%> + <%} else {%> + if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getSafeName()%>); else result.append("<unset>");<%=genModel.getNonNLS()%> + <%}%> + <%}%> + <%} else {%> + <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%> + result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (!genFeature.isListType() && !genFeature.isReferenceType()){%>, <%=genFeature.getEDefault()%><%}%>)); + <%} else {%> + <%if (genClass.isFlag(genFeature)) {%> + <%if (genFeature.isBooleanType()) {%> + result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0); + <%} else {%> + result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]); + <%}%> + <%} else {%> + result.append(<%=genFeature.getSafeName()%>); + <%}%> + <%}%> + <%}%> + <%}%> + <%}%> + result.append(')'); + return result.toString(); + } + +<%}%> +<%if (isImplementation && genClass.isMapEntry()) { GenFeature keyFeature = genClass.getMapEntryKeyFeature(); GenFeature valueFeature = genClass.getMapEntryValueFeature();%> +<%String objectType = genModel.getImportedName("java.lang.Object");%> +<%String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;%> +<%String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;%> +<%String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");%> + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (isGWT) {%> + @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%> + <%}%> + protected int hash = -1; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getHash() + { + if (hash == -1) + { + <%=objectType%> theKey = getKey(); + hash = (theKey == null ? 0 : theKey.hashCode()); + } + return hash; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setHash(int hash) + { + this.hash = hash; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public <%=keyType%> getKey() + { + <%if (!isJDK50 && keyFeature.isPrimitiveType()) {%> + return new <%=keyFeature.getObjectType(genClass)%>(getTypedKey()); + <%} else {%> + return getTypedKey(); + <%}%> + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKey(<%=keyType%> key) + { + <%if (keyFeature.isListType()) {%> + getTypedKey().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>key); + <%} else if (isJDK50) {%> + setTypedKey(key); + <%} else if (keyFeature.isPrimitiveType()) {%> + setTypedKey(((<%=keyFeature.getObjectType(genClass)%>)key).<%=keyFeature.getPrimitiveValueFunction()%>()); + <%} else {%> + setTypedKey((<%=keyFeature.getImportedType(genClass)%>)key); + <%}%> + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public <%=valueType%> getValue() + { + <%if (!isJDK50 && valueFeature.isPrimitiveType()) {%> + return new <%=valueFeature.getObjectType(genClass)%>(getTypedValue()); + <%} else {%> + return getTypedValue(); + <%}%> + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public <%=valueType%> setValue(<%=valueType%> value) + { + <%=valueType%> oldValue = getValue(); + <%if (valueFeature.isListType()) {%> + getTypedValue().clear(); + getTypedValue().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>value); + <%} else if (isJDK50) {%> + setTypedValue(value); + <%} else if (valueFeature.isPrimitiveType()) {%> + setTypedValue(((<%=valueFeature.getObjectType(genClass)%>)value).<%=valueFeature.getPrimitiveValueFunction()%>()); + <%} else {%> + setTypedValue((<%=valueFeature.getImportedType(genClass)%>)value); + <%}%> + return oldValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + <%if (genModel.useGenerics()) {%> + @SuppressWarnings("unchecked") + <%}%> + public <%=eMapType%> getEMap() + { + <%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%> container = eContainer(); + return container == null ? null : (<%=eMapType%>)container.eGet(eContainmentFeature()); + } + +<%}%> +<%@ include file="Class/insert.javajetinc" fail="silent" %> +} //<%=isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName()%> +<%// TODO fix the space above%> +<%genModel.emitSortedImports();%> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/templates/model/README.txt b/bundles/org.eclipse.e4.ui.model.workbench/templates/model/README.txt new file mode 100644 index 00000000000..14214aeed14 --- /dev/null +++ b/bundles/org.eclipse.e4.ui.model.workbench/templates/model/README.txt @@ -0,0 +1,10 @@ +Important Note: + +The templates directory, and specifically, templates/model/Class.javajet are overrides of the EMF code generator. + +templates/model/Class.javajet works around to EMF bugs 400729 and 400847 +It is extracted without modification from EMF commit: +https://git.eclipse.org/c/emf/org.eclipse.emf.git/commit/plugins/org.eclipse.emf.codegen.ecore/templates/model/Class.javajet?id=9d4d3510c27d12ee13dc82d1939a9afcd137b09d + +The code generation parameters in /org.eclipse.e4.ui.model.workbench/model/UIElements.genmodel have been modified +to reference the templates directory.
\ No newline at end of file |
