pl.edu.agh.cast.schema.editor.action
Class DeleteActionDelegate

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

public class DeleteActionDelegate
extends EditorAction

Action for deleting selected elements from an editor.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class pl.edu.agh.cast.editor.action.EditorAction
log
 
Constructor Summary
DeleteActionDelegate()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          
 
Methods inherited from class pl.edu.agh.cast.editor.action.EditorAction
getEditor, setActiveEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteActionDelegate

public DeleteActionDelegate()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)

See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

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
Overrides:
selectionChanged in class EditorAction
See Also:
EditorAction.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.