org.eclipse.corona.container.project.ui.explorer.actions
Class ImportPCXActionDelegate
java.lang.Object
org.eclipse.corona.container.project.ui.explorer.actions.AbstractPCXActionDelegate
org.eclipse.corona.container.project.ui.explorer.actions.ImportPCXActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
public class ImportPCXActionDelegate
- extends AbstractPCXActionDelegate
- implements org.eclipse.ui.IObjectActionDelegate
The class imports a repository to workbench, in particular a workbench
project stored as repository in project container. Associated with
RepositoryDescriptor
object on UI. Run method invokes
fetchResource on repository adapter, if available. The adapter is responsible
for the actual operation.
- Author:
- cwpl-pkaczmar
- See Also:
ProjectContainerExplorerView
,
RepositoryDescriptor
Field Summary |
(package private) org.eclipse.ui.IWorkbenchPart |
targetPart
|
Method Summary |
void |
run(org.eclipse.jface.action.IAction action)
Invokes fetchResource on repository adapter if there exists one
implementing IUIRepositoryAdapter interface. |
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 |
targetPart
org.eclipse.ui.IWorkbenchPart targetPart
ImportPCXActionDelegate
public ImportPCXActionDelegate()
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart
in interface org.eclipse.ui.IObjectActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Invokes fetchResource on repository adapter if there exists one
implementing
IUIRepositoryAdapter
interface.
- 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