java.lang.Object
net.sf.basedb.clients.web.extensions.toolbar.ToolbarUtil

public class ToolbarUtil extends Object
Utility class for toolbar extension points.
Version:
2.12
Author:
Nicklas
Last modified
$Date: 2019-02-26 11:10:15 +0100 (tis, 26 feb. 2019) $
  • Field Details

    • TOOLBAR_ITEMS

      public static final Item[] TOOLBAR_ITEMS
      An array containing all items that we are registering an extension point for. The extension point id for an item is constructed as: EP_PREFIX[0/1] + Item.name().toLowerCase().
    • EP_PREFIX

      public static String[] EP_PREFIX
      ID prefixes for toolbar extension point. EP_PREFIX[0] = list pages; EP_PREFIX[1] = single-item pages
    • LIST

      public static final int LIST
      See Also:
    • ITEM

      public static final int ITEM
      See Also:
    • EP_ALL

      public static String[] EP_ALL
      ID:s for the toolbar extension point that appear on all pages. EP_ALL[0] = list pages; EP_ALL[1] = single-item pages
    • EP_OWNABLE

      public static String[] EP_OWNABLE
      ID:s for the toolbar extension point that appear on all pages that displays Ownable items. EP_OWNABLE[0] = list pages; EP_OWNABLE[1] = single-item pages
    • EP_SHAREABLE

      public static String[] EP_SHAREABLE
      ID:s for the toolbar extension point that appear on all pages that displays Shareable items. EP_SHAREABLE[0] = list pages; EP_SHAREABLE[1] = single-item pages
    • EP_REMOVABLE

      public static String[] EP_REMOVABLE
      ID:s for the toolbar extension point that appear on all pages that displays Removable items. EP_REMOVABLE[0] = list pages; EP_REMOVABLE[1] = single-item pages
    • EP_ANNOTATABLE

      public static String[] EP_ANNOTATABLE
      ID:s for the toolbar extension point that appear on all pages that displays Annotatable items. EP_ANNOTATABLE[0] = list pages; EP_ANNOTATABLE[1] = single-item pages
  • Constructor Details

    • ToolbarUtil

      public ToolbarUtil()
  • Method Details