|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.app.OwFunction
com.wewebu.ow.server.app.OwDocumentFunction
com.wewebu.ow.server.plug.owdoccopy.OwDocumentFunctionAddToClipboard
public abstract class OwDocumentFunctionAddToClipboard
Implementation of common behavior for Cut and Copy document functions.
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
Field Summary |
---|
Fields inherited from class com.wewebu.ow.server.app.OwFunction |
---|
DESCRIPTION_KEY_CLASSES, DESCRIPTION_KEY_OBJ_TYPES, DESCRIPTION_KEY_TYPE, DRAG_DROP_PROPERTY_MAX_FILESIZE, m_MainContext |
Constructor Summary | |
---|---|
OwDocumentFunctionAddToClipboard()
|
Method Summary | |
---|---|
protected abstract OwCommandAddToClipboard |
createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p,
List objects_p)
Create the concrete OwCommandAddToClipboard object. |
protected void |
executeAddToClipboadCommand(com.wewebu.ow.server.ecm.OwObject oParent_p,
List objects_p)
Executes the addToClipboard command |
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 |
protected abstract void |
onClickEventPostProcessing(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p)
This method is called after the click event was processed. |
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 |
Methods inherited from class com.wewebu.ow.server.app.OwDocumentFunction |
---|
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, init, isEnabled, isEnabled, isObjectTypeSupported, onColumnClickEvent |
Methods inherited from class com.wewebu.ow.server.app.OwFunction |
---|
getBigIcon, getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getIcon, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSetting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwDocumentFunctionAddToClipboard()
Method Detail |
---|
protected abstract OwCommandAddToClipboard createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p, List objects_p)
OwCommandAddToClipboard
object.
oParent_p
- - the parent folderobjects_p
- - the collection of objects
OwCommandAddToClipboard
object.protected void executeAddToClipboadCommand(com.wewebu.ow.server.ecm.OwObject oParent_p, List objects_p) throws Exception
oParent_p
- objects_p
-
Exception
public 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.OwDocumentFunction
objects_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 needed
Exception
protected abstract void onClickEventPostProcessing(com.wewebu.ow.server.ecm.OwObject oObject_p, com.wewebu.ow.server.ecm.OwObject oParent_p) throws Exception, com.wewebu.ow.server.exceptions.OwInvalidOperationException
oObject_p
- oParent_p
-
Exception
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public 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.OwDocumentFunction
oObject_p
- OwObject where event was triggeredoParent_p
- Parent which listed the Object
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |