archimate.actions
Class Validate

java.lang.Object
  extended by org.eclipse.ui.actions.ActionDelegate
      extended by archimate.actions.ArchiMateAction
          extended by archimate.actions.Validate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class Validate
extends ArchiMateAction

Our sample action implements workbench action delegate. The action proxy will be created by the workbench and shown in the UI. When the user tries to use the action, this delegate will be created and execution will be delegated to it.

See Also:
IWorkbenchWindowActionDelegate

Constructor Summary
Validate()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          The action has been activated.
 
Methods inherited from class archimate.actions.ArchiMateAction
dispose, getWindow, init, init, selectionChanged, setActiveEditor, setActiveWorkbenchPart
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
runWithEvent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validate

public Validate()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
The action has been activated. The argument of the method represents the 'real' action sitting in the workbench UI.

Specified by:
run in interface org.eclipse.ui.IActionDelegate
Overrides:
run in class ArchiMateAction
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)