org.eclipse.xtend.typesystem.emf.ui.actions
Class AbstractCoreModelTransformerAction

java.lang.Object
  extended by org.eclipse.xtend.typesystem.emf.ui.actions.AbstractCoreModelTransformerAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
Direct Known Subclasses:
AddAnnotationsAction

public abstract class AbstractCoreModelTransformerAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate


Field Summary
protected static java.lang.String ANNO_KEY
           
protected static java.lang.String ANNO_SOURCE
           
 
Constructor Summary
AbstractCoreModelTransformerAction()
          Constructor for Action1.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 void throwE(java.io.IOException e)
           
abstract  void transform(org.eclipse.emf.ecore.resource.Resource r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANNO_SOURCE

protected static final java.lang.String ANNO_SOURCE
See Also:
Constant Field Values

ANNO_KEY

protected static final java.lang.String ANNO_KEY
See Also:
Constant Field Values
Constructor Detail

AbstractCoreModelTransformerAction

public AbstractCoreModelTransformerAction()
Constructor for Action1.

Method Detail

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)

run

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

Specified by:
run in interface org.eclipse.ui.IActionDelegate

transform

public abstract void transform(org.eclipse.emf.ecore.resource.Resource r)

throwE

public void throwE(java.io.IOException e)

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