net.infonode.docking.util
Class WindowMenuUtil

java.lang.Object
  extended by net.infonode.docking.util.WindowMenuUtil

public final class WindowMenuUtil
extends java.lang.Object

Class containing utility methods for creating window popup menues.

Version:
$Revision: 1.27 $
Author:
$Author: jesper $

Method Summary
static WindowPopupMenuFactory createWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems)
          Creates a factory which creates a popup menu containing common window actions.
static WindowPopupMenuFactory createWindowMenuFactory(ViewFactoryManager viewFactoryManager, boolean addTabItems, boolean addSplitWindowItems)
          Creates a factory which creates a popup menu containing common window actions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 SplitWindow's
Returns:
the window popup menu factory
Since:
IDW 1.2.0