org.eclipse.emf.ecp.view.editor.controls
Class AbstractFilteredReferenceCommand<T extends org.eclipse.emf.ecore.EStructuralFeature>
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.ChangeCommand
org.eclipse.emf.ecp.view.editor.controls.AbstractFilteredReferenceCommand<T>
- Type Parameters:
T
- type of the EStructuralFeature
which can be selected
- All Implemented Interfaces:
- org.eclipse.emf.common.command.Command
public abstract class AbstractFilteredReferenceCommand<T extends org.eclipse.emf.ecore.EStructuralFeature>
- extends org.eclipse.emf.edit.command.ChangeCommand
A ReferenceCommand allowing to select an EStructuralFeature
using a dialog.
- Author:
- Eugen Neufeld
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Constructor Summary |
AbstractFilteredReferenceCommand(org.eclipse.emf.common.notify.Notifier notifier,
org.eclipse.emf.edit.provider.ComposedAdapterFactory composedAdapterFactory,
org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EClass rootClass,
org.eclipse.emf.ecp.view.editor.controls.AbstractFilteredReferenceCommand.ECPSelectionStatusValidator validator,
boolean allowMultiReferences)
Constructor for the AbstractFilteredReferenceCommand. |
Methods inherited from class org.eclipse.emf.edit.command.ChangeCommand |
dispose, execute, getChangeRecorder, redo, undo |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
canExecute, canUndo, chain, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString |
AbstractFilteredReferenceCommand
public AbstractFilteredReferenceCommand(org.eclipse.emf.common.notify.Notifier notifier,
org.eclipse.emf.edit.provider.ComposedAdapterFactory composedAdapterFactory,
org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EClass rootClass,
org.eclipse.emf.ecp.view.editor.controls.AbstractFilteredReferenceCommand.ECPSelectionStatusValidator validator,
boolean allowMultiReferences)
- Constructor for the AbstractFilteredReferenceCommand.
- Parameters:
notifier
- the Notifier for the ChangeCommand
composedAdapterFactory
- the ComposedAdapterFactory
for the LabelProvidershell
- the Shell
to use in the dialogrootClass
- the EClass
which is the root of the viewvalidator
- the ECPSelectionStatusValidator
to use when a selection was doneallowMultiReferences
- whether multi references are allowed during the selection
Copyright © 2014. All Rights Reserved.