|
ToolsFile Structure
The toolbar is configured using an XML ToolsFile, which defines:
- the number of toolbars (and system modules)
- the collection of buttons in each toolbar and their order
- the specific options (if any) for the respective tools (i.e. Fonts collections, Colors collection, etc.)
- the dockability of each toolbar
- the default docking zone for each toolbar
Below is an example of a ToolsFile with one dockable toolbar:
<tools name="MainToolbar" dockable="true">
<tool name="SpellCheck" />
<tool name="Print" shortcut="CTRL+P"/>
<tool name="FindAndReplace" shortcut="CTRL+F"/>
</tools>
<modules>
<module name="RadEditorDomInspector" dockingZone="Module"
enabled="true" visible="true" />
<module name="RadEditorNodeInspector" dockingZone="Module"
enabled="true" visible="true" dockable="false" />
<module name="RadEditorHtmlInspector" dockingZone="Module"
enabled="true" visible="false" />
</modules>
<dialogParameters>
<dialog name="TableProperties">
<parameter
name="ShowAccessibilityTab" value="true"></parameter>
</dialog>
</dialogParameters>
<colors>
<color name="red"></color>
<color name="green"></color>
<color name="blue"></color>
</colors>
<paragraphs>
</paragraphs>
<links>
<link name="Search Engines">
<link name="Google" href="http://www.google.com"
/>
<link name="Yahoo" href="http://www.yahoo.com"
/>
<link name="AltaVista" href="http://www.altavista.com"
/>
</link>
</links>
<symbols>
<item name="z"></item>
<item name="2"></item>
<item name="x"></item>
<item name="4"></item>
<item name="s"></item>
</symbols>
<fontNames>
<item name="Verdana"></item>
<item name="Tahoma"></item>
<item name="ms sans serif"></item>
<item name="Arial"></item>
</fontNames>
<fontSizes>
<item value="1"></item>
<item value="2"></item>
<item value="3"></item>
<item value="4"></item>
</fontSizes>
<classes>
</classes>
|