|
# Overview # |
Default Jext interface displays a panel containing a tree on the left of the window. This panel is called the XInsert Panel and the tree XTree. The tree is dynamically built from a set of XML files shipped with Jext. Yet, you can add your own items in the XTree by creating your own XInsert definition files. |
The XInsert panel is an easy way to add pre-defined text in your documents. For instance, the Java node is able to insert the GNU/GPL licence in your document. The XTree can also hold scripts which can act as macros. This page is dedicated to the use of the XInsert panel and the writing of the XInsert files. |
|
# XInsert Panel # |
The XInsert Panel layout is very simple. On the top of the panel, there are two buttons: Collapse and Expand. The first one will collapse all the XTree nodes whereas the second one will expand all the nodes. |
On the bottom of the panel, there are two check boxes. The Add A Line Break box will, if checked, adds a line break at the end of the inserted text. The other box, Execute Scripts, allow to switch between execution and insert modes for scripted items. Indeed, some of the items holded in the XTree are scripts. If you check the box, they will be normally executed (and this way act as macros). Otherwise, the script source will be inserted in your document. The bottom also provides a button called Reload. Clicking this button will simply reload the entire XTree from XML files. This is very useful when you want to load a new XInsert file without having to restart Jext. |
The most important component of the XInsert panel is the XTree. This tree contains a set of nodes which can be expanded to access other nodes or items. If you single-click on an item, its content will be inserted in your document. To expand/collapse a node, double-click it. |
|
# XInsert Files # |
|
[ Previous | Index | Next ] |
by Romain Guy Last update: 06/04/2000 Generated by Gaïa v1.4 |