Class ListColumnUtil
java.lang.Object
net.sf.basedb.clients.web.extensions.list.ListColumnUtil
Utility class for list column extension points.
- Since:
- 3.2
- Author:
- Nicklas
- Last modified
- $Date$
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
ID for the list column extension point that appear on all list pages.static String
ID for the list column extension point that appear on all pages that listAnnotatable
items.static String
ID for the list column extension point that appear on all pages that listOwnable
items.static String
ID prefixes for list column extension point.static String
ID for the list column extension point that appear on all pages that listRemovable
items.static String
ID for the list column extension point that appear on all pages that listShareable
items.static final Item[]
An array containing all items that we are registering an extension point for. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
static void
registerExtensionPoints
(Registry registry) static <I> ExtensionsInvoker<ListColumnAction<I,
?>> useExtensions
(JspContext jspContext) static <I> ExtensionsInvoker<ListColumnAction<I,
?>> useExtensions
(JspContext jspContext, ExtensionsFilter filter) Use list column extensions for a given gui context.
-
Field Details
-
LIST_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 + Item.name().toLowerCase(). -
EP_PREFIX
ID prefixes for list column extension point. The final ID is the prefix + Item.name().toLowerCase(). -
EP_ALL
ID for the list column extension point that appear on all list pages. -
EP_OWNABLE
ID for the list column extension point that appear on all pages that listOwnable
items. -
EP_SHAREABLE
ID for the list column extension point that appear on all pages that listShareable
items. -
EP_REMOVABLE
ID for the list column extension point that appear on all pages that listRemovable
items. -
EP_ANNOTATABLE
ID for the list column extension point that appear on all pages that listAnnotatable
items.
-
-
Constructor Details
-
ListColumnUtil
public ListColumnUtil()
-
-
Method Details
-
useExtensions
-
useExtensions
public static <I> ExtensionsInvoker<ListColumnAction<I,?>> useExtensions(JspContext jspContext, ExtensionsFilter filter) Use list column extensions for a given gui context. This method will assemble all specific and generic extension points and then callExtensionsControl.useExtensions(JspContext, ExtensionsFilter, String...)
orExtensionsControl.useExtensions(JspContext, String...)
(if the filter is null)- Parameters:
jspContext
- The current jsp contextfilter
- Optional filter for the extensions- Returns:
- An invoker instance
- Since:
- 3.19.4
-
registerExtensionPoints
-
register
-