|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.clients.web.extensions.toolbar.ToolbarUtil
public class ToolbarUtil
Utility class for toolbar extension points.
Field Summary | |
---|---|
static String[] |
EP_ALL
ID:s for the toolbar extension point that appear on all pages. |
static String[] |
EP_ANNOTATABLE
ID:s for the toolbar extension point that appear on all pages that displays Annotatable items. |
static String[] |
EP_OWNABLE
ID:s for the toolbar extension point that appear on all pages that displays Ownable items. |
static String[] |
EP_PREFIX
ID prefixes for toolbar extension point. |
static String[] |
EP_REMOVABLE
ID:s for the toolbar extension point that appear on all pages that displays Removable items. |
static String[] |
EP_SHAREABLE
ID:s for the toolbar extension point that appear on all pages that displays Shareable items. |
static int |
ITEM
|
static int |
LIST
|
static Item[] |
TOOLBAR_ITEMS
An array containing all items that we are registering an extension point for. |
Constructor Summary | |
---|---|
ToolbarUtil()
|
Method Summary | |
---|---|
private static void |
register(Registry registry,
String id,
String name)
|
static void |
registerExtensionPoints(Registry registry)
|
static ExtensionsInvoker |
useExtensions(JspContext jspContext)
Use toolbar extensions for a given gui context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Item[] TOOLBAR_ITEMS
public static String[] EP_PREFIX
public static final int LIST
public static final int ITEM
public static String[] EP_ALL
public static String[] EP_OWNABLE
Ownable
items.
EP_OWNABLE[0] = list pages; EP_OWNABLE[1] = single-item pages
public static String[] EP_SHAREABLE
Shareable
items.
EP_SHAREABLE[0] = list pages; EP_SHAREABLE[1] = single-item pages
public static String[] EP_REMOVABLE
Removable
items.
EP_REMOVABLE[0] = list pages; EP_REMOVABLE[1] = single-item pages
public static String[] EP_ANNOTATABLE
Annotatable
items.
EP_ANNOTATABLE[0] = list pages; EP_ANNOTATABLE[1] = single-item pages
Constructor Detail |
---|
public ToolbarUtil()
Method Detail |
---|
public static ExtensionsInvoker useExtensions(JspContext jspContext)
ExtensionsControl.useExtensions(JspContext, String...)
.
jspContext
- The current jsp context
public static void registerExtensionPoints(Registry registry)
private static void register(Registry registry, String id, String name)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |