Oxygen XML Editor 14.2 Author API

ro.sync.exml.workspace.api.editor.page.text
Class TextPopupMenuCustomizer

java.lang.Object
  extended by ro.sync.exml.workspace.api.editor.page.text.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

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.


Constructor Summary
TextPopupMenuCustomizer()
           
 
Method Summary
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.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.