public abstract class AbstractCreateMatrixCommandHandler extends DefaultModuleCommandHandler
IMatrixWizardContributor
that only provides useful fields and their getters/setters.Constructor and Description |
---|
AbstractCreateMatrixCommandHandler() |
Modifier and Type | Method and Description |
---|---|
protected ExternProcessor |
createExternProcessor(IModule module,
java.lang.String implementationClassName)
Creates an
ExternProcessor to be used in a query definition or value definition. |
protected MatrixValueDefinition |
createMatrixValueDefinition(IModule module,
java.lang.String implementationClassName)
Creates a
MatrixValueDefinition to be used as matrix values definition. |
protected QueryDefinition |
createQueryDefinition(IModule module,
java.lang.String implementationClassName)
Creates a
QueryDefinition to be used as line, column or depth query. |
boolean |
isActiveFor(java.util.List<MObject> selectedElements,
IModule module)
The handler is active by default.
|
accept, findStereotypeFromSpec, getParameter, getParameters, getScopes, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
protected final QueryDefinition createQueryDefinition(IModule module, java.lang.String implementationClassName)
QueryDefinition
to be used as line, column or depth query.factory
- the model factory, to be obtained from the module.implementationClassName
- the query java implementation class name.protected final ExternProcessor createExternProcessor(IModule module, java.lang.String implementationClassName)
ExternProcessor
to be used in a query definition or value definition.factory
- the model factory, to be obtained from the module.implementationClassName
- the java implementation class name.protected final MatrixValueDefinition createMatrixValueDefinition(IModule module, java.lang.String implementationClassName)
MatrixValueDefinition
to be used as matrix values definition.factory
- the model factory, to be obtained from the module.implementationClassName
- the java implementation class name.public boolean isActiveFor(java.util.List<MObject> selectedElements, IModule module)
DefaultModuleCommandHandler
isActiveFor
in interface IModuleCommandHandler
isActiveFor
in class DefaultModuleCommandHandler
selectedElements
- Current selectionmodule
- Owner of the command