Package net.infonode.docking.title
Class LengthLimitedDockingWindowTitleProvider
- java.lang.Object
-
- net.infonode.docking.title.LengthLimitedDockingWindowTitleProvider
-
- All Implemented Interfaces:
java.io.Serializable
,DockingWindowTitleProvider
public class LengthLimitedDockingWindowTitleProvider extends java.lang.Object implements DockingWindowTitleProvider, java.io.Serializable
A docking window title provider that constructs a window title from the views inside the window. It adds view titles until the window title reaches a specified length. If not all view titles fit into the window title, primarily titles from view inside selected tabs are used.- Since:
- IDW 1.3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LengthLimitedDockingWindowTitleProvider(int maxLength)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTitle(DockingWindow window)
Returns a text title for aDockingWindow
.
-
-
-
Method Detail
-
getTitle
public java.lang.String getTitle(DockingWindow window)
Description copied from interface:DockingWindowTitleProvider
Returns a text title for aDockingWindow
.- Specified by:
getTitle
in interfaceDockingWindowTitleProvider
- Parameters:
window
- the docking window- Returns:
- the text title
-
-