net.infonode.docking.util

Class WindowMenuUtil

public final class WindowMenuUtil extends Object

Class containing utility methods for creating window popup menues.

Version: $Revision: 1.27 $

Author: $Author: jesper $

Method Summary
static WindowPopupMenuFactorycreateWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems)
Creates a factory which creates a popup menu containing common window actions.
static WindowPopupMenuFactorycreateWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems, boolean addSplitWindowItems)
Creates a factory which creates a popup menu containing common window actions.

Method Detail

createWindowMenuFactory

public static WindowPopupMenuFactory createWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems)
Creates a factory which creates a popup menu containing common window actions.

Parameters: viewFactoryManager used for creating a list of views that the user can show addTabItems add items for changing tab direction and orientation

Returns: the window popup menu factory

createWindowMenuFactory

public static WindowPopupMenuFactory createWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems, boolean addSplitWindowItems)
Creates a factory which creates a popup menu containing common window actions.

Parameters: viewFactoryManager used for creating a list of views that the user can show addTabItems add items for changing tab direction and orientation addSplitWindowItems add items for {@link SplitWindow}'s

Returns: the window popup menu factory

Since: IDW 1.2.0