edu.cmu.archevol.diagram.part
Class ValidateAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by edu.cmu.archevol.diagram.part.ValidateAction
All Implemented Interfaces:
IAction

public class ValidateAction
extends Action


Field Summary
static String VALIDATE_ACTION_KEY
           
 
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
ValidateAction(org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor workbenchPartDescriptor)
           
 
Method Summary
static boolean isError()
           
 void 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, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Field Detail

VALIDATE_ACTION_KEY

public static final String VALIDATE_ACTION_KEY
See Also:
Constant Field Values
Constructor Detail

ValidateAction

public ValidateAction(org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor workbenchPartDescriptor)
Method Detail

run

public void run()
Specified by:
run in interface IAction
Overrides:
run in class Action

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)

isError

public static boolean isError()