public class ChessGenericValidateCommand
extends org.eclipse.papyrus.infra.services.validation.commands.AbstractValidateCommand
AbstractValidateCommand
Modifier and Type | Field and Description |
---|---|
java.util.Collection<java.lang.String> |
pluginIds
The plugin ids.
|
Constructor and Description |
---|
ChessGenericValidateCommand(java.lang.String label,
java.util.Collection<java.lang.String> pluginIds,
org.eclipse.emf.ecore.EObject selectedElement)
Instantiates a new ChessGenericValidateCommand.
|
ChessGenericValidateCommand(java.lang.String label,
java.lang.String pluginId,
org.eclipse.emf.ecore.EObject selectedElement)
Instantiates a new ChessGenericValidateCommand.
|
Modifier and Type | Method and Description |
---|---|
void |
executeCommand(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info)
Executes this command invoking the execute(IProgressMonitor, IAdaptable) from the parent-class
|
boolean |
getMarkers()
Returns true if the model validation highlighted at least one problem, false otherwise.
|
canExecute, disableUIFeedback, getDiagnostic
compose, getAffectedFiles, getCommandResult, internalSetResult, reduce
canRedo, canSetOptions, canUndo, dispose, execute, getEditingDomain, getOptions, isReuseParentTransaction, redo, setOptions, setReuseParentTransaction, undo
addContext, getContexts, getLabel, hasContext, removeContext, setLabel, toString
public ChessGenericValidateCommand(java.lang.String label, java.lang.String pluginId, org.eclipse.emf.ecore.EObject selectedElement)
label
- the labelpluginId
- the plugin idselectedElement
- the selected elementpublic ChessGenericValidateCommand(java.lang.String label, java.util.Collection<java.lang.String> pluginIds, org.eclipse.emf.ecore.EObject selectedElement)
label
- the labelpluginIds
- the list of plugin idsselectedElement
- the selected elementpublic boolean getMarkers()
public final void executeCommand(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
monitor
- info
- org.eclipse.core.commands.ExecutionException
AbstractEMFOperation.execute(IProgressMonitor, IAdaptable)