java.lang.Objectcom.ibm.jdg2e.view.files.popup.actions.OpenFileView
Action to open additional instances of the FileView
part. This allows for unique lists of file content as well as
views that are managed differently in other perspectives.
| Constructor Summary | |
|---|---|
OpenFileView()
Constructor for OpenFileView. |
|
| Method Summary | |
|---|---|
void |
run(org.eclipse.jface.action.IAction action)
Obtains an IContainer reference from the selection. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Save selection for use in run if invoked. |
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 |
| Constructor Detail |
public OpenFileView()
| Method Detail |
public void run(org.eclipse.jface.action.IAction action)
IContainer reference from the selection.
Extension for this pop-up restricts this action to objects than
can adapt to IContainer objects. But if the selection
contains something that is not already an IContainer then
the reference must be converted to an IContainer.
run in interface org.eclipse.ui.IActionDelegateIActionDelegate.run(IAction)
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
run if invoked.
selectionChanged in interface org.eclipse.ui.IActionDelegateIActionDelegate.selectionChanged(IAction, ISelection)
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
setActivePart in interface org.eclipse.ui.IObjectActionDelegateIObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)