On 03/18/2012 11:48 PM, Manuel Collado wrote: > El 17/03/2012 11:05, Hussein Shafie escribió: >> On 03/16/2012 11:48 AM, Manuel Collado wrote: >>> >>> IIRC, once upon a time there was a XXE version that allowed to do that. >>> I've looked for this feature in the docs, without success. Am I missing >>> something? >> >> We have removed the preference which allowed to activate an Edit dialog >> box rather than the Edit tool. >> >> Our rationale was: >> >> * A modal dialog box which appears in the middle of the main window >> (possibly hiding what you are currently modifying) is not much >> ``seamless'' than a non-modal pane which is found at the top/right of >> the window. >> >> * Modal dialog boxes often cause keyboard focus problems. >> --- >> PS: For the curious. If you edit the GUI specification of XMLmind XML >> Editor and comment out the Edit tool, I guess that XXE will fallback to >> the Edit dialog box. >> >> See http://www.xmlmind.com/xmleditor/_distrib/doc/gui/index.html > > This document says: "The base GUI specification is by default[4] > xxe-gui:app/Professional.xxe_gui, which is a resource contained in > xxe_app.jar"
"xxe_app.jar" is an error in the documentation. It's "xxe.jar". > > But there is no visible xxe_app.jar in my XXE installation. After a bit > of search I've found the base GUI spec in: > > <XXE_dir>\bin\xxe.jar\gui\app\common.xxe_gui > > (included by Professional.xxe_gui at the same location) > > Is it the expected place? Yes. However there is no need to change anything in xxe.jar. How to extensively change the GUI of XXE is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/gui/alternate_base_gui_spec.html Also note that "XMLmind XML Editor - Customizing the User Interface" contains direct references to all the stock GUI files, so there is no need to browse the contents of xxe.jar. Example: http://www.xmlmind.com/xmleditor/_distrib/doc/gui/gui/app/Professional.xxe_gui > > > On the other hand, what I was trying to suggest was not a modal edit > dialog, but a submenu of the right-click pop-up menu that offers a list > of valid element names for inserting at a given place. This list would be too large to be usable and this, even for a mid-size schema such as XHTML. > > Is it possible to customize the right-click, context-sensitive pop-up? Yes. You need to redefine this standard binding in your customize.xxe file: <binding> <mousePressed button="3"/> <command name="editMenu"/> </binding> See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/binding.html See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/editMenu.html And most importantly, see http://www.xmlmind.com/xmleditor/_distrib/doc/commands/menu_reference.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

