com.jidesoft.document
Interface PopupMenuCustomizer
public interface PopupMenuCustomizer
Interface to customer a popup menu in any IDocumentPane.
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 customizedpane
- the DocumentPanedragComponentName
- the name of drag documentdropGroup
- the document grouponTab
- true if the popup menu is trigger by right click on tab