Class TextPopupMenuCustomizer
java.lang.Object
ro.sync.exml.workspace.api.editor.page.text.TextPopupMenuCustomizer
Can be used to customize a pop-up menu before showing it.
- Since:
- 14.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
customizePopUpMenu
(Object popUp, WSTextEditorPage textPage) Customize a pop-up menu in the Text page before showing it.
-
Constructor Details
-
TextPopupMenuCustomizer
public TextPopupMenuCustomizer()
-
-
Method Details
-
customizePopUpMenu
Customize a pop-up menu in the Text page before showing it. If everything is removed then the menu will not be shown.
For the standalone implementation the object is a JPopupMenu.
For the eclipse implementation the object is a IMenuManager.- Parameters:
popUp
- The pop-up Menu.textPage
- The page over which the pop-up will be presented.
-