When you create a new schema document or open an existing one the Editor
Panel is divided in two sections: one containing the Schema Diagram and the
second the source code. The Diagram View has two tabbed panes offering a
Full Model View and a Logical Model View. The following references can be expanded in place: elements, attributes,
groups, assigned types, base types, substitution elements and identity
constraints. This coupled with the synchronization support makes the schema
navigation easy. At the top of the diagram view there are buttons corresponding to the
following actions: -
Show only the selected component
It is a two state button. When it is turned on the diagram
view presents only the top level definition of the schema from
the cursor position and it is updated when the cursor goes to
another definition. When it is turned off the view presents all
the schema definitions. -
Expand to references
This option controls how the schema diagram is automatically
expanded. For instance if you select it and then edit a top
level element or you make a refresh, the diagram will be
expanded until it reaches referred components. If this is left
unchecked, only the first level of the diagram is expanded,
showing the top level elements. For large schemas, the editor disables this option
automatically. -
Show/Hide Annotations
Depending on its state (selected/not selected), the
documentation nodes are shown or hidden. -
Show/Hide Comments
Depending on its state (selected/not selected), the comment
nodes are shown or hidden. -
Refresh
Refreshes the Schema Diagram according to the changes in your
code (changes in your imported documents or those that are not
reflected automatically in the compiled schema) -
Print
Prints the diagram. <oXygen/> will split and print your Schema on
multiple pages if it is a large document. Each page will be
surrounded with a frame and will contain information about the
neighboring pages. -
Save as Image
Saves the Schema Diagram as a JPEG Image.
The contextual menu offers quick access
to: Add child: offers a list of possible items to be added as children
of the current node. Insert before: offers a list of possible items to be added before
the current node. Insert after: offers a list of possible items to be added after
the current node. Edit attributes for the
selected node. A dialog is presented allowing the user to see and
edit the attributes of the selected node. See here for more details
about editing attributes.This action can also be triggered by
double-clicking an element. Remove: allows the user to remove the current element. Collapse Children action and Expand Children action to collapse
and expand all the children of the current element with only one
action Print action and Print Selection action to print the schema or
only the currently selected components of the schema on paper Save as Image action and Save Selection as image action to save
the schema or the currently selected schema components as an image
on disk Generate Sample XML Files action to launch the XML
instance generation tool Refresh action to rebuild the model of the currently selected
element from the schema file on disk.
Also, the contextual menu offers access to the Collapse children, Expand
children, Print, Print selection, Save as Image, Save Selection as Image and
Refresh actions. The diagram can be saved as JPEG, PNG and BMP image.
© 2008 syncRO soft ltd. |