Class TextPopupMenuCustomizer

java.lang.Object
ro.sync.exml.workspace.api.editor.page.text.TextPopupMenuCustomizer

@API(type=EXTENDABLE, src=PUBLIC) public abstract class TextPopupMenuCustomizer extends Object
Can be used to customize a pop-up menu before showing it.
Since:
14.1
  • Constructor Details

    • TextPopupMenuCustomizer

      public TextPopupMenuCustomizer()
  • Method Details

    • customizePopUpMenu

      public abstract void customizePopUpMenu(Object popUp, WSTextEditorPage textPage)
      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.