CentraSite Documentation : CentraSite Developer’s Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : Replace Standard Detail View by Another Editor
Replace Standard Detail View by Another Editor
Usage
Add an editor that can be configured per object type, even per object instance.
Attributes
*point="com.centrasite.control.itemEditor"
*id (default: name of implementing class)
*class
Interface
ItemEditor
*public boolean appliesTo (Item item, Connector connector);
*public String getLayout();
*public String getTitle(Item item);
*public String getAdapterClass();
(must return a class implementing the ItemEditorAdapter interface)
Abstract base class
AbstractItemEditor
Processing
If appliesTo() returns true, the editor will be used when opening the detail for the item being passed:
*The given adapter class will be instantiated and initialized.
*The given layout (=pageURL) is opened in the CONTENT frame on the right hand side.
*The title returned by getTitle() is used as the label for the activity.
Provided by
CentraSite Control
Example
<extension point="com.centrasite.control.itemEditor"
id="DataType"
class="com.softwareag.centrasite.ext.DataTypeEditor">
</extension>
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback