com.ibm.jdg2e.view.simplemodel.action
Class LocationsObjectAction

java.lang.Object
  extended bycom.ibm.jdg2e.view.simplemodel.action.LocationsObjectAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class LocationsObjectAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate

Action contributed to Location.


Constructor Summary
LocationsObjectAction()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Processes the selected Location by showing a dialog with content from the referenced object.
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          Saves a reference to the Location object in the viewer.
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationsObjectAction

public LocationsObjectAction()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Processes the selected Location by showing a dialog with content from the referenced object.

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

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Saves a reference to the Location object in the viewer.

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
(non-Javadoc)

Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
See Also:
IObjectActionDelegate.setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)