pl.edu.agh.cast.editor.action
Class EditorAction

java.lang.Object
  extended by pl.edu.agh.cast.editor.action.EditorAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate
Direct Known Subclasses:
DeleteActionDelegate

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.
 
Constructor Summary
EditorAction()
           
 
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
 

Field Detail

log

protected static org.apache.log4j.Logger log
Logger.

Constructor Detail

EditorAction

public EditorAction()
Method Detail

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.