CentraSite Documentation : CentraSite Developer's Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : Tab in Detail View
Tab in Detail View
Usage
Add a tab in the detail view of an object.
Attributes
*point="com.centrasite.control.detailViewTab"
*id
*class
Interface
DetailViewTab
*String getTitle()
*String getImageURL()
*String getLayout()
*void initAdapterFor (Item, DetailViewTabAdapter)
*protected String getAdapterClass();
*boolean appliesTo (Item)
(If this is returned, the tab will be displayed for the corresponding Item if isVisible() returns true as well, otherwise the tab will not be displayed)
*void setDetailsTabContext (DetailTabContext)
*boolean isVisible(Item)
Abstract base class
AbstractDetailViewTab
Processing
*If the detail view for an Item is opened, it is checked for each known extension.
*Create an instance of class and invoke appliesTo(Item). If true is returned, getLayout() is invoked and the layout is added as a tab. The respective adapter will be created implicitly by the Application Designer when processing the layout.
*The title of the tab is set with the result from calling getTitle().
*Currently, items on tabs are not supported. Hence, the result from getImageURL() is ignored.
Provided by
CentraSite Control
Example
<extension point="com.centrasite.control.detailViewTab"
id="lifecycle"
class="com.centrasite.control.lifecycle.LifeCycleDetails">
</extension>
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback