AppPart?AppParts —application parts— are high-level building blocks used to create and extend the XMLmind XML Editor desktop application.
Prerequisite: this concept is introduced in XMLmind XML Editor - Customizing the User Interface. Therefore you'll have to read at least the first few chapters of this document before studying this lesson.
AppPart?All stock AppParts are declared in DesktopApp.xxe_gui, which specifies the stock GUI of the XMLmind XML Editor desktop application.
Custom AppParts must be declared in files called customize.xxe_gui. Such files are found anywhere inside the directory, where XXE_user_preferences_dir/addon/ is:XXE_user_preferences_dir/
$HOME/.xxe11/ on Linux.
$HOME/Library/Application Support/XMLmind/XMLEditor11/ on the Mac.
%APPDATA%\XMLmind\XMLEditor11\ on Windows. Example: C:\Users\john\AppData\Roaming\XMLmind\XMLEditor11\.
If you cannot see the "AppData" directory using Microsoft Windows File Manager, turn on Tools>Folder Options>View>File and Folders>Show hidden files and folders.
Examples:
<action name="aboutAction" label="_About This Document Editor"> <class>AboutAction</class> </action> <tool name="countWordsTool"> <class>CountWordsTool</class> </tool>
AppPart?Implement interface AppPart or one of the interfaces specializing AppPart. More information in the sections below. See also Chapter 15, Sample application parts.