Chapter 4. Description of the user interface

Table of Contents

The Toolbar
New Document
Open Document
Save Document
Save Document As...
Undo
Redo
Cut
Copy
Paste
Search & Replace
Attributes Palette
Insert Current Element
Informations
The Open Document Dialog
The File Panes
The History
The Search and Replace Dialog
Search For:
Replace With:
Direction:
Regular Expression:
The Insertion Palette
The Attributes Palette
Set:
Name:
Value:
Type:
Default:
Apply:
Revert:
Close:

In this chapter, we will take an in-depth look at the XMLEditor's user interface.

The Toolbar

The XMLEditor provides shortcut to its most used actions via its dockable toolbar. Depending on your current Look & Feel, this toolbar may be dockable. You may make an independent palette out of it, or drag it on the main window's sides as it suits you best.

Figure 4.1. The XMLEditor's Toolbar

New Document

Create a new document based on a specified DTD and an optionnal Stylesheet. Pressing this button will display the Create New Document Dialog.

Figure 4.2. New Document Icon

Open Document

Click this button to open the Open Document dialog.

Figure 4.3. Open Document Icon

Save Document

Saves the current document

Figure 4.4. Save Document Icon

Save Document As...

Opens a Save As... dialog for the current document.

Figure 4.5. Save As... Icon

Undo

Clicking this button will undo the previous action.

Figure 4.6. Undo Icon

Redo

Clicking this button will cancel the previous redo.

Figure 4.7. Redo Icon

Cut

This action is enabled when text is selected. It removes the content of the selection and puts it in the clipboard. Text from multiple elements with different parents cannot be cut.

Figure 4.8. Cut Icon

Copy

Copies the selected text into the clipboard.

Figure 4.9. Copy Icon

Paste

Pastes the contents of the clipboard at the current cursor position.

Figure 4.10. Paste Icon

Search & Replace

This icon invokes the Search & Replace dialog.

Figure 4.11. Search & Replace Icon

Attributes Palette

Clicking this icon toggles the visisbility of the Attribute Palette.

Figure 4.12. Attributes Palette Icon

Insert Current Element

Click this icon to insert an element of the same type as the current element at the cursor position.

Figure 4.13. Insert Current Element Icon

Informations

To get any information about the editor, click on this icon, then click on any element you would like to know more about. You can select elements from the document as well as other buttons.

Figure 4.14. Informations icon