net.infonode.docking.util
Class WindowMenuUtil

java.lang.Object
  extended bynet.infonode.docking.util.WindowMenuUtil

public final class WindowMenuUtil
extends Object

Class containing utility methods for creating window popup menues.

Version:
$Revision: 1.27 $

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
equals, 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


Copyright © 2007 NNL Technology AB. All Rights Reserved.