de.uni_paderborn.fujaba.gui
Interface TemplateBlockNameListener


public interface TemplateBlockNameListener

TemplateBlockListeners can alter a for a template block by implementing the method getTemplateBlockName.

Version:
$Revision: 1.5 $
Author:
$Author: schneider $

Method Summary
 java.lang.String getTemplateBlockName(java.lang.String blockName, FClass cls, FAttr attr)
          A TemplateBlockNameListener can alter a name for a template block by implementing this method (e.g. append a suffix).
 

Method Detail

getTemplateBlockName

public java.lang.String getTemplateBlockName(java.lang.String blockName,
                                             FClass cls,
                                             FAttr attr)
A TemplateBlockNameListener can alter a name for a template block by implementing this method (e.g. append a suffix). All block names for associations are passed through this method.

Parameters:
blockName - the current name of the template block to be aquired
cls - class that has the association/attribute
attr - attribute of the association
Returns:
the altered name of the template block