Package org.adempiere.webui.action
Class Actions
java.lang.Object
org.adempiere.webui.action.Actions
Static methods to get
IAction
osgi service instance.- Author:
- hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IServiceHolder<IAction>
static String
getActionIconSclass
(String actionId) static org.zkoss.image.AImage
getActionImage
(String actionId) Image name: actionId+"24.png".
Get image from current theme or plugin resource.
For plugin resource, it will try the path /action/images/{theme}/{image name}, /action/images/default/{image name} and /action/images/{image name}.
-
Constructor Details
-
Actions
public Actions()
-
-
Method Details
-
getAction
- Parameters:
actionId
-- Returns:
IServiceHolder
-
getActionImage
Image name: actionId+"24.png".
Get image from current theme or plugin resource.
For plugin resource, it will try the path /action/images/{theme}/{image name}, /action/images/default/{image name} and /action/images/{image name}.- Parameters:
actionId
-- Returns:
AImage
-
getActionIconSclass
- Parameters:
actionId
-- Returns:
- font icon sclass
-