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, isModified
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, getValueNode, setDefault, setValue
protected 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
OwSettingsProperty
propertyDefinitionNode_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 createdException
public String getHelpPath()
OwSettingsPropertyControl
getHelpPath
in class OwSettingsPropertyControl
public boolean isUser()
OwSettingsProperty
public boolean isEditable()
OwSettingsProperty
public String getDisplayName()
OwSettingsPropertyControl
getDisplayName
in class OwSettingsPropertyControl
public String getName()
protected void init() throws Exception
OwEventTarget
init
in class OwEventTarget
Exception
protected Node getPropertyDefinitionNode()
public String getFormName()
getFormName
in class OwEventTarget
public void setExternalFormTarget(OwEventTarget eventTarget_p) throws Exception
OwEventTarget
setExternalFormTarget
in class OwEventTarget
eventTarget_p
- OwEventTarget to be used for form dataException
public OwEventTarget getFormTarget()
OwEventTarget
getFormTarget
in class OwEventTarget
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.