java.lang.Objectcom.ibm.jdg2e.resources.programming.interact.ActionResourceAction
com.ibm.jdg2e.resources.programming.interact.ProcessResourceTree
Multi-headed action where the processing depends on invocation point as determined by the UI action that triggered the request. Processing paths include:
IWorkspaceRunnable.
Demonstrates the workspace get of a handle and existence checking with respect to the workspace and event management using a workspace runnable.
IFile,
IFolder,
IProject,
IMarker,
IResource,
IWorkspaceRoot,
IWorkspaceRunnable| Field Summary |
|---|
| Fields inherited from class com.ibm.jdg2e.resources.programming.interact.ActionResourceAction |
|---|
selection, traceEnabled |
| Constructor Summary | |
|---|---|
ProcessResourceTree()
ProcessResourceTree default constructor. |
|
| Method Summary | |
|---|---|
void |
init(org.eclipse.ui.IViewPart view)
Not used in this action - implemented per IViewActionDelegate interface. |
(package private) void |
listPathValues()
Produces a list of path values based on the selected resource. |
void |
run(org.eclipse.jface.action.IAction action)
Uses saved reference to selected project to call custom logic that processes the resource tree. |
(package private) void |
showProjectDetails()
Finds all projects in the workspace and produces a short list of project details (such as path location). |
| Methods inherited from class com.ibm.jdg2e.resources.programming.interact.ActionResourceAction |
|---|
resultError, resultInformation, selectionChanged, setActivePart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IActionDelegate |
|---|
selectionChanged |
| Constructor Detail |
public ProcessResourceTree()
| Method Detail |
public void init(org.eclipse.ui.IViewPart view)
IViewActionDelegate interface.
init in interface org.eclipse.ui.IViewActionDelegateIViewActionDelegate.init(IViewPart)void listPathValues()
public void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateaction - action proxy that handles the presentation portion of the
plugin actionIActionDelegate.run(IAction)void showProjectDetails()