Notes:
New features:
- Added methods for preferred minimize direction. See
DockingWindow.setPreferredMinimizeDirection() and
DockingWindow.getPreferredMinimizeDirection().
- Much improved window restore algorithm which should be able to
restore most layouts correctly. Note that when restoring tab and
split windows, the actual tab and split window is not restored,
but rather the views inside it. See the developer's guide for
more information.
- When pressing the Shift key during a window drag and drop the
tab will not be selected on drag and drop. This makes it
possible to enable tab selection on mouse button press and
still drag a tab into the selected tab in the same tabbed
panel. Use RootWindowProperties.getTabWindowProperties().
getTabbedPanelProperties().setTabSelectTrigger() to enable
tab selection on mouse button press.
- Made it easier to split a window inside a TabWindow by
enlarging the split detection area for the inner window.
Also increased RootWindowProperties.EDGE_SPLIT_DISTANCE to 6
to simplify splitting.
- Added the possibility of triggering window drags from
the outside. See the net.infonode.docking.drag package and
especially the DockingWindowDragSource class.
- Added support for custom components in the tab area of an
AbstractTabWindow. The components are shown between the scroll
buttons and the close/minimize/restore buttons. See
AbstractTabWindow.getCustomTabAreaComponents().
- Added support for custom components in a view tab.
The components are shown between the window title and the
close/minimize/restore buttons. See
View.getCustomTabComponents().
- Added DockingWindowActionProvider's, see the
net.infonode.docking.action package.
- Added a property for the action performed when a docking
window button is clicked, see
WindowTabButtonProperty.ACTION_PROVIDER. Setting this property
will overrride the default action, for example minimize.
- WindowMenuUtil now displays icons in the popup menus. It uses
action providers to get the icons.
- Added support for adding mouse button listeners to a window tab.
The listeners are called when a mouse button is pressed, clicked
or released on the window tab. See
DockingWindow.addTabMouseButtonListener() and
DockingWindow.removeTabMouseButtonListener().
- Added new methods to DockingWindowListener. Events are
now generated when a window is added, removed, shown, hidden or
when the view focus changes.
- Added a DockingWindowTitleProvider interface which provides
a title for a docking window. It can be set on a window using
the DockingWindowProperties.TITLE_PROVIDER property. The
SimpleDockingWindowTitleProvider is the title provider used
for a window when there is no title provider in the window
properties. LengthLimitedDockingWindowTitleProvider is a docking
window title provider that provides a title that can be length
limited.
Fixed bugs:
- Fixed a bug that caused an indication that a window could be
splitted with itself.
- Fixed a bug that caused an exception in the popup menu
factories created in WindowMenuUtil when triggering the popup menu
on the root window and all views are added to the root window.
- Fixed a bug that caused the window buttons to change appearance
when using for example Skin Look and Feel. Now the buttons never
change UI class.
Changes:
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use