Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java26
1 files changed, 12 insertions, 14 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java b/plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java
index 85d0621e515..d935c5be12f 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.util.ui/src/org/eclipse/papyrus/emf/facet/util/ui/internal/exported/util/widget/command/AbstractCommandWidget.java
@@ -1,11 +1,11 @@
/**
* 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
@@ -22,16 +22,13 @@ import org.eclipse.swt.widgets.Composite;
/**
* This abstract class provides all the necessary methods for the creation of a
- * widget. The widget must return a {@link Command} (with the method
- * {@link #getCommand()}) that will be executed when the "ok" button of the
+ * widget. The widget must return a {@link Command} (with the method {@link #getCommand()}) that will be executed when the "ok" button of the
* dialog will be pressed.</p>
- *
+ *
* The widget have to get all the necessary properties for the creation of the
* element (with the command). To get all the properties, the widget have to add
- * all the subwidgets he needs for the edition of the command. Each subwidget
- * {@link AbstractWidget} will edit a specific property of the
- * {@link WidgetProperties}.
- *
+ * all the subwidgets he needs for the edition of the command. Each subwidget {@link AbstractWidget} will edit a specific property of the {@link WidgetProperties}.
+ *
* @since 0.3
*/
public abstract class AbstractCommandWidget extends AbstractWidget implements ICommandWidget {
@@ -39,20 +36,21 @@ public abstract class AbstractCommandWidget extends AbstractWidget implements IC
/**
* Constructor. Initialize the {@link IFacetCommandFactory} for the creation
* of the command.
- *
+ *
* @param parent
* the parent {@link AbstractDialog} of this widget.
* @param editingDomain
* the current editing domain.
* @param properties
- * The {@link WidgetProperties} provided by the
- * {@link AbstractMainDialog} that the widget had to edit.
+ * The {@link WidgetProperties} provided by the {@link AbstractMainDialog} that the widget had to edit.
*/
public AbstractCommandWidget(final Composite parent) {
super(parent);
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.papyrus.emf.facet.util.ui.internal.exported.util.widget.command.ICommandWidget#getCommand()
*/
public abstract Object getCommand();
@@ -72,7 +70,7 @@ public abstract class AbstractCommandWidget extends AbstractWidget implements IC
public abstract void onDialogValidation();
-
+
public <A> A adapt(final Class<A> adapterType) {
A result = null;
if (adapterType.isInstance(this)) {

Back to the top