public class OwShortCutDocumentFunction
extends com.wewebu.ow.server.app.OwDocumentFunction
Short Cuts Function, creates a short cut in the OwShortCutDocument master plugin.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwShortCutDocumentFunction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBigIcon()
get the URL to the info icon
|
com.wewebu.ow.server.app.OwMasterDocument |
getFavoriteMasterPlugin()
get the Bookmark/Favorite Master Plugin
|
String |
getIcon()
get the URL to the info icon
|
protected void |
handleMissingShortCutSerializer(Collection<com.wewebu.ow.server.ecm.OwObject> objects)
Method is called in case no favorite serializer is available.
|
void |
init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
set the plugin description node
|
boolean |
isEnabled(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
int context_p) |
void |
onClickEvent(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
event called when user clicked the plugin label / icon
|
void |
onMultiselectClickEvent(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
event called when user clicked the plugin for multiple selected items
|
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, isEnabled, isObjectTypeSupported, onColumnClickEventgetConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSettingpublic void init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
throws Exception
init in class com.wewebu.ow.server.app.OwDocumentFunctionnode_p - OwXMLUtil wrapped DOM Node containing the plugin descriptioncontext_p - OwMainAppContextExceptionpublic String getIcon() throws Exception
getIcon in interface com.wewebu.ow.server.app.OwPlugingetIcon in class com.wewebu.ow.server.app.OwFunctionExceptionpublic String getBigIcon() throws Exception
getBigIcon in class com.wewebu.ow.server.app.OwFunctionExceptionpublic void onClickEvent(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
throws Exception
onClickEvent in class com.wewebu.ow.server.app.OwDocumentFunctionoObject_p - OwObject where event was triggeredoParent_p - Parent which listed the ObjectrefreshCtx_p - OwClientRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is neededExceptionpublic void onMultiselectClickEvent(Collection objects_p, com.wewebu.ow.server.ecm.OwObject oParent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
onMultiselectClickEvent in class com.wewebu.ow.server.app.OwDocumentFunctionobjects_p - Collection of OwObjectoParent_p - Parent which listed the ObjectsrefreshCtx_p - OwClientRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is neededExceptionprotected void handleMissingShortCutSerializer(Collection<com.wewebu.ow.server.ecm.OwObject> objects) throws Exception
objects - Collection of OwObject'sExceptionpublic com.wewebu.ow.server.app.OwMasterDocument getFavoriteMasterPlugin()
throws com.wewebu.ow.server.exceptions.OwConfigurationException
OwMasterDocumentcom.wewebu.ow.server.exceptions.OwConfigurationExceptionpublic boolean isEnabled(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
int context_p)
throws Exception
isEnabled in class com.wewebu.ow.server.app.OwDocumentFunctionExceptionOwDocumentFunction.isEnabled(com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObject, int)Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.