public class InplaceEditingConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NN_CONFIG_DEFAULT
Default path to the editor-specific config node
|
static java.lang.String |
PN_ACTIVE
Name of property containing the flag if inplace editing is active
|
static java.lang.String |
PN_CONFIG_PATH
Name of property containing the path to the editor's configuration node
|
static java.lang.String |
PN_EDITOR_TYPE
Name of property containing the inplace editor's type
|
| Constructor and Description |
|---|
InplaceEditingConfig(InplaceEditingConfig config)
Creates a new basic inplace editing configuration from the specified configuration.
|
InplaceEditingConfig(Node configNode)
Creates a new basic inplace editing configuration from the given configuration
Node. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,ChildEditor> |
getChildEditors()
Returns a unmodifiable map of configurations of inplace child editors.
|
java.lang.String |
getConfigPath()
Gets the path to the editor-specific configuration.
|
java.lang.String |
getEditorType()
Gets the type of inplace editor to be used.
|
boolean |
isActive()
Determines if inplace editing is active for this component.
|
public static final java.lang.String PN_ACTIVE
public static final java.lang.String PN_EDITOR_TYPE
public static final java.lang.String PN_CONFIG_PATH
public static final java.lang.String NN_CONFIG_DEFAULT
public InplaceEditingConfig(Node configNode) throws RepositoryException
Node.configNode - The node to generate the basic configuration fromRepositoryExceptionpublic InplaceEditingConfig(InplaceEditingConfig config)
config - Existing configuration to clonepublic boolean isActive()
true if inplace editing is active for this componentpublic java.lang.String getEditorType()
String must
match a inplace editor module that is registered clientside under that type.
Note that isActive will return false if no inplace editing
module is specified (and getInplaceEditor will return null)null if no inplace editing module
is definedpublic java.lang.String getConfigPath()
public java.util.Map<java.lang.String,ChildEditor> getChildEditors()
Copyright © 2010 - 2023 Adobe. All Rights Reserved