org.sintef.mofscript.editor
Class MofScriptPopupActionDelegate

java.lang.Object
  extended by org.sintef.mofscript.editor.MofScriptPopupActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate

public class MofScriptPopupActionDelegate
extends java.lang.Object
implements org.eclipse.ui.IEditorActionDelegate

Author:
jol

Constructor Summary
MofScriptPopupActionDelegate()
           
 
Method Summary
protected  void execute()
           
 void run(org.eclipse.jface.action.IAction action)
          Executes the popup action
 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 targetEd)
           
protected  void storeModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MofScriptPopupActionDelegate

public MofScriptPopupActionDelegate()
Method Detail

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
Parameters:
action -
selection -

setActiveEditor

public void setActiveEditor(org.eclipse.jface.action.IAction action,
                            org.eclipse.ui.IEditorPart targetEd)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegate
Parameters:
action -
targetEd -

run

public void run(org.eclipse.jface.action.IAction action)
Executes the popup action

Specified by:
run in interface org.eclipse.ui.IActionDelegate
Parameters:
action -

execute

protected void execute()

storeModel

protected void storeModel()