diff options
author | Oleg Besedin | 2011-01-10 16:04:48 +0000 |
---|---|---|
committer | Oleg Besedin | 2011-01-10 16:04:48 +0000 |
commit | c03532d8db5a3ddd41d2cdd0e4522b5ef968373e (patch) | |
tree | 257ef3eb68514f42af8f088d74f6df010ed029f0 /bundles/org.eclipse.e4.ui.model.workbench | |
parent | 5a509eb05023dd493334da23e9fa2deffe8896ff (diff) | |
download | eclipse.platform.ui-c03532d8db5a3ddd41d2cdd0e4522b5ef968373e.tar.gz eclipse.platform.ui-c03532d8db5a3ddd41d2cdd0e4522b5ef968373e.tar.xz eclipse.platform.ui-c03532d8db5a3ddd41d2cdd0e4522b5ef968373e.zip |
Bug 331010 - Track Model-Element contributors
Diffstat (limited to 'bundles/org.eclipse.e4.ui.model.workbench')
31 files changed, 666 insertions, 1 deletions
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 c1e69b042cd..48a05dc645d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore @@ -31,6 +31,7 @@ <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"/> <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"/> </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"/> 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 8e9d22db721..32591190e9a 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 @@ -22,6 +22,7 @@ import java.util.List; * <ul> * <li>{@link org.eclipse.e4.ui.model.application.MApplicationElement#getElementId <em>Element Id</em>}</li> * <li>{@link org.eclipse.e4.ui.model.application.MApplicationElement#getTags <em>Tags</em>}</li> + * <li>{@link org.eclipse.e4.ui.model.application.MApplicationElement#getContributorURI <em>Contributor URI</em>}</li> * </ul> * </p> * @@ -69,4 +70,29 @@ public interface MApplicationElement { */ List<String> getTags(); + /** + * Returns the value of the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Contributor URI</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Contributor URI</em>' attribute. + * @see #setContributorURI(String) + * @model + * @generated + */ + String getContributorURI(); + + /** + * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MApplicationElement#getContributorURI <em>Contributor URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Contributor URI</em>' attribute. + * @see #getContributorURI() + * @generated + */ + void setContributorURI(String value); + } // MApplicationElement diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsFactoryImpl.java index 472f8f0bcea..c2bee527b5d 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.commands.impl; +import org.eclipse.e4.ui.model.application.commands.*; import org.eclipse.e4.ui.model.application.commands.MBindingContext; import org.eclipse.e4.ui.model.application.commands.MBindingTable; import org.eclipse.e4.ui.model.application.commands.MCategory; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsPackageImpl.java index eb1541a8601..93e47ed4911 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsPackageImpl.java @@ -179,6 +179,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int BINDING_CONTEXT__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int BINDING_CONTEXT__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -243,6 +252,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int BINDING_TABLE__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int BINDING_TABLE__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Binding Context Id</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -298,6 +316,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int COMMAND__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int COMMAND__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Command Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -371,6 +398,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int COMMAND_PARAMETER__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int COMMAND_PARAMETER__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -435,6 +471,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int HANDLER__TAGS = ApplicationPackageImpl.CONTRIBUTION__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int HANDLER__CONTRIBUTOR_URI = ApplicationPackageImpl.CONTRIBUTION__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Contribution URI</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -546,6 +591,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int KEY_BINDING__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int KEY_BINDING__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Key Sequence</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -628,6 +682,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int PARAMETER__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PARAMETER__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -683,6 +746,15 @@ public class CommandsPackageImpl extends EPackageImpl { public static final int CATEGORY__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int CATEGORY__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsAdapterFactory.java index c832074bb67..6ad0af62d27 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsAdapterFactory.java @@ -12,6 +12,7 @@ package org.eclipse.e4.ui.model.application.commands.util; import org.eclipse.e4.ui.model.application.MApplicationElement; import org.eclipse.e4.ui.model.application.MContribution; +import org.eclipse.e4.ui.model.application.commands.*; import org.eclipse.e4.ui.model.application.commands.MBindingContext; import org.eclipse.e4.ui.model.application.commands.MBindingTable; import org.eclipse.e4.ui.model.application.commands.MBindingTableContainer; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsSwitch.java index 236bdf4d388..5120562e971 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/util/CommandsSwitch.java @@ -13,6 +13,7 @@ package org.eclipse.e4.ui.model.application.commands.util; import java.util.List; import org.eclipse.e4.ui.model.application.MApplicationElement; import org.eclipse.e4.ui.model.application.MContribution; +import org.eclipse.e4.ui.model.application.commands.*; import org.eclipse.e4.ui.model.application.commands.MBindingContext; import org.eclipse.e4.ui.model.application.commands.MBindingTable; import org.eclipse.e4.ui.model.application.commands.MBindingTableContainer; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicFactoryImpl.java index 8374a8a1263..3579e98ca9f 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.descriptor.basic.impl; +import org.eclipse.e4.ui.model.application.descriptor.basic.*; import org.eclipse.e4.ui.model.application.descriptor.basic.MBasicFactory; import org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptor; import org.eclipse.emf.ecore.EClass; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicPackageImpl.java index ab129ce651f..b714d3d6766 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/impl/BasicPackageImpl.java @@ -102,6 +102,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int PART_DESCRIPTOR__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PART_DESCRIPTOR__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Label</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicAdapterFactory.java index 159fce8e151..d6aaa1fe5a7 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicAdapterFactory.java @@ -13,6 +13,7 @@ package org.eclipse.e4.ui.model.application.descriptor.basic.util; import org.eclipse.e4.ui.model.application.MApplicationElement; import org.eclipse.e4.ui.model.application.commands.MBindings; import org.eclipse.e4.ui.model.application.commands.MHandlerContainer; +import org.eclipse.e4.ui.model.application.descriptor.basic.*; import org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptor; import org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptorContainer; import org.eclipse.e4.ui.model.application.descriptor.basic.impl.BasicPackageImpl; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicSwitch.java index 5992ea3ecfc..93c76be0678 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/util/BasicSwitch.java @@ -14,6 +14,7 @@ import java.util.List; import org.eclipse.e4.ui.model.application.MApplicationElement; import org.eclipse.e4.ui.model.application.commands.MBindings; import org.eclipse.e4.ui.model.application.commands.MHandlerContainer; +import org.eclipse.e4.ui.model.application.descriptor.basic.*; import org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptor; import org.eclipse.e4.ui.model.application.descriptor.basic.MPartDescriptorContainer; import org.eclipse.e4.ui.model.application.descriptor.basic.impl.BasicPackageImpl; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationElementImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationElementImpl.java index c414367e6c4..42932f8c367 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationElementImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationElementImpl.java @@ -29,6 +29,7 @@ import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; * <ul> * <li>{@link org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl#getElementId <em>Element Id</em>}</li> * <li>{@link org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl#getTags <em>Tags</em>}</li> + * <li>{@link org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl#getContributorURI <em>Contributor URI</em>}</li> * </ul> * </p> * @@ -66,6 +67,26 @@ public abstract class ApplicationElementImpl extends Container implements MAppli protected EList<String> tags; /** + * The default value of the '{@link #getContributorURI() <em>Contributor URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getContributorURI() + * @generated + * @ordered + */ + protected static final String CONTRIBUTOR_URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getContributorURI() <em>Contributor URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getContributorURI() + * @generated + * @ordered + */ + protected String contributorURI = CONTRIBUTOR_URI_EDEFAULT; + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -122,6 +143,26 @@ public abstract class ApplicationElementImpl extends Container implements MAppli * <!-- end-user-doc --> * @generated */ + public String getContributorURI() { + return contributorURI; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + */ + public void setContributorURI(String newContributorURI) { + String oldContributorURI = contributorURI; + contributorURI = (newContributorURI == null) ? null : newContributorURI.intern(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI, oldContributorURI, contributorURI)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { @@ -129,6 +170,8 @@ public abstract class ApplicationElementImpl extends Container implements MAppli return getElementId(); case ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS: return getTags(); + case ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI: + return getContributorURI(); } return super.eGet(featureID, resolve, coreType); } @@ -149,6 +192,9 @@ public abstract class ApplicationElementImpl extends Container implements MAppli getTags().clear(); getTags().addAll((Collection<? extends String>)newValue); return; + case ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI: + setContributorURI((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -167,6 +213,9 @@ public abstract class ApplicationElementImpl extends Container implements MAppli case ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS: getTags().clear(); return; + case ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI: + setContributorURI(CONTRIBUTOR_URI_EDEFAULT); + return; } super.eUnset(featureID); } @@ -183,6 +232,8 @@ public abstract class ApplicationElementImpl extends Container implements MAppli return ELEMENT_ID_EDEFAULT == null ? elementId != null : !ELEMENT_ID_EDEFAULT.equals(elementId); case ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS: return tags != null && !tags.isEmpty(); + case ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI: + return CONTRIBUTOR_URI_EDEFAULT == null ? contributorURI != null : !CONTRIBUTOR_URI_EDEFAULT.equals(contributorURI); } return super.eIsSet(featureID); } @@ -201,6 +252,8 @@ public abstract class ApplicationElementImpl extends Container implements MAppli result.append(elementId); result.append(", tags: "); //$NON-NLS-1$ result.append(tags); + result.append(", contributorURI: "); //$NON-NLS-1$ + result.append(contributorURI); result.append(')'); return result.toString(); } diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationFactoryImpl.java index 434883b3b43..81cf5f95b79 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationFactoryImpl.java @@ -11,6 +11,7 @@ package org.eclipse.e4.ui.model.application.impl; import java.util.Map; +import org.eclipse.e4.ui.model.application.*; import org.eclipse.e4.ui.model.application.MAddon; import org.eclipse.e4.ui.model.application.MApplication; import org.eclipse.e4.ui.model.application.MApplicationFactory; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationPackageImpl.java index 3a9a62a6380..ab1be1acf48 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/impl/ApplicationPackageImpl.java @@ -145,13 +145,22 @@ public class ApplicationPackageImpl extends EPackageImpl { public static final int APPLICATION_ELEMENT__TAGS = 1; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int APPLICATION_ELEMENT__CONTRIBUTOR_URI = 2; + + /** * The number of structural features of the '<em>Element</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int APPLICATION_ELEMENT_FEATURE_COUNT = 2; + public static final int APPLICATION_ELEMENT_FEATURE_COUNT = 3; /** * The meta object id for the '{@link org.eclipse.e4.ui.model.application.impl.ApplicationImpl <em>Application</em>}' class. @@ -182,6 +191,15 @@ public class ApplicationPackageImpl extends EPackageImpl { public static final int APPLICATION__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int APPLICATION__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -453,6 +471,15 @@ public class ApplicationPackageImpl extends EPackageImpl { public static final int CONTRIBUTION__TAGS = APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int CONTRIBUTION__CONTRIBUTOR_URI = APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Contribution URI</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -517,6 +544,15 @@ public class ApplicationPackageImpl extends EPackageImpl { public static final int ADDON__TAGS = CONTRIBUTION__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int ADDON__CONTRIBUTOR_URI = CONTRIBUTION__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Contribution URI</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -817,6 +853,20 @@ public class ApplicationPackageImpl extends EPackageImpl { } /** + * Returns the meta object for the attribute '{@link org.eclipse.e4.ui.model.application.MApplicationElement#getContributorURI <em>Contributor URI</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Contributor URI</em>'. + * @see org.eclipse.e4.ui.model.application.MApplicationElement#getContributorURI() + * @see #getApplicationElement() + * @generated + */ + public EAttribute getApplicationElement_ContributorURI() { + return (EAttribute)applicationElementEClass.getEStructuralFeatures().get(2); + } + + + /** * Returns the meta object for class '{@link org.eclipse.e4.ui.model.application.MContribution <em>Contribution</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -934,6 +984,7 @@ public class ApplicationPackageImpl extends EPackageImpl { applicationElementEClass = createEClass(APPLICATION_ELEMENT); createEAttribute(applicationElementEClass, APPLICATION_ELEMENT__ELEMENT_ID); createEAttribute(applicationElementEClass, APPLICATION_ELEMENT__TAGS); + createEAttribute(applicationElementEClass, APPLICATION_ELEMENT__CONTRIBUTOR_URI); contributionEClass = createEClass(CONTRIBUTION); createEAttribute(contributionEClass, CONTRIBUTION__CONTRIBUTION_URI); @@ -1022,6 +1073,7 @@ public class ApplicationPackageImpl extends EPackageImpl { initEClass(applicationElementEClass, MApplicationElement.class, "ApplicationElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getApplicationElement_ElementId(), ecorePackage.getEString(), "elementId", null, 0, 1, MApplicationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getApplicationElement_Tags(), ecorePackage.getEString(), "tags", null, 0, -1, MApplicationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getApplicationElement_ContributorURI(), ecorePackage.getEString(), "contributorURI", null, 0, 1, MApplicationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(contributionEClass, MContribution.class, "Contribution", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getContribution_ContributionURI(), ecorePackage.getEString(), "contributionURI", null, 0, 1, MContribution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ @@ -1137,6 +1189,14 @@ public class ApplicationPackageImpl extends EPackageImpl { public static final EAttribute APPLICATION_ELEMENT__TAGS = eINSTANCE.getApplicationElement_Tags(); /** + * The meta object literal for the '<em><b>Contributor URI</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final EAttribute APPLICATION_ELEMENT__CONTRIBUTOR_URI = eINSTANCE.getApplicationElement_ContributorURI(); + + /** * The meta object literal for the '{@link org.eclipse.e4.ui.model.application.impl.ContributionImpl <em>Contribution</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedFactoryImpl.java index ff56b720653..5d70d48313f 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.ui.advanced.impl; +import org.eclipse.e4.ui.model.application.ui.advanced.*; import org.eclipse.e4.ui.model.application.ui.advanced.MAdvancedFactory; import org.eclipse.e4.ui.model.application.ui.advanced.MArea; import org.eclipse.e4.ui.model.application.ui.advanced.MPerspective; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedPackageImpl.java index f1cc91f088a..589fa847ff9 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/impl/AdvancedPackageImpl.java @@ -104,6 +104,15 @@ public class AdvancedPackageImpl extends EPackageImpl { public static final int PLACEHOLDER__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PLACEHOLDER__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -240,6 +249,15 @@ public class AdvancedPackageImpl extends EPackageImpl { public static final int PERSPECTIVE__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PERSPECTIVE__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -475,6 +493,15 @@ public class AdvancedPackageImpl extends EPackageImpl { public static final int PERSPECTIVE_STACK__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PERSPECTIVE_STACK__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -620,6 +647,15 @@ public class AdvancedPackageImpl extends EPackageImpl { public static final int AREA__TAGS = BasicPackageImpl.PART_SASH_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int AREA__CONTRIBUTOR_URI = BasicPackageImpl.PART_SASH_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedAdapterFactory.java index 864e5733356..c20849203b0 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedAdapterFactory.java @@ -17,6 +17,7 @@ import org.eclipse.e4.ui.model.application.ui.MGenericStack; import org.eclipse.e4.ui.model.application.ui.MGenericTile; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; +import org.eclipse.e4.ui.model.application.ui.advanced.*; import org.eclipse.e4.ui.model.application.ui.advanced.MArea; import org.eclipse.e4.ui.model.application.ui.advanced.MPerspective; import org.eclipse.e4.ui.model.application.ui.advanced.MPerspectiveStack; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedSwitch.java index 1de50b0659e..1fec99a6908 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/advanced/util/AdvancedSwitch.java @@ -18,6 +18,7 @@ import org.eclipse.e4.ui.model.application.ui.MGenericStack; import org.eclipse.e4.ui.model.application.ui.MGenericTile; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; +import org.eclipse.e4.ui.model.application.ui.advanced.*; import org.eclipse.e4.ui.model.application.ui.advanced.MArea; import org.eclipse.e4.ui.model.application.ui.advanced.MPerspective; import org.eclipse.e4.ui.model.application.ui.advanced.MPerspectiveStack; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicFactoryImpl.java index 41906347722..68ac102daca 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.ui.basic.impl; +import org.eclipse.e4.ui.model.application.ui.basic.*; import org.eclipse.e4.ui.model.application.ui.basic.MBasicFactory; import org.eclipse.e4.ui.model.application.ui.basic.MInputPart; import org.eclipse.e4.ui.model.application.ui.basic.MPart; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicPackageImpl.java index 832c67024ae..766fcd79866 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicPackageImpl.java @@ -212,6 +212,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int PART__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PART__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -500,6 +509,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int INPUT_PART__TAGS = PART__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int INPUT_PART__CONTRIBUTOR_URI = PART__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -797,6 +815,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int PART_STACK__TAGS = UiPackageImpl.GENERIC_STACK__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PART_STACK__CONTRIBUTOR_URI = UiPackageImpl.GENERIC_STACK__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -932,6 +959,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int PART_SASH_CONTAINER__TAGS = UiPackageImpl.GENERIC_TILE__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PART_SASH_CONTAINER__CONTRIBUTOR_URI = UiPackageImpl.GENERIC_TILE__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1076,6 +1112,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int WINDOW__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int WINDOW__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1373,6 +1418,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int TRIMMED_WINDOW__TAGS = WINDOW__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TRIMMED_WINDOW__CONTRIBUTOR_URI = WINDOW__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1679,6 +1733,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int TRIM_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TRIM_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1796,6 +1859,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int PART_SASH_CONTAINER_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int PART_SASH_CONTAINER_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1913,6 +1985,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int WINDOW_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int WINDOW_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2030,6 +2111,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int TRIM_BAR__TAGS = UiPackageImpl.GENERIC_TRIM_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TRIM_BAR__CONTRIBUTOR_URI = UiPackageImpl.GENERIC_TRIM_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2174,6 +2264,15 @@ public class BasicPackageImpl extends EPackageImpl { public static final int STACK_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int STACK_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicAdapterFactory.java index 38be161f36a..2aebf4fd701 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicAdapterFactory.java @@ -23,6 +23,7 @@ import org.eclipse.e4.ui.model.application.ui.MGenericTrimContainer; import org.eclipse.e4.ui.model.application.ui.MInput; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; +import org.eclipse.e4.ui.model.application.ui.basic.*; import org.eclipse.e4.ui.model.application.ui.basic.MInputPart; import org.eclipse.e4.ui.model.application.ui.basic.MPart; import org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainer; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java index 6dcb81aac55..16f7b1c04d6 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java @@ -24,6 +24,7 @@ import org.eclipse.e4.ui.model.application.ui.MGenericTrimContainer; import org.eclipse.e4.ui.model.application.ui.MInput; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; +import org.eclipse.e4.ui.model.application.ui.basic.*; import org.eclipse.e4.ui.model.application.ui.basic.MInputPart; import org.eclipse.e4.ui.model.application.ui.basic.MPart; import org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainer; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiFactoryImpl.java index 97c92c10dc4..f9d49346b53 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.ui.impl; +import org.eclipse.e4.ui.model.application.ui.*; import org.eclipse.e4.ui.model.application.ui.MCoreExpression; import org.eclipse.e4.ui.model.application.ui.MUiFactory; import org.eclipse.e4.ui.model.application.ui.SideValue; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiPackageImpl.java index ffeb649cafe..829fe623b47 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiPackageImpl.java @@ -217,6 +217,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int UI_ELEMENT__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int UI_ELEMENT__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -417,6 +426,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int ELEMENT_CONTAINER__TAGS = UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int ELEMENT_CONTAINER__CONTRIBUTOR_URI = UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -562,6 +580,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int GENERIC_STACK__TAGS = ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int GENERIC_STACK__CONTRIBUTOR_URI = ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -707,6 +734,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int GENERIC_TILE__TAGS = ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int GENERIC_TILE__CONTRIBUTOR_URI = ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -861,6 +897,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int GENERIC_TRIM_CONTAINER__TAGS = ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int GENERIC_TRIM_CONTAINER__CONTRIBUTOR_URI = ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1015,6 +1060,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int EXPRESSION__TAGS = ApplicationPackageImpl.APPLICATION_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int EXPRESSION__CONTRIBUTOR_URI = ApplicationPackageImpl.APPLICATION_ELEMENT__CONTRIBUTOR_URI; + + /** * The number of structural features of the '<em>Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1052,6 +1106,15 @@ public class UiPackageImpl extends EPackageImpl { public static final int CORE_EXPRESSION__TAGS = EXPRESSION__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int CORE_EXPRESSION__CONTRIBUTOR_URI = EXPRESSION__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Core Expression Id</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuFactoryImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuFactoryImpl.java index ba65a20564b..2eae3be6f00 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuFactoryImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuFactoryImpl.java @@ -10,6 +10,7 @@ */ package org.eclipse.e4.ui.model.application.ui.menu.impl; +import org.eclipse.e4.ui.model.application.ui.menu.*; import org.eclipse.e4.ui.model.application.ui.menu.ItemType; import org.eclipse.e4.ui.model.application.ui.menu.MDirectMenuItem; import org.eclipse.e4.ui.model.application.ui.menu.MDirectToolItem; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuPackageImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuPackageImpl.java index 627607b4c1b..ee21c4b0ad3 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuPackageImpl.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/impl/MenuPackageImpl.java @@ -131,6 +131,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int ITEM__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int ITEM__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -339,6 +348,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int HANDLED_ITEM__TAGS = ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int HANDLED_ITEM__CONTRIBUTOR_URI = ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -574,6 +592,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int MENU_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int MENU_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -764,6 +791,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int MENU_ITEM__TAGS = ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int MENU_ITEM__CONTRIBUTOR_URI = ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -981,6 +1017,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int MENU_SEPARATOR__TAGS = MENU_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int MENU_SEPARATOR__CONTRIBUTOR_URI = MENU_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1171,6 +1216,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int MENU__TAGS = MENU_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int MENU__CONTRIBUTOR_URI = MENU_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1388,6 +1442,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int MENU_CONTRIBUTION__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int MENU_CONTRIBUTION__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1551,6 +1614,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int POPUP_MENU__TAGS = MENU__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int POPUP_MENU__CONTRIBUTOR_URI = MENU__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1795,6 +1867,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int DIRECT_MENU_ITEM__TAGS = MENU_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int DIRECT_MENU_ITEM__CONTRIBUTOR_URI = MENU_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2039,6 +2120,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int HANDLED_MENU_ITEM__TAGS = MENU_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int HANDLED_MENU_ITEM__CONTRIBUTOR_URI = MENU_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2283,6 +2373,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_ITEM__TAGS = ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_ITEM__CONTRIBUTOR_URI = ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2500,6 +2599,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_BAR__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_BAR__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2645,6 +2753,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_BAR_ELEMENT__TAGS = UiPackageImpl.UI_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_BAR_ELEMENT__CONTRIBUTOR_URI = UiPackageImpl.UI_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2772,6 +2889,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_CONTROL__TAGS = TOOL_BAR_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_CONTROL__CONTRIBUTOR_URI = TOOL_BAR_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2926,6 +3052,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int HANDLED_TOOL_ITEM__TAGS = TOOL_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int HANDLED_TOOL_ITEM__CONTRIBUTOR_URI = TOOL_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3170,6 +3305,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int DIRECT_TOOL_ITEM__TAGS = TOOL_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int DIRECT_TOOL_ITEM__CONTRIBUTOR_URI = TOOL_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3414,6 +3558,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_BAR_SEPARATOR__TAGS = TOOL_BAR_ELEMENT__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_BAR_SEPARATOR__CONTRIBUTOR_URI = TOOL_BAR_ELEMENT__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3569,6 +3722,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int RENDERED_MENU__TAGS = MENU__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int RENDERED_MENU__CONTRIBUTOR_URI = MENU__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3795,6 +3957,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int RENDERED_TOOL_BAR__TAGS = TOOL_BAR__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int RENDERED_TOOL_BAR__CONTRIBUTOR_URI = TOOL_BAR__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3949,6 +4120,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TOOL_BAR_CONTRIBUTION__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TOOL_BAR_CONTRIBUTION__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -4140,6 +4320,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int TRIM_CONTRIBUTION__TAGS = UiPackageImpl.ELEMENT_CONTAINER__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int TRIM_CONTRIBUTION__CONTRIBUTOR_URI = UiPackageImpl.ELEMENT_CONTAINER__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -4331,6 +4520,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int RENDERED_MENU_ITEM__TAGS = MENU_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int RENDERED_MENU_ITEM__CONTRIBUTOR_URI = MENU_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -4557,6 +4755,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int OPAQUE_MENU_ITEM__TAGS = MENU_ITEM__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int OPAQUE_MENU_ITEM__CONTRIBUTOR_URI = MENU_ITEM__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -4783,6 +4990,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int OPAQUE_MENU_SEPARATOR__TAGS = MENU_SEPARATOR__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int OPAQUE_MENU_SEPARATOR__CONTRIBUTOR_URI = MENU_SEPARATOR__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -4982,6 +5198,15 @@ public class MenuPackageImpl extends EPackageImpl { public static final int OPAQUE_MENU__TAGS = MENU__TAGS; /** + * The feature id for the '<em><b>Contributor URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int OPAQUE_MENU__CONTRIBUTOR_URI = MENU__CONTRIBUTOR_URI; + + /** * The feature id for the '<em><b>Widget</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuAdapterFactory.java index 10a71e91cc1..777e2125f05 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuAdapterFactory.java @@ -17,6 +17,7 @@ import org.eclipse.e4.ui.model.application.ui.MElementContainer; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; import org.eclipse.e4.ui.model.application.ui.basic.MTrimElement; +import org.eclipse.e4.ui.model.application.ui.menu.*; import org.eclipse.e4.ui.model.application.ui.menu.MDirectMenuItem; import org.eclipse.e4.ui.model.application.ui.menu.MDirectToolItem; import org.eclipse.e4.ui.model.application.ui.menu.MHandledItem; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuSwitch.java index 76fd2500f3b..e47b04a6abd 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/menu/util/MenuSwitch.java @@ -18,6 +18,7 @@ import org.eclipse.e4.ui.model.application.ui.MElementContainer; import org.eclipse.e4.ui.model.application.ui.MUIElement; import org.eclipse.e4.ui.model.application.ui.MUILabel; import org.eclipse.e4.ui.model.application.ui.basic.MTrimElement; +import org.eclipse.e4.ui.model.application.ui.menu.*; import org.eclipse.e4.ui.model.application.ui.menu.MDirectMenuItem; import org.eclipse.e4.ui.model.application.ui.menu.MDirectToolItem; import org.eclipse.e4.ui.model.application.ui.menu.MHandledItem; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiAdapterFactory.java index d40f332e0a8..b565df7f4e0 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiAdapterFactory.java @@ -11,6 +11,7 @@ package org.eclipse.e4.ui.model.application.ui.util; import org.eclipse.e4.ui.model.application.MApplicationElement; +import org.eclipse.e4.ui.model.application.ui.*; import org.eclipse.e4.ui.model.application.ui.MContext; import org.eclipse.e4.ui.model.application.ui.MCoreExpression; import org.eclipse.e4.ui.model.application.ui.MDirtyable; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiSwitch.java index b2243cf04ea..8971cd64ce0 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/util/UiSwitch.java @@ -12,6 +12,7 @@ package org.eclipse.e4.ui.model.application.ui.util; import java.util.List; import org.eclipse.e4.ui.model.application.MApplicationElement; +import org.eclipse.e4.ui.model.application.ui.*; import org.eclipse.e4.ui.model.application.ui.MContext; import org.eclipse.e4.ui.model.application.ui.MCoreExpression; import org.eclipse.e4.ui.model.application.ui.MDirtyable; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationAdapterFactory.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationAdapterFactory.java index 3e800c78412..d180c481dc4 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationAdapterFactory.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationAdapterFactory.java @@ -11,6 +11,7 @@ package org.eclipse.e4.ui.model.application.util; import java.util.Map; +import org.eclipse.e4.ui.model.application.*; import org.eclipse.e4.ui.model.application.MAddon; import org.eclipse.e4.ui.model.application.MApplication; import org.eclipse.e4.ui.model.application.MApplicationElement; diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationSwitch.java index f1f47cbec09..c4a1465df4e 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationSwitch.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationSwitch.java @@ -12,6 +12,7 @@ package org.eclipse.e4.ui.model.application.util; import java.util.List; import java.util.Map; +import org.eclipse.e4.ui.model.application.*; import org.eclipse.e4.ui.model.application.MAddon; import org.eclipse.e4.ui.model.application.MApplication; import org.eclipse.e4.ui.model.application.MApplicationElement; |