public class BasicCheckValidationAction
extends org.eclipse.ui.actions.BaseSelectionListenerAction
ePackage
of the input object, the action retrieves the check validator -if any- from the validation registry
singleton. Then, whether the validator has an associated check catalog or not, the user is invited to select the set
of constraint categories to verify. To launch a validation, the standard
diagnostician
is used. Finally the marker
service
is used to display the error markers
on the problems view and the check validation view.Modifier | Constructor and Description |
---|---|
|
BasicCheckValidationAction() |
protected |
BasicCheckValidationAction(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
protected BasicCheckValidationOperation |
createCheckValidationOperation(java.util.List<java.lang.Object> modelObjects,
java.util.Map<java.lang.Object,java.lang.Object> options) |
protected org.eclipse.jface.viewers.IStructuredContentProvider |
createContentProvider() |
protected org.eclipse.jface.viewers.ILabelProvider |
createLabelProvider() |
protected org.eclipse.core.runtime.jobs.Job |
createWorkspaceOperationJob(ILabeledWorkspaceRunnable operation) |
protected boolean |
existsValidator() |
protected java.util.List<java.lang.Object> |
getModelObjects() |
protected java.util.List<java.lang.Object> |
getModelObjects(java.lang.Object object) |
java.lang.String |
getOperationName() |
boolean |
isRunInBackground() |
void |
run() |
void |
setRunInBackground(boolean runInBackground) |
protected boolean |
updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection) |
clearCache, getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
public BasicCheckValidationAction()
protected BasicCheckValidationAction(java.lang.String text)
public boolean isRunInBackground()
public void setRunInBackground(boolean runInBackground)
protected boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
updateSelection
in class org.eclipse.ui.actions.BaseSelectionListenerAction
protected boolean existsValidator()
protected java.util.List<java.lang.Object> getModelObjects()
protected java.util.List<java.lang.Object> getModelObjects(java.lang.Object object)
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
protected org.eclipse.core.runtime.jobs.Job createWorkspaceOperationJob(ILabeledWorkspaceRunnable operation)
protected BasicCheckValidationOperation createCheckValidationOperation(java.util.List<java.lang.Object> modelObjects, java.util.Map<java.lang.Object,java.lang.Object> options)
public java.lang.String getOperationName()
protected org.eclipse.jface.viewers.ILabelProvider createLabelProvider()
protected org.eclipse.jface.viewers.IStructuredContentProvider createContentProvider()