What follows is a description of the customization we want to do:
Change the (desktop) title and icon of XMLmind XML Editor.
Change the dialog box displayed by
→ .Add to the status bar a small tool which allows to count the words of a document.
Extend the dialog box displayed by
→ by adding a custom ``preferences sheet''. This preferences sheet is needed to parametrize the above word count tool.Move iconic buttons which are specific to a given document type (i.e. DocBook buttons, XHTML buttons, etc) from their normal place, the standard tool bar, to a tool bar of their own. This new tool bar will be found just below the standard tool bar.
Add a custom
menu after standard menu. This menu will allow to quickly insert special characters (Greek letters, arrows) in the document being edited.To do this, we need not only to change the specification of the GUI of XXE, but also to develop custom parts in the Java™ language. These custom parts are:
an action displaying the custom About dialog box;
a word count tool;
a preferences sheet for the above word count tool.
All this is explained in Chapter 14, Application parts in XMLmind XML Editor - Developer's Guide and the custom parts are found in
with the other files of this tutorial. This being said, we can now focus on the specification of the user interface of XMLmind XML Editor.XXE_install_dir
/doc/gui/tutorial/custom_parts.jar