com.wewebu.ow.server.app
Class OwClipboardView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.app.OwClipboardView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget

public class OwClipboardView
extends OwView

View to display the clipboard content.

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
protected  OwMimeManager m_MimeManager
          instance of the MIME manager used to open the objects, protected since 2.5.2.2
 
Fields inherited from class com.wewebu.ow.server.ui.OwView
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
 
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView
EMPTY_STRING
 
Constructor Summary
OwClipboardView()
           
 
Method Summary
 String getClearButton()
          Get the code for rendering the clear button.
protected  void init()
          init the view after the context is set.
 void onClearClipboard(javax.servlet.http.HttpServletRequest req_p)
          Handler for clear the content of clipboard.
 void onClipboardPluginEvent(javax.servlet.http.HttpServletRequest request_p)
          External call to execute a plugin for all items in clipboard
protected  void onRender(Writer w_p)
          called when the view should create its HTML content to be displayed
protected  void renderOwFieldContentType(Writer w_p, OwClipboard clipboard_p)
          Render the clipboard information, if content type is an OwField.
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
 
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_MimeManager

protected OwMimeManager m_MimeManager
instance of the MIME manager used to open the objects, protected since 2.5.2.2

Constructor Detail

OwClipboardView

public OwClipboardView()
Method Detail

init

protected void init()
             throws Exception
init the view after the context is set.

Overrides:
init in class OwView
Throws:
Exception

onRender

protected void onRender(Writer w_p)
                 throws Exception
called when the view should create its HTML content to be displayed

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception

renderOwFieldContentType

protected void renderOwFieldContentType(Writer w_p,
                                        OwClipboard clipboard_p)
                                 throws Exception
Render the clipboard information, if content type is an OwField.

Parameters:
w_p - Writer used to write the information of graphical layout for current clipboard
clipboard_p - OwClipboard which should be rendered
Throws:
Exception - a IOException may occurs during writing out the layout

getClearButton

public String getClearButton()
Get the code for rendering the clear button.

Returns:
the HTML code for clear button.

onClearClipboard

public void onClearClipboard(javax.servlet.http.HttpServletRequest req_p)
Handler for clear the content of clipboard.

Parameters:
req_p - - the request.

onClipboardPluginEvent

public void onClipboardPluginEvent(javax.servlet.http.HttpServletRequest request_p)
                            throws Exception
External call to execute a plugin for all items in clipboard

Parameters:
request_p - - the request
Throws:
Exception
Since:
3.0.0.0


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.