From 937b734d57ce9d85b68624e2e8a05b09f2eb61d2 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Wed, 27 Nov 2013 09:48:06 -0500 Subject: bug 405612: [Model] TrimElement could be marked as interface Change-Id: I3f088debbe865a9c4083fbb9a5393836f651b235 --- .../org.eclipse.e4.ui.model.workbench/model/UIElements.ecore | 3 ++- .../eclipse/e4/ui/model/application/ui/basic/MTrimElement.java | 2 +- .../ui/model/application/ui/basic/impl/BasicPackageImpl.java | 10 +++++----- 3 files changed, 8 insertions(+), 7 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 8ce4f2ac94c..b294ca6d1c2 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore @@ -1044,7 +1044,8 @@ - +
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 628e73e3aa8..5bd54f410bb 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 @@ -26,7 +26,7 @@ import org.eclipse.e4.ui.model.application.ui.MUIElement; * * * - * @model abstract="true" + * @model interface="true" abstract="true" * @generated */ public interface MTrimElement extends MUIElement { 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 aad0445ab2d..84818a0a910 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 @@ -148,10 +148,10 @@ public class BasicPackageImpl extends EPackageImpl { public static final int TRIMMED_WINDOW = 6; /** - * The meta object id for the '{@link org.eclipse.e4.ui.model.application.ui.basic.impl.TrimElementImpl Trim Element}' class. + * The meta object id for the '{@link org.eclipse.e4.ui.model.application.ui.basic.MTrimElement Trim Element}' class. * * - * @see org.eclipse.e4.ui.model.application.ui.basic.impl.TrimElementImpl + * @see org.eclipse.e4.ui.model.application.ui.basic.MTrimElement * @see org.eclipse.e4.ui.model.application.ui.basic.impl.BasicPackageImpl#getTrimElement() * @generated */ @@ -4562,7 +4562,7 @@ public class BasicPackageImpl extends EPackageImpl { initEClass(trimmedWindowEClass, MTrimmedWindow.class, "TrimmedWindow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getTrimmedWindow_TrimBars(), this.getTrimBar(), null, "trimBars", null, 0, -1, MTrimmedWindow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEClass(trimElementEClass, MTrimElement.class, "TrimElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEClass(trimElementEClass, MTrimElement.class, "TrimElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass(partSashContainerElementEClass, MPartSashContainerElement.class, "PartSashContainerElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ @@ -4766,10 +4766,10 @@ public class BasicPackageImpl extends EPackageImpl { public static final EReference TRIMMED_WINDOW__TRIM_BARS = eINSTANCE.getTrimmedWindow_TrimBars(); /** - * The meta object literal for the '{@link org.eclipse.e4.ui.model.application.ui.basic.impl.TrimElementImpl Trim Element}' class. + * The meta object literal for the '{@link org.eclipse.e4.ui.model.application.ui.basic.MTrimElement Trim Element}' class. * * - * @see org.eclipse.e4.ui.model.application.ui.basic.impl.TrimElementImpl + * @see org.eclipse.e4.ui.model.application.ui.basic.MTrimElement * @see org.eclipse.e4.ui.model.application.ui.basic.impl.BasicPackageImpl#getTrimElement() * @generated */ -- cgit v1.2.3