EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ui.ecore.ui
Class AbstractPatternGeneratorHandler

java.lang.Object
  extended by AbstractHandler
      extended by org.eclipse.egf.pattern.ui.ecore.ui.AbstractPatternGeneratorHandler
Direct Known Subclasses:
GenerateEcoreHandler

public abstract class AbstractPatternGeneratorHandler
extends AbstractHandler

A command handler that retrieves the abstract pattern generator, and allows to execute a command.


Field Summary
protected static Logger __logger
          Log4j reference logger.
protected static String PATTERN_GENERATOR_EXTENSION_POINT_ID
          MDSoFa pattern generator extension point id.
 
Constructor Summary
AbstractPatternGeneratorHandler()
           
 
Method Summary
protected abstract  void doExecute(AbstractPatternGenerator generator_p)
          Do execute action for given abstract pattern generator.
 Object execute(ExecutionEvent executionEvent_p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__logger

protected static final Logger __logger
Log4j reference logger.


PATTERN_GENERATOR_EXTENSION_POINT_ID

protected static final String PATTERN_GENERATOR_EXTENSION_POINT_ID
MDSoFa pattern generator extension point id.

See Also:
Constant Field Values
Constructor Detail

AbstractPatternGeneratorHandler

public AbstractPatternGeneratorHandler()
Method Detail

execute

public Object execute(ExecutionEvent executionEvent_p)
               throws ExecutionException
Throws:
ExecutionException
See Also:
org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)

doExecute

protected abstract void doExecute(AbstractPatternGenerator generator_p)
Do execute action for given abstract pattern generator.

Parameters:
generator_p - A not null pattern generator.

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.