public class OwSubLayout extends OwLayout
Layout of the tab/plugin areas.
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
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrence
Modifier and Type | Field and Description |
---|---|
static int |
DND_REGION
DnD applet region
|
static int |
HOT_KEY_REGION
region for the optional hot key region e.g.
|
protected OwConfiguration |
m_Configuration
application m_Configuration reference
|
protected boolean |
m_isDynamicSplitInUse
flag indicating that the layout is using EXTJS
|
protected OwMainAppContext |
m_MainContext
reference to the cast AppContext
|
protected boolean |
m_saveSplitPosition
flag indicating if splitter position should be saved
|
protected OwDynamicLayoutSettings |
m_settings
Holder for layout settings.
|
static int |
MAIN_REGION
main region
|
static int |
MENU_REGION
region for the optional menu
|
static int |
NAVIGATION_REGION
region for the navigation part
|
static int |
SECONDARY_REGION |
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwSubLayout() |
Modifier and Type | Method and Description |
---|---|
protected OwDynamicLayoutSettings |
createLayoutSettings()
Create the layout settings object
|
String |
createRegionCustomAttributes(int regionId_p) |
protected String |
getBagID()
Compute the bag ID.
|
Map<Integer,Map<String,String>> |
getCustomRegionAttributes() |
protected OwDynamicLayoutSettings |
getLayoutSettings()
Get the created layout settings.
|
int |
getNavigationPanelWidth()
Get the width for navigation panel
|
protected void |
init()
initialize the view after the context is set.
|
void |
onAjaxNavigationPanelResize(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
AJAX handler invoked when the user resize the navigation panel.
|
void |
onAjaxPanelCollapsedStateChanged(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
AJAX handler invoked when the user collapses/un-collapses a panel.
|
protected void |
onRender(Writer w_p)
Render the view.
|
void |
setCustomRegionAttribute(int regionId_p,
String attribute_p,
String value_p) |
void |
setCustomRegionAttributes(Map<Integer,Map<String,String>> customRegionAttributes) |
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion, renderRegion
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public static final int NAVIGATION_REGION
public static final int MENU_REGION
public static final int MAIN_REGION
public static final int HOT_KEY_REGION
public static final int DND_REGION
public static final int SECONDARY_REGION
protected OwMainAppContext m_MainContext
protected OwConfiguration m_Configuration
protected boolean m_isDynamicSplitInUse
protected boolean m_saveSplitPosition
protected OwDynamicLayoutSettings m_settings
protected void init() throws Exception
protected OwDynamicLayoutSettings createLayoutSettings()
protected OwDynamicLayoutSettings getLayoutSettings()
OwDynamicLayoutSettings
objectpublic void onAjaxNavigationPanelResize(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p)
request_p
- - the HttpServletRequest
object.response_p
- - the HttpServletResponse
objectpublic void onAjaxPanelCollapsedStateChanged(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p)
request_p
- - the HttpServletRequest
object.response_p
- - the HttpServletResponse
objectpublic int getNavigationPanelWidth()
protected String getBagID()
public void setCustomRegionAttribute(int regionId_p, String attribute_p, String value_p)
public void setCustomRegionAttributes(Map<Integer,Map<String,String>> customRegionAttributes)
public String createRegionCustomAttributes(int regionId_p)
regionId_p
- Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.