Mark Fletcher wrote:
> I've been reading over the doc, but I find this a little unclear. Is
> there any way to add a custom XXE command to a default GUI menu? Or can
> you only do that with Java-based commands?

That's right. If you want to a add a command to a default GUI menu, it
must be a command written in Java[tm]. It cannot be a macro command or a
process command.

Here's an example:
http://www.xmlmind.com/xmleditor/_distrib/doc/gui/characters_menu.html

The above example uses standard command "insertString" but it is also
possible to use a custom command declared in custom.xxe_gui as explained
here: http://www.xmlmind.com/xmleditor/_distrib/doc/gui/command.html

The only way to use a macro command or a process command in a default
GUI menu is to use a macro command or a process command which is
specific to a type of document in *substitution* to a standard menu item.

Example: File|Print works normally except when a DocBook document is
opened, in such case File|Print converts the DocBook document to
PostScript using FOP and sends the result to the Printer. This is
explained here:
http://www.xmlmind.com/xmleditor/_distrib/doc/gui/contextual_print.html

Reply via email to