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_externalFormEventTargetEMPTY_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, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic OwConfiguration.OwMasterPluginInstance getPlugin()
public String getPluginID()
public String getTitle()
getTitle in interface OwBaseViewgetTitle in class OwViewpublic 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 OwBaseViewgetBreadcrumbPart in class OwViewpublic 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 OwViewiIndex_p - int index for the tab of NavigationoReason_p - User Object which was submitted when target was attached to the navigation moduleExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.