|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.jface.action.AbstractAction org.eclipse.jface.action.Action org.eclipse.ocl.examples.emf.validation.validity.ui.actions.DebugValidityAction
public final class DebugValidityAction
DebugValidityAction activates ConstraintLOcator.debug() for an unambiguous validatable-node + constraining-node selection.
Field Summary | |
---|---|
protected org.eclipse.jface.viewers.ISelectionProvider |
selectionProvider
|
protected ValidityView |
validityView
|
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 | |
---|---|
DebugValidityAction(ValidityView validityView,
org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
|
Method Summary | |
---|---|
protected java.util.List<ResultConstrainingNode> |
getEnabledResultConstrainingNodes(ConstrainingNode constrainingNode)
Return all enabled result constraining nodes at and below constrainingNode. |
protected java.util.List<ResultValidatableNode> |
getEnabledResultValidatableNodes(ValidatableNode validatableNode)
Return all enabled result validatable nodes at and below validatableNode. |
void |
run()
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull protected final ValidityView validityView
@NonNull protected final org.eclipse.jface.viewers.ISelectionProvider selectionProvider
Constructor Detail |
---|
public DebugValidityAction(@NonNull ValidityView validityView, @NonNull org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
Method Detail |
---|
@NonNull protected java.util.List<ResultConstrainingNode> getEnabledResultConstrainingNodes(@NonNull ConstrainingNode constrainingNode)
@NonNull protected java.util.List<ResultValidatableNode> getEnabledResultValidatableNodes(@NonNull ValidatableNode validatableNode)
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |