com.wewebu.ow.server.app
Class OwMainNavigationView

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.ui.OwNavigationView
              extended by com.wewebu.ow.server.app.OwMainNavigationView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget

public class OwMainNavigationView
extends OwNavigationView

Main Navigation UI Module. Creates and displays the TAB plugins.

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


Nested Class Summary
 class OwMainNavigationView.OwSubTabInfo
          a navigation item
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwNavigationView
OwNavigationView.OwDelimiterTabInfo, OwNavigationView.OwTabInfo
 
Field Summary
static String NEXT_PLUGIN_ACTION_ID
           
static String PREVIOUS_PLUGIN_ACTION_ID
           
 
Fields inherited from class com.wewebu.ow.server.ui.OwNavigationView
m_fValidatePanels, m_iCurrentTabIndex, m_TabList
 
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
OwMainNavigationView()
           
 
Method Summary
 int addPluginView(OwView view_p, String strName_p)
          add a View with optional image to the navigation module.
protected  void onRender(Writer w_p)
          render the navigation bar
 
Methods inherited from class com.wewebu.ow.server.ui.OwNavigationView
addDelimiter, addMenuItem, addView, clear, enable, enableAll, getNavigateEventURL, getNavigationFormAction, getNavigationIndex, getTabList, getTitle, getViewReference, isLastTabIndex, isPreviousPanelValid, navigate, navigate, navigateFirst, onFormEvent, onNavigate, renderCurrentView, renderNavigationLink, setValidatePanels, size
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, init, 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, onRequest, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEXT_PLUGIN_ACTION_ID

public static String NEXT_PLUGIN_ACTION_ID

PREVIOUS_PLUGIN_ACTION_ID

public static String PREVIOUS_PLUGIN_ACTION_ID
Constructor Detail

OwMainNavigationView

public OwMainNavigationView()
Method Detail

addPluginView

public int addPluginView(OwView view_p,
                         String strName_p)
                  throws Exception
add a View with optional image to the navigation module.
In addition to addMenuItem, the View gets activated and displayed when it is selected in the navigation. The View also becomes child of the navigation module.

Parameters:
view_p - View to add
strName_p - optional Name / ID of the view, can be null.
Returns:
index of the tab
Throws:
Exception

onRender

protected void onRender(Writer w_p)
                 throws Exception
render the navigation bar

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.