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
-
Method Summary
Modifier and TypeMethodDescriptionShould return the title, or null if no title should be displayed.void
setDetailPageTitle
(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_TitleGenerator
Should return the title, or null if no title should be displayed.- Specified by:
getTitle
in 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
-