Class SemanticElementsValidateAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.palladiosimulator.editors.sirius.custom.validation.SemanticElementsValidateAction
- All Implemented Interfaces:
IAction
This is mostly a copy of ValidateAction, except the method
getDSemanticDecorator(EObject, DiagramEditPart) has been changed to include
markers on the containers of semantic elements that do not have an own
representation element.
FIXME: needed only until https://bugs.eclipse.org/bugs/show_bug.cgi?id=447666 is fixed.
-
Field Summary
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
-
Constructor Summary
ConstructorDescriptionSemanticElementsValidateAction
(org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor workbenchPartDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
static void
runNonUIValidation
(org.eclipse.gmf.runtime.notation.View view) static void
runValidation
(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, org.eclipse.gmf.runtime.notation.View view) static void
runValidation
(org.eclipse.gmf.runtime.notation.View view) Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Field Details
-
VALIDATE_ACTION_KEY
- See Also:
-
-
Constructor Details
-
SemanticElementsValidateAction
public SemanticElementsValidateAction(org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor workbenchPartDescriptor)
-
-
Method Details
-
run
public void run() -
runValidation
public static void runValidation(org.eclipse.gmf.runtime.notation.View view) -
runNonUIValidation
public static void runNonUIValidation(org.eclipse.gmf.runtime.notation.View view) -
runValidation
public static void runValidation(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, org.eclipse.gmf.runtime.notation.View view)
-