button.setUseMediumActionIcon(true);
return button;
}
private KongaButton createFormulaButton() {
KongaButton button = new KongaButton(ClientIcons.FORMULA_24);
ButtonUtils.configureButtonForToolBar(button);
button.setUseMediumActionIcon(true);
button.setToolTipText("Select Target data element to create formula");
button.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Node target=m_targetTreeComponent.m_highLightedNode;
if(target!=null && !target.mapDisabled()){
doMap(target, true);
}
}
});
button.setEnabled(false);
return button;
}