Package org.opencms.ade.sitemap.client
Class CmsSitemapTreeItem.DetailPageLabelTitleGenerator
java.lang.Object
org.opencms.ade.sitemap.client.CmsSitemapTreeItem.DetailPageLabelTitleGenerator
- All Implemented Interfaces:
CmsLabel.I_TitleGenerator
- Enclosing class:
CmsSitemapTreeItem
protected class CmsSitemapTreeItem.DetailPageLabelTitleGenerator
extends Object
implements CmsLabel.I_TitleGenerator
Label generator for the detail page info label.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShould return the title, or null if no title should be displayed.voidsetDetailPageTitle(String detailPageTitle) Sets the title to use for the detail page label.
-
Constructor Details
-
DetailPageLabelTitleGenerator
protected DetailPageLabelTitleGenerator()
-
-
Method Details
-
getTitle
Description copied from interface:CmsLabel.I_TitleGeneratorShould return the title, or null if no title should be displayed.- Specified by:
getTitlein interfaceCmsLabel.I_TitleGenerator- Parameters:
originalText- the original untruncated text stored in the label- Returns:
- the title to display, or null if no title should be displayed
- See Also:
-
setDetailPageTitle
Sets the title to use for the detail page label.- Parameters:
detailPageTitle- the title to use
-