[Uml-devel] Re: Test xmi file for code generation

Luis De la Parra Blum lparrab at gmx.net
Mon May 12 17:54:02 UTC 2003


On Tuesday 13 May 2003 02:00, Jonathan Riddell wrote:
> But what happens if there is no code parser for a language but there
> is a code generator?

then you'd have an incomplete Language pluggin  =)

if(  plugin->supportsFeature( CodeGeneration ) )
      enableGeneration plugin->language() );
if( plugin->supportsFeature( CodeParsing ) )
      enableParsing( plugin->language() );
if(  plugin->supportsFeature( Primitives ) )
      loadLanguagePrimitives( );

luis




More information about the umbrello-devel mailing list