Class GeneratePatchesDelegate
- java.lang.Object
-
- org.eclipse.epsilon.eugenia.EugeniaActionDelegate
-
- org.eclipse.epsilon.eugenia.patches.GeneratePatchesDelegate
-
- All Implemented Interfaces:
org.eclipse.ui.IActionDelegate
,org.eclipse.ui.IObjectActionDelegate
public class GeneratePatchesDelegate extends EugeniaActionDelegate
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eugenia.EugeniaActionDelegate
clearConsole, gmfFileSet
-
-
Constructor Summary
Constructors Constructor Description GeneratePatchesDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEolModule
createCustomizationModule()
protected GmfFileSet
createGmfFileSetFromSelection(org.eclipse.core.resources.IResource selection)
String
getBuiltinTransformation()
String
getCustomizationTransformation()
List<IModel>
getModels()
EugeniaActionDelegateStep
getStep()
String
getTitle()
boolean
isApplicable()
void
refresh()
-
Methods inherited from class org.eclipse.epsilon.eugenia.EugeniaActionDelegate
createBuiltinModule, disposeModel, getExtraModels, getExtraVariables, getGmfFileSet, getSelectedFile, getSelection, isClearConsole, loadModel, preExecuteCustomisation, requiresUIThread, run, runImpl, selectionChanged, setActivePart, setClearConsole, setExtraModels, setSelection
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable()
- Overrides:
isApplicable
in classEugeniaActionDelegate
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classEugeniaActionDelegate
-
getStep
public EugeniaActionDelegateStep getStep()
- Specified by:
getStep
in classEugeniaActionDelegate
-
createGmfFileSetFromSelection
protected GmfFileSet createGmfFileSetFromSelection(org.eclipse.core.resources.IResource selection)
- Overrides:
createGmfFileSetFromSelection
in classEugeniaActionDelegate
-
getModels
public List<IModel> getModels() throws Exception
- Specified by:
getModels
in classEugeniaActionDelegate
- Throws:
Exception
-
getBuiltinTransformation
public String getBuiltinTransformation()
- Specified by:
getBuiltinTransformation
in classEugeniaActionDelegate
-
getCustomizationTransformation
public String getCustomizationTransformation()
- Specified by:
getCustomizationTransformation
in classEugeniaActionDelegate
-
createCustomizationModule
public IEolModule createCustomizationModule() throws EglRuntimeException
- Overrides:
createCustomizationModule
in classEugeniaActionDelegate
- Throws:
EglRuntimeException
-
refresh
public void refresh()
- Overrides:
refresh
in classEugeniaActionDelegate
-
-