JIDE 3.5.15

com.jidesoft.docking
Interface PopupMenuCustomizer


public interface PopupMenuCustomizer

Interface to customer a popup menu for dockable frame.


Method Summary
 void customizePopupMenu(JPopupMenu menu, DockingManager dockingManager, DockableFrame dockableFrame, boolean onTab)
          Allow user to customize the popup menu.
 

Method Detail

customizePopupMenu

void customizePopupMenu(JPopupMenu menu,
                        DockingManager dockingManager,
                        DockableFrame dockableFrame,
                        boolean onTab)
Allow user to customize the popup menu. Popup menu will be shown when user right click on the tab of TdiPane or user drag a tab and drop in the middle of a tab group. In the first case, onTab is true. In the second case, onTab is false.

Parameters:
menu - Popup menu to be customized
dockingManager - the DockingManager
dockableFrame - the DockableFrame for the popup menu
onTab - true if the popup menu is trigger by right click on tab, false if on the title bar

JIDE 3.5.15