Class Actions

java.lang.Object
org.adempiere.webui.action.Actions

public class Actions extends Object
Static methods to get IAction osgi service instance.
Author:
hengsin
  • Constructor Details

    • Actions

      public Actions()
  • Method Details

    • getAction

      public static IServiceHolder<IAction> getAction(String actionId)
      Parameters:
      actionId -
      Returns:
      IServiceHolder
    • getActionImage

      public 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}.
      Parameters:
      actionId -
      Returns:
      AImage
    • getActionIconSclass

      public static String getActionIconSclass(String actionId)
      Parameters:
      actionId -
      Returns:
      font icon sclass