Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/exported/widget/IETypedElementWidget.java')
-rw-r--r--plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/exported/widget/IETypedElementWidget.java56
1 files changed, 56 insertions, 0 deletions
diff --git a/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/exported/widget/IETypedElementWidget.java b/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/exported/widget/IETypedElementWidget.java
new file mode 100644
index 00000000000..6c4a447c489
--- /dev/null
+++ b/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/exported/widget/IETypedElementWidget.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright (c) 2012 Mia-Software.
+ *
+ * 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:
+ * Alban Ménager (Soft-Maint) - Bug 387470 - [EFacet][Custom] Editors
+ * Grégoire Dupé (Mia-Software) - Bug 387470 - [EFacet][Custom] Editors
+ */
+package org.eclipse.emf.facet.efacet.sdk.ui.internal.exported.widget;
+
+import org.eclipse.emf.ecore.EClassifier;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.facet.util.emf.ui.internal.exported.wizard.ISelectETypeWizard;
+
+/**
+ * @noextend This interface is not intended to be extended by clients.
+ * @noimplement This interface is not intended to be implemented by clients.
+ */
+public interface IETypedElementWidget<C extends EObject, CW extends Object>
+ extends
+ IENamedElementWidget<C, CW> {
+
+ boolean isOrdered();
+
+ void setOrdered(boolean value);
+
+ boolean isUnique();
+
+ void setUnique(boolean value);
+
+ int getLowerBound();
+
+ void setLowerBound(int value);
+
+ int getUpperBound();
+
+ void setUpperBound(int value);
+
+ EClassifier getEType();
+
+ void setEType(EClassifier value);
+
+ /**
+ * Press the button to select the type.
+ */
+ ISelectETypeWizard<EClassifier> pressTypeButton();
+
+ /**
+ * @return the type of the element.
+ */
+ String getElementTypeName();
+}

Back to the top