pl.edu.agh.cast.backward.editor.action
Class EditorAction
java.lang.Object
pl.edu.agh.cast.backward.editor.action.EditorAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate
- Direct Known Subclasses:
- DeleteActionDelegate, EnhanceNodesAction, FindAction, PasteAction, SelectAllActionDelegate
public abstract class EditorAction
- extends Object
- implements org.eclipse.ui.IEditorActionDelegate
Default implementation of editor actions.
- Author:
- AGH CAST Team
Field Summary |
protected static org.apache.log4j.Logger |
log
Logger. |
Method Summary |
protected org.eclipse.ui.IEditorPart |
getEditor()
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
void |
setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
|
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 |
log
protected static org.apache.log4j.Logger log
- Logger.
EditorAction
public EditorAction()
setActiveEditor
public void setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
-
- Specified by:
setActiveEditor
in interface org.eclipse.ui.IEditorActionDelegate
- See Also:
IEditorActionDelegate.setActiveEditor(org.eclipse.jface.action.IAction,
org.eclipse.ui.IEditorPart)
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)
getEditor
protected org.eclipse.ui.IEditorPart getEditor()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.