fr.umlv.tatoo.cc.common.extension
Interface SimpleExtension

All Known Subinterfaces:
Extension
All Known Implementing Classes:
LexerExtension, ParserExtension, SwitchLexerExtension, ToolsASTExtension, ToolsExtension

public interface SimpleExtension

Author:
Remi
See Also:
ExtensionBus.register(Extension), ExtensionBus.register(SimpleExtension, fr.umlv.tatoo.cc.common.extension.ExtensionBus.DataKey[])

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.
 

Method Detail

execute

void execute(ExtensionBus bus,
             ExtensionBus.Context context)
Called by the extension bus when all data keys registered by the current extension are available.

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