public abstract class OwToolView extends OwView
Base class for OwToolViewItem based views.
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
| Modifier and Type | Class and Description |
|---|---|
class |
OwToolView.OwToolClickTarget
Click event tatrger wrapp for
OwToolViewItems. |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ITEM_COLUMNS_COUNT |
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwToolView() |
OwToolView(int columnItemsCount_p) |
| Modifier and Type | Method and Description |
|---|---|
String |
createToolItemClickURL(OwToolViewItem item_p) |
void |
detach()
remove view and all subviews from context
|
int |
getColumnItemsCount() |
abstract Collection |
getToolItems()
to be implemented by the subclass, iterates over the tools to display
|
abstract void |
invoke(OwToolViewItem item_p)
Called when a tool has been clicked by a user.
|
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed
|
activate, addView, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, 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 static final int DEFAULT_ITEM_COLUMNS_COUNT
public OwToolView()
public OwToolView(int columnItemsCount_p)
public int getColumnItemsCount()
public abstract Collection getToolItems()
public String createToolItemClickURL(OwToolViewItem item_p)
item_p - OwToolView.OwToolClickTargetpublic abstract void invoke(OwToolViewItem item_p)
item_p - the clicked tool itemprotected void onRender(Writer w_p) throws Exception
OwViewCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.