fr.umlv.tatoo.cc.tools.generator
Class ToolsExtension

java.lang.Object
  extended by fr.umlv.tatoo.cc.tools.generator.ToolsExtension
All Implemented Interfaces:
Extension, SimpleExtension

public class ToolsExtension
extends Object
implements Extension


Constructor Summary
ToolsExtension()
           
 
Method Summary
 void execute(ExtensionBus bus, ExtensionBus.Context context)
          Called by the extension bus when all data keys registered by the current extension are available.
 void register(ExtensionBus.Registry registry)
          Called by the extention bus in order to register data key needed by the current extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolsExtension

public ToolsExtension()
Method Detail

register

public void register(ExtensionBus.Registry registry)
Description copied from interface: Extension
Called by the extention bus in order to register data key needed by the current extension. This method is called when the current extension is registered by the extension bus.

Specified by:
register in interface Extension
Parameters:
registry - the registry associated with the current extension allocated by the extension bus.
See Also:
ExtensionBus.Registry.register(fr.umlv.tatoo.cc.common.extension.ExtensionBus.DataKey[])

execute

public void execute(ExtensionBus bus,
                    ExtensionBus.Context context)
Description copied from interface: SimpleExtension
Called by the extension bus when all data keys registered by the current extension are available.

Specified by:
execute in interface SimpleExtension
Parameters:
bus - the bus on which the current extensiuon is registered
context - the bus context, all datas required by the current extension are available using the Context's method ExtensionBus.Context.getData(fr.umlv.tatoo.cc.common.extension.ExtensionBus.DataKey).