org.objectweb.dolphin.actions
Class ChangeWorkspaceAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended byorg.objectweb.dolphin.actions.ChangeWorkspaceAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ChangeWorkspaceAction
extends org.eclipse.jface.action.Action

Class who implements the action for changing the Dolphin workspace

Author:
Bourgeon Jérôme, Macherel Bruno

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
ChangeWorkspaceAction(org.eclipse.ui.IWorkbenchWindow window)
          Constructor
 
Method Summary
 void dispose()
          Dispose the window
 void init(org.eclipse.ui.IWorkbenchWindow window)
          Initialize the class
 void run()
           
 void run(org.eclipse.jface.action.IAction action)
          run the the action for cchanging the workspace
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeWorkspaceAction

public ChangeWorkspaceAction(org.eclipse.ui.IWorkbenchWindow window)
Constructor

Parameters:
window -
Method Detail

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Initialize the class

Parameters:
window -

dispose

public void dispose()
Dispose the window


run

public void run(org.eclipse.jface.action.IAction action)
run the the action for cchanging the workspace

Parameters:
action -

run

public void run()