public final class UnifiedInsertManager extends java.lang.Object implements JPropertiesListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MENU_ITEMS_PREFIX
Properties prefix for all insertion resources loaded as InsertItem.
|
REVISION
Modifier and Type | Method and Description |
---|---|
static UnifiedInsertManager |
getInstance() |
java.util.Set<MenuItem> |
getMenuItems(InsertionContext context)
Retrieve a sorted set of MenuItem for the specified insertion context.
|
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
|
public static final java.lang.String MENU_ITEMS_PREFIX
public static final UnifiedInsertManager getInstance()
public void propertiesChange(JProperties properties)
JPropertiesListener
You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using channel.getProperties
or
channel.getProperty
.
propertiesChange
in interface JPropertiesListener
properties
- the properties which have been submitted to changepublic java.util.Set<MenuItem> getMenuItems(InsertionContext context)
context
- the context in which insertion is being performedCopyright © 2001-2022 Jalios SA. All Rights Reserved.