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.


Constructor Summary
GenModelActionBarContributor.GenerateAction(java.lang.String text)
           
 
Method Summary
protected abstract  boolean canGenerate(GenBase genObject)
           
protected abstract  void generate(GenBase genObject, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 boolean isEnabled()
           
 void run()
           
 

Constructor Detail

GenModelActionBarContributor.GenerateAction

public GenModelActionBarContributor.GenerateAction(java.lang.String text)
Method Detail

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()

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.