org.eclipse.corona.container.project.ui.explorer.actions
Class ClosePCXActionDelegate
java.lang.Object
org.eclipse.corona.container.project.ui.explorer.actions.AbstractPCXActionDelegate
org.eclipse.corona.container.project.ui.explorer.actions.ClosePCXActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate
public class ClosePCXActionDelegate
- extends AbstractPCXActionDelegate
- implements org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IObjectActionDelegate
Action delegate for interface action of closing project container or
workbench project. The project to close is determined by examining the class
of selection element. Action is enabled or disabled depending on the status
of project: opened or closed.
- Author:
- cwpl-pkaczmar
Field Summary |
(package private) org.eclipse.ui.IViewPart |
view
|
Method Summary |
void |
init(org.eclipse.ui.IViewPart view)
|
void |
run(org.eclipse.jface.action.IAction action)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
void |
setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
view
org.eclipse.ui.IViewPart view
ClosePCXActionDelegate
public ClosePCXActionDelegate()
init
public void init(org.eclipse.ui.IViewPart view)
- Specified by:
init
in interface org.eclipse.ui.IViewActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
run
in interface org.eclipse.ui.IActionDelegate
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interface org.eclipse.ui.IActionDelegate
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart
in interface org.eclipse.ui.IObjectActionDelegate