net.infonode.docking.title

Class LengthLimitedDockingWindowTitleProvider

public class LengthLimitedDockingWindowTitleProvider extends Object implements DockingWindowTitleProvider, 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

Version: $Revision: 1.6 $

Author: $Author: jesper $

Constructor Summary
LengthLimitedDockingWindowTitleProvider(int maxLength)
Constructor.
Method Summary
StringgetTitle(DockingWindow window)

Constructor Detail

LengthLimitedDockingWindowTitleProvider

public LengthLimitedDockingWindowTitleProvider(int maxLength)
Constructor.

Parameters: maxLength if the title exceeds this length no more view titles are added to it

Method Detail

getTitle

public String getTitle(DockingWindow window)