com.aptana.ide.debug.internal.ui.actions
Class ObjectActionDelegate
java.lang.Object
com.aptana.ide.debug.internal.ui.actions.ObjectActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
- Direct Known Subclasses:
- EditDetailFormatterAction, NewDetailFormatterAction, RemoveDetailFormatterAction
public abstract class ObjectActionDelegate
- extends java.lang.Object
- implements org.eclipse.ui.IObjectActionDelegate
- Author:
- Max Stepanov
|
Method Summary |
protected org.eclipse.jface.viewers.IStructuredSelection |
getCurrentSelection()
getCurrentSelection |
protected void |
refreshCurrentSelection()
refreshCurrentSelection |
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 |
| Methods inherited from interface org.eclipse.ui.IActionDelegate |
run |
ObjectActionDelegate
public ObjectActionDelegate()
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
- See Also:
IObjectActionDelegate.setActivePart(org.eclipse.jface.action.IAction,
org.eclipse.ui.IWorkbenchPart)
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
- See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction,
org.eclipse.jface.viewers.ISelection)
getCurrentSelection
protected org.eclipse.jface.viewers.IStructuredSelection getCurrentSelection()
- getCurrentSelection
- Returns:
- IStructuredSelection
refreshCurrentSelection
protected void refreshCurrentSelection()
- refreshCurrentSelection