Class TextPopupMenuCustomizer


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void customizePopUpMenu​(java.lang.Object popUp, WSTextEditorPage textPage)
      Customize a pop-up menu in the Text page before showing it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextPopupMenuCustomizer

        public TextPopupMenuCustomizer()
    • Method Detail

      • customizePopUpMenu

        public abstract void customizePopUpMenu​(java.lang.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.