org.eclipse.emf.mapping.ecore2ecore.action
Class MapToEcoreActionDelegate
java.lang.Object
org.eclipse.ui.actions.ActionDelegate
org.eclipse.emf.mapping.ecore2ecore.action.MapToEcoreActionDelegate
- All Implemented Interfaces:
- IActionDelegate, IActionDelegate2
public class MapToEcoreActionDelegate
- extends ActionDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapToEcoreActionDelegate
public MapToEcoreActionDelegate()
getInputEPackage
protected EPackage getInputEPackage(IStructuredSelection structuredSelection)
getFile
protected IFile getFile(Resource resource)
run
public void run(IAction action)
- Specified by:
run
in interface IActionDelegate
- Overrides:
run
in class ActionDelegate
createMappingRoot
protected static Ecore2EcoreMappingRoot createMappingRoot(EPackage inputEPackage,
EPackage outputEPackage)
selectionChanged
public void selectionChanged(IAction action,
ISelection selection)
- Specified by:
selectionChanged
in interface IActionDelegate
- Overrides:
selectionChanged
in class ActionDelegate