public abstract class OwAbstractSettingsPropertyControl extends OwSettingsPropertyControl
Default abstract implementation of OwSettingsPropertyControl.
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 | Field and Description |
|---|---|
protected OwEventTarget |
m_externalFormEventTarget
external form view overrides internal form
|
protected Node |
m_propertyDefinitionNode
Deprecated.
since 4.2.0.0 use
getPropertyDefinitionNode() |
protected String |
m_strSetName
set name
|
ITEM_VALUE_NODE| Constructor and Description |
|---|
OwAbstractSettingsPropertyControl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
get display name of property
|
String |
getFormName()
get the form used for the edit fields
|
OwEventTarget |
getFormTarget()
get the target, that is used for form data and renders form
|
String |
getHelpPath()
get optional help path for the control
|
String |
getName()
get ID of property
|
protected Node |
getPropertyDefinitionNode()
get a reference to the property definition node
|
protected void |
init()
init the target after the context is set.
|
void |
init(Node propertyDefinitionNode_p,
Node valueNode_p,
String strSetName_p)
set current value of property, to be overridden
|
boolean |
isEditable()
get flag indicating if property can be edited
|
boolean |
isUser()
get flag indicating if property can be edited
|
void |
setExternalFormTarget(OwEventTarget eventTarget_p)
override the internal form with an external one,
must be called BEFORE event target is attached.
|
String |
toString() |
createSingleClonedValue, getPropertyError, getSafePropertyError, hasError, insertFormField, insertLabel, isModifiedattach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, getValueNode, setDefault, setValueprotected Node m_propertyDefinitionNode
getPropertyDefinitionNode()protected String m_strSetName
protected OwEventTarget m_externalFormEventTarget
public void init(Node propertyDefinitionNode_p, Node valueNode_p, String strSetName_p) throws Exception
OwSettingsPropertypropertyDefinitionNode_p - the node which defines the property in the plugin descriptors settingvalueNode_p - the node with the current valuestrSetName_p - name of the property set for which the property is createdExceptionpublic String getHelpPath()
OwSettingsPropertyControlgetHelpPath in class OwSettingsPropertyControlpublic boolean isUser()
OwSettingsPropertypublic boolean isEditable()
OwSettingsPropertypublic String getDisplayName()
OwSettingsPropertyControlgetDisplayName in class OwSettingsPropertyControlpublic String getName()
protected void init()
throws Exception
OwEventTargetinit in class OwEventTargetExceptionprotected Node getPropertyDefinitionNode()
public String getFormName()
getFormName in class OwEventTargetpublic void setExternalFormTarget(OwEventTarget eventTarget_p) throws Exception
OwEventTargetsetExternalFormTarget in class OwEventTargeteventTarget_p - OwEventTarget to be used for form dataExceptionpublic OwEventTarget getFormTarget()
OwEventTargetgetFormTarget in class OwEventTargetCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.