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/dialog/creation/AddAttributeInFacetDialog.java')
-rw-r--r--plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/dialog/creation/AddAttributeInFacetDialog.java66
1 files changed, 0 insertions, 66 deletions
diff --git a/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/dialog/creation/AddAttributeInFacetDialog.java b/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/dialog/creation/AddAttributeInFacetDialog.java
deleted file mode 100644
index 08f54888606..00000000000
--- a/plugins/facet/editor/org.eclipse.emf.facet.efacet.sdk.ui/src/org/eclipse/emf/facet/efacet/sdk/ui/internal/dialog/creation/AddAttributeInFacetDialog.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * 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.dialog.creation;
-
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.efacet.metamodel.v0_2_0.efacet.EFacetFactory;
-import org.eclipse.emf.facet.efacet.metamodel.v0_2_0.efacet.Facet;
-import org.eclipse.emf.facet.efacet.sdk.ui.internal.Messages;
-import org.eclipse.emf.facet.efacet.sdk.ui.internal.exported.widget.IEStructuralFeatureWidget;
-import org.eclipse.emf.facet.efacet.sdk.ui.internal.sync.generated.SynchronizedEStructuralFeatureWidget;
-import org.eclipse.emf.facet.efacet.sdk.ui.internal.widget.edition.EditFacetAttributeWidget;
-import org.eclipse.emf.facet.util.ui.utils.PropertyElement2;
-
-/**
- * Dialog for the edition of an attribute in a facet.
- */
-public class AddAttributeInFacetDialog extends
- AbstractEStructuralFeatureDialog<IEStructuralFeatureWidget> {
-
- /**
- * Constructor.
- *
- * @param selection
- * the selection in the model (ecore file).
- */
- public AddAttributeInFacetDialog(final Facet facet,
- final EditingDomain editingDomain) {
- super(null, editingDomain, new PropertyElement2<Facet>(false, facet));
- }
-
- @Override
- protected IEStructuralFeatureWidget createWidget() {
- final EditFacetAttributeWidget widget = new EditFacetAttributeWidget(
- this.getDialogComposite(),
- EFacetFactory.eINSTANCE.createFacetAttribute(),
- this.getEditingDomain(), this.getContainerProperty(),
- this.getNameProperty(), this.getLowerBdProperty(),
- this.getUpperBdProperty(), this.getTypeProperty(),
- this.getOrderedProperty(), this.getUniqueProperty(),
- this.getQueryProperty(), this.getVolatileProperty(),
- this.getChangeableroperty(), this.getDerivedroperty(),
- this.getTransientProperty());
- return new SynchronizedEStructuralFeatureWidget(widget,
- widget.getDisplay());
- }
-
- @Override
- protected String getDialogMessage() {
- return Messages.Add_an_Attribute_desc;
- }
-
- @Override
- protected String getDialogTitle() {
- return Messages.Add_an_Attribute;
- }
-}

Back to the top