JIDE 3.5.15

com.jidesoft.document
Interface PopupMenuCustomizer


public interface PopupMenuCustomizer

Interface to customer a popup menu in any IDocumentPane.


Method Summary
 void customizePopupMenu(JPopupMenu menu, IDocumentPane pane, String dragComponentName, IDocumentGroup dropGroup, boolean onTab)
          Allow user to customize the popup menu.
 

Method Detail

customizePopupMenu

void customizePopupMenu(JPopupMenu menu,
                        IDocumentPane pane,
                        String dragComponentName,
                        IDocumentGroup dropGroup,
                        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
pane - the DocumentPane
dragComponentName - the name of drag document
dropGroup - the document group
onTab - true if the popup menu is trigger by right click on tab

JIDE 3.5.15