|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.app.OwMasterView
public abstract class OwMasterView
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
Field Summary |
---|
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 | |
---|---|
OwMasterView()
|
Method Summary | |
---|---|
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. |
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 |
Constructor Detail |
---|
public OwMasterView()
Method Detail |
---|
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 String getIcon() throws Exception
getIcon
in class OwView
Exception
public OwXMLUtil getConfigNode()
public OwConfiguration getConfiguration()
protected void init() throws Exception
init
in class OwView
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 module
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |