Package org.adempiere.webui.action
Interface IAction
- All Known Implementing Classes:
ChangeStateAction
public interface IAction
Custom toolbar action provided through OSGi service. Implementation must be thread safe.
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddecorate(org.zkoss.zul.Toolbarbutton toolbarButton) Customize toolbar button like add style, client javascript,...voidExecute actiondefault StringGet font icon classdefault voidupdateToolbarCustomBtn(org.zkoss.zul.Toolbarbutton toolbarButton, IADTabpanel tabPanel, boolean changed, boolean readOnly) Customize detail toolbar button enable/disable based on current tab data status update
-
Method Details
-
execute
Execute action- Parameters:
target-
-
decorate
default void decorate(org.zkoss.zul.Toolbarbutton toolbarButton) Customize toolbar button like add style, client javascript,...- Parameters:
toolbarButton-
-
getIconSclass
Get font icon class- Returns:
- font icon class
-
updateToolbarCustomBtn
default void updateToolbarCustomBtn(org.zkoss.zul.Toolbarbutton toolbarButton, IADTabpanel tabPanel, boolean changed, boolean readOnly) Customize detail toolbar button enable/disable based on current tab data status update- Parameters:
toolbarButton-tabPanel-changed-readOnly-
-