fr.umlv.tatoo.cc.tools.generator
Class ToolsExtension
java.lang.Object
fr.umlv.tatoo.cc.tools.generator.ToolsExtension
- All Implemented Interfaces:
- Extension, SimpleExtension
public class ToolsExtension
- extends Object
- implements Extension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolsExtension
public ToolsExtension()
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 registeredcontext
- 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)
.