diff options
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java')
-rw-r--r-- | plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java index dce4cbef0f2..6da198f0ad5 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/handler/edition/EditFacetOperationParameterHandler.java @@ -1,33 +1,33 @@ -/**
- * 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
- */
-package org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition;
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.emf.ecore.EParameter;
-import org.eclipse.papyrus.emf.facet.efacet.sdk.ui.dialog.IFacetDialogFactory;
-import org.eclipse.papyrus.emf.facet.util.ui.internal.exported.util.handler.AbstractSelectionExpectedTypeHandler;
-
-/**
- * Handler for the edition of a {@link EParameter}
- */
-public class EditFacetOperationParameterHandler extends AbstractSelectionExpectedTypeHandler {
-
- @Override
- protected Class<?> getSelectionExpectedType() {
- return EParameter.class;
- }
-
- public Object execute(final ExecutionEvent event) {
- return IFacetDialogFactory.INSTANCE
- .openEditFacetOperationParameterDialog();
- }
-}
+/** + * 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 + */ +package org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition; + +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.emf.ecore.EParameter; +import org.eclipse.papyrus.emf.facet.efacet.sdk.ui.dialog.IFacetDialogFactory; +import org.eclipse.papyrus.emf.facet.util.ui.internal.exported.util.handler.AbstractSelectionExpectedTypeHandler; + +/** + * Handler for the edition of a {@link EParameter} + */ +public class EditFacetOperationParameterHandler extends AbstractSelectionExpectedTypeHandler { + + @Override + protected Class<?> getSelectionExpectedType() { + return EParameter.class; + } + + public Object execute(final ExecutionEvent event) { + return IFacetDialogFactory.INSTANCE + .openEditFacetOperationParameterDialog(); + } +} |