|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.actions.JxActionDelegate
org.jtool.jxplatform.actions.JxEditorActionDelegate
Performs an editor action.
| Field Summary | |
protected org.eclipse.core.resources.IFile |
file
A file resource underlying this editor. |
protected org.eclipse.ui.IEditorPart |
part
An editor target. |
protected JxProjectRepository |
repository
A project's repository that stores information about the Java-XML compilation unit of a source file. |
protected JxCompilationUnit |
unit
A Java-XML compilation unit that contains the XML document of a source file. |
| Fields inherited from class org.jtool.jxplatform.actions.JxActionDelegate |
selection |
| Constructor Summary | |
JxEditorActionDelegate()
Creates a new object. |
|
| Method Summary | |
void |
run(org.eclipse.jface.action.IAction action)
Creates an XML document from Java source file underlying this editor. |
void |
setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
Sets an active editor for the delegate. |
| Methods inherited from class org.jtool.jxplatform.actions.JxActionDelegate |
getFile, getShell, getShell, printMessage, printMessage, selectionChanged |
| 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 |
| Field Detail |
protected org.eclipse.ui.IEditorPart part
protected org.eclipse.core.resources.IFile file
protected JxProjectRepository repository
protected JxCompilationUnit unit
| Constructor Detail |
public JxEditorActionDelegate()
| Method Detail |
public void setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegateaction - An action triggered by the user.targetEditor - A new editor target.public void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateaction - An action triggered by the user.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||