public abstract class OwMasterView extends OwView
View Module base class for the Main Area 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
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwMasterView() |
Modifier and Type | Method and Description |
---|---|
String |
getBreadcrumbPart()
This method is used to create a "Breadcrumb"
navigation view.
|
OwXMLUtil |
getConfigNode()
get the plugin description node
|
OwConfiguration |
getConfiguration()
get the configuration object
|
OwDialogManager |
getDialogManager()
get the dialog manager of this plugin
|
String |
getIcon()
get the icon URL for this view to be displayed
|
OwConfiguration.OwMasterPluginInstance |
getPlugin()
set the plugin description node
|
String |
getPluginID()
get the plugin ID
|
String |
getTitle()
overridable title of the view
|
protected void |
init()
init the view after the context is set.
|
protected void |
onActivate(int iIndex_p,
Object oReason_p)
activate the target from a navigation module.
|
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
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public OwConfiguration.OwMasterPluginInstance getPlugin()
public String getPluginID()
public String getTitle()
getTitle
in interface OwBaseView
getTitle
in class OwView
public String getBreadcrumbPart()
OwBaseView
Example: We have a View A which contains a View B which
has a many views contained.
A.getBreadcrumbPart()
{
return this.getTitle() + " - " + B.getBreadcrumbPart();
}
B.getBreadcrumbPart()
{
return this.getName() + " - " + getMainView().getBreadcrumbPart();
}
null
at
least the OwBaseView.EMPTY_STRING
should be returned.getBreadcrumbPart
in interface OwBaseView
getBreadcrumbPart
in class OwView
public OwXMLUtil getConfigNode()
public OwConfiguration getConfiguration()
protected void init() throws Exception
public OwDialogManager getDialogManager()
protected void onActivate(int iIndex_p, Object oReason_p) throws Exception
onActivate
in class OwView
iIndex_p
- int index for the tab of NavigationoReason_p
- User Object which was submitted when target was attached to the navigation moduleException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.