com.wewebu.ow.server.plug.owshortcut
Class OwShortCutView

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.OwMasterView
              extended by com.wewebu.ow.server.plug.owshortcut.OwShortCutView
All Implemented Interfaces:
com.wewebu.ow.server.ui.OwBaseView, com.wewebu.ow.server.ui.OwUpdateTarget

public class OwShortCutView
extends com.wewebu.ow.server.app.OwMasterView

Short Cuts View. Master plugin that displays and executes shortcuts.

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  int m_iViewMask
          filters the views and behaviors to be displayed
static int VIEW_MASK_DISPLAY_ALL
          display the tab "All" in the favorites plugin
static int VIEW_MASK_DISPLAY_DOCUMENTS
          display the tab "Documents" in the favorites plugin
static int VIEW_MASK_DISPLAY_FOLDERS
          display the tab "Folders" in the favorites plugin
static int VIEW_MASK_DISPLAY_OTHER
          display the tab "Other" in the favorites plugin
static int VIEW_MASK_DISPLAY_STORED_SEARCHES
          display the tab "Stored Searches" in the favorites plugin
 
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
OwShortCutView()
           
 
Method Summary
 OwSavedSearchesView createSavedSearchesView()
          (overridable) Factory method to create own SavedSearchesView
 OwShortCutItemView createShortCutItemView()
          (overridable) Factory method to create own ShortCutItemView
protected  int createViewMask()
          create tab viewmask from XML configuration
protected  int defaultViewMask()
          set default mask, enable all tabs
 OwShortCutItemView getItemView()
          get the item view containing the items
protected  boolean hasViewMask(int iViewMask_p)
          Check if view should be displayed or is masked out
protected  void init()
          Initialization after target has set
protected  void onActivate(int index_p, Object reason_p)
           
 
Methods inherited from class com.wewebu.ow.server.app.OwMasterView
getBreadcrumbPart, getConfigNode, getConfiguration, getDialogManager, getIcon, getPlugin, getPluginID, getTitle
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onRender, 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

VIEW_MASK_DISPLAY_ALL

public static final int VIEW_MASK_DISPLAY_ALL
display the tab "All" in the favorites plugin

See Also:
Constant Field Values

VIEW_MASK_DISPLAY_DOCUMENTS

public static final int VIEW_MASK_DISPLAY_DOCUMENTS
display the tab "Documents" in the favorites plugin

See Also:
Constant Field Values

VIEW_MASK_DISPLAY_FOLDERS

public static final int VIEW_MASK_DISPLAY_FOLDERS
display the tab "Folders" in the favorites plugin

See Also:
Constant Field Values

VIEW_MASK_DISPLAY_OTHER

public static final int VIEW_MASK_DISPLAY_OTHER
display the tab "Other" in the favorites plugin

See Also:
Constant Field Values

VIEW_MASK_DISPLAY_STORED_SEARCHES

public static final int VIEW_MASK_DISPLAY_STORED_SEARCHES
display the tab "Stored Searches" in the favorites plugin

See Also:
Constant Field Values

m_iViewMask

protected int m_iViewMask
filters the views and behaviors to be displayed

Constructor Detail

OwShortCutView

public OwShortCutView()
Method Detail

init

protected void init()
             throws Exception
Initialization after target has set

Overrides:
init in class com.wewebu.ow.server.app.OwMasterView
Throws:
Exception

getItemView

public OwShortCutItemView getItemView()
get the item view containing the items


createShortCutItemView

public OwShortCutItemView createShortCutItemView()
(overridable) Factory method to create own ShortCutItemView

Returns:
OwShortCutItemView
Since:
2.5.3.0

createSavedSearchesView

public OwSavedSearchesView createSavedSearchesView()
(overridable) Factory method to create own SavedSearchesView

Returns:
OwSavedSearchesView
Since:
2.5.3.0

onActivate

protected void onActivate(int index_p,
                          Object reason_p)
                   throws Exception
Overrides:
onActivate in class com.wewebu.ow.server.app.OwMasterView
Throws:
Exception

createViewMask

protected int createViewMask()
create tab viewmask from XML configuration

Returns:
viewMask
Since:
3.1.0.0

hasViewMask

protected boolean hasViewMask(int iViewMask_p)
Check if view should be displayed or is masked out

Parameters:
iViewMask_p - bitmask according to VIEW_MASK_SYSTEM_... flags
Since:
3.1.0.0

defaultViewMask

protected int defaultViewMask()
set default mask, enable all tabs

Returns:
int
Since:
3.1.0.0


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.