Heng Sin Low 2009-05-28 02:45:27 +00:00
parent 93a4e0fb80
commit 9957873396
1 changed files with 20 additions and 0 deletions

View File

@ -1859,10 +1859,30 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
{
if (event.getSource() instanceof WButtonEditor)
{
statusBar.setStatusLine(processButtonCallout((WButtonEditor)event.getSource()), true);
actionButton((WButtonEditor)event.getSource());
}
}
/**************************************************************************
* Process Callout(s).
* <p>
* The Callout is in the string of
* "class.method;class.method;"
* If there is no class name, i.e. only a method name, the class is regarded
* as CalloutSystem.
* The class needs to comply with the Interface Callout.
*
* @param field field
* @return error message or ""
* @see org.compiere.model.Callout
*/
private String processButtonCallout (WButtonEditor button)
{
GridField field = curTab.getField(button.getColumnName());
return curTab.processCallout(field);
} // processButtonCallout
/**
*
* @return IADTab