org.eclipse.emf.codegen.ecore.genmodel.presentation
Class GenModelActionBarContributor.GenerateAction
org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelActionBarContributor.GenerateAction
- Enclosing class:
- GenModelActionBarContributor
- protected abstract class GenModelActionBarContributor.GenerateAction
This is a base class for the "Generate..." actions.
GenModelActionBarContributor.GenerateAction
public GenModelActionBarContributor.GenerateAction(java.lang.String text)
canGenerate
protected abstract boolean canGenerate(GenBase genObject)
generate
protected abstract void generate(GenBase genObject,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
isEnabled
public boolean isEnabled()
run
public void run()