diff options
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java')
-rw-r--r-- | plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java index 28c1206f169..1edb13a4257 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/papyrus/emf/facet/efacet/ui/internal/wizards/pages/AddAttributeInFacetWizardPage.java @@ -1,51 +1,51 @@ -/**
- * Copyright (c) 2011 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:
- * Nicolas Guyomar (Mia-Software) - Bug 349546 - EMF Facet facetSet editor
- */
-package org.eclipse.papyrus.emf.facet.efacet.ui.internal.wizards.pages;
-
-import java.util.Map;
-
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.papyrus.emf.facet.efacet.ui.internal.Messages;
-import org.eclipse.papyrus.emf.facet.efacet.ui.internal.composites.SelectETypeComposite.ETypeSelectionOptions;
-import org.eclipse.papyrus.emf.facet.efacet.ui.internal.exported.wizard.IQueryCreationPagePart;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-
-@Deprecated
-// TODO @Deprecated must be removed after a refactoring planed by https://bugs.eclipse.org/bugs/show_bug.cgi?id=364601
-public class AddAttributeInFacetWizardPage extends AbstractFacetWizardPage {
-
- public AddAttributeInFacetWizardPage(final ISelection selection, final EditingDomain editingDomain,
- final Map<String, IQueryCreationPagePart> queryTypeNameToWizardPage) {
- super(selection, editingDomain, queryTypeNameToWizardPage, ETypeSelectionOptions.EDATATYPE);
- setTitle(Messages.Add_an_Attribute);
- setDescription(Messages.Add_an_Attribute_desc);
- }
-
- public void createControl(final Composite parent) {
- final Composite container = new Composite(parent, SWT.NULL);
-
- GridLayout layout = new GridLayout();
- container.setLayout(layout);
- layout.numColumns = 1;
- layout.verticalSpacing = AbstractFacetWizardPage.VERTICAL_SPACING;
-
- showQueryTypeSelection(false);
-
- createControlParts(container);
- initializeTextContent(Messages.Facet, Messages.Attribute_name);
-
- setControl(container);
- }
-}
+/** + * Copyright (c) 2011 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: + * Nicolas Guyomar (Mia-Software) - Bug 349546 - EMF Facet facetSet editor + */ +package org.eclipse.papyrus.emf.facet.efacet.ui.internal.wizards.pages; + +import java.util.Map; + +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.papyrus.emf.facet.efacet.ui.internal.Messages; +import org.eclipse.papyrus.emf.facet.efacet.ui.internal.composites.SelectETypeComposite.ETypeSelectionOptions; +import org.eclipse.papyrus.emf.facet.efacet.ui.internal.exported.wizard.IQueryCreationPagePart; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; + +@Deprecated +// TODO @Deprecated must be removed after a refactoring planed by https://bugs.eclipse.org/bugs/show_bug.cgi?id=364601 +public class AddAttributeInFacetWizardPage extends AbstractFacetWizardPage { + + public AddAttributeInFacetWizardPage(final ISelection selection, final EditingDomain editingDomain, + final Map<String, IQueryCreationPagePart> queryTypeNameToWizardPage) { + super(selection, editingDomain, queryTypeNameToWizardPage, ETypeSelectionOptions.EDATATYPE); + setTitle(Messages.Add_an_Attribute); + setDescription(Messages.Add_an_Attribute_desc); + } + + public void createControl(final Composite parent) { + final Composite container = new Composite(parent, SWT.NULL); + + GridLayout layout = new GridLayout(); + container.setLayout(layout); + layout.numColumns = 1; + layout.verticalSpacing = AbstractFacetWizardPage.VERTICAL_SPACING; + + showQueryTypeSelection(false); + + createControlParts(container); + initializeTextContent(Messages.Facet, Messages.Attribute_name); + + setControl(container); + } +} |