org.eclipse.mtl.engine.event
Interface MTLTextGenerationListener


public interface MTLTextGenerationListener

Instances of this listener will be notified whenever text is generated from an MTL Block.


Method Summary
 void filePathComputed(MTLTextGenerationEvent event)
          This will be called by the engine whenever a path has been calculated for a file block.
 void textGenerated(MTLTextGenerationEvent event)
          This will be called whenever text is generated from an MTL Block.
 

Method Detail

textGenerated

void textGenerated(MTLTextGenerationEvent event)
This will be called whenever text is generated from an MTL Block.

Parameters:
event - This will hold information on the generation details.

filePathComputed

void filePathComputed(MTLTextGenerationEvent event)
This will be called by the engine whenever a path has been calculated for a file block. In essence, it tells registered listener that a given source EObject will generate a file at the given path. Path can be retrieved as the text from the event.

Parameters:
event - This will hold information on the generation details.

Copyright 2008 Obeo
All Rights Reserved.