this.labelFunctionResult = labelFunction.evaluate( this.functionContext );
this.labelFunctionResult.attach
(
new Listener()
{
@Override
public void handle( final Event event )
{
broadcast( new LabelChangedEvent() );
}
}
);
final Function toolTipFunction = FailSafeFunction.create( def.getToolTip().content(), Literal.create( String.class ) );
this.toolTipFunctionResult = toolTipFunction.evaluate( this.functionContext );
this.toolTipFunctionResult.attach
(
new Listener()
{
@Override
public void handle( final Event event )
{
broadcast( new ToolTipChangedEvent() );