|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.actions.JxActionDelegate
The implementation of an interface for actions contributed via an extension point.
| Field Summary | |
protected org.eclipse.jface.viewers.ISelection |
selection
A selection underlying this editor. |
| Constructor Summary | |
protected |
JxActionDelegate()
Creates an empty object. |
| Method Summary | |
protected org.eclipse.core.resources.IFile |
getFile(org.eclipse.ui.IEditorPart part)
Returns a file resource underlying this editor. |
protected org.eclipse.swt.widgets.Shell |
getShell(org.eclipse.ui.IEditorPart part)
Returns a shell in which this editor site resides. |
protected org.eclipse.swt.widgets.Shell |
getShell(org.eclipse.ui.IWorkbenchPart part)
Returns a shell in which this editor site resides. |
protected void |
printMessage(org.eclipse.ui.IEditorPart part,
java.lang.String msg)
Displays a message on a dialog for this editor. |
protected void |
printMessage(org.eclipse.ui.IWorkbenchPart part,
java.lang.String msg)
Displays a message on a dialog for this editor. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Notifies a given action delegate that the selection in the workbench has changed. |
| 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 |
| Field Detail |
protected org.eclipse.jface.viewers.ISelection selection
| Constructor Detail |
protected JxActionDelegate()
| Method Detail |
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegateaction - An action triggered by the user.selection - A current selection, or null if no selection is found.protected org.eclipse.core.resources.IFile getFile(org.eclipse.ui.IEditorPart part)
part - An editor.
protected org.eclipse.swt.widgets.Shell getShell(org.eclipse.ui.IEditorPart part)
part - An editor.
protected org.eclipse.swt.widgets.Shell getShell(org.eclipse.ui.IWorkbenchPart part)
part - A workbench.
protected void printMessage(org.eclipse.ui.IEditorPart part,
java.lang.String msg)
part - An editor.msg - The message.
protected void printMessage(org.eclipse.ui.IWorkbenchPart part,
java.lang.String msg)
part - A workbench.msg - The message.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||