Difference between revisions of "Edit"

From GreenVulcano Wiki
Jump to: navigation, search
 
Line 1: Line 1:
Press "Edit" icon in correspondence of the document to modify:
+
[[File:GVConsoleEdit1.gif|thumb|Edit parameter]]
[[File:GVConsoleEdit1.gif|center|thumb|600px|Edit parameter]]
+
This section allows you edit the XML document present in the server. Those are: ''GVAdapters.xml'', ''GVSupport.xml'', ''GVCore.xml'' and ''GVVariables.xml''. Press "Edit" icon in correspondence of the document you want to modify:
  
  
As shown in the next figure, let’s see how it works the GVServices section of GVCore.  
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
[[File:GVConsoleEdit2.gif|thumb|Element interface]]
 +
In the next figure it is shown how it works the GVServices section of GVCore.  
 +
 
  
 
The configuration document has a tree structure. Each node may have some attributes and some sub-nodes. User may refer to a node as an "element" because of the XML internal representation.
 
The configuration document has a tree structure. Each node may have some attributes and some sub-nodes. User may refer to a node as an "element" because of the XML internal representation.
 +
  
 
The interface provides the display of an element, its attributes, children and ancestors, as shown in figure:
 
The interface provides the display of an element, its attributes, children and ancestors, as shown in figure:
  
[[File:GVConsoleEdit2.gif|center|thumb|600px|Element interface]]
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
  
 
The following image shows the specific editing interface of a component:
 
The following image shows the specific editing interface of a component:
[[File:GVConsoleEDit3.gif|center|thumb|600px|Interface]]
+
[[File:GVConsoleEDit3.gif|thumb|Interface]]
 
 
  
 
The user interface includes five different areas:
 
The user interface includes five different areas:
Line 38: Line 51:
 
:Show subelements ( "children") of the current element and the possible operations to add, remove and edit the children.
 
:Show subelements ( "children") of the current element and the possible operations to add, remove and edit the children.
  
 +
 +
[[File:GVConsoleEditUndoRedo.jpg|thumb|Warning]]
  
 
Some changes may not be saved because of an XML format inconsistency. A [[warning]] event will be displayed in a special area as shown in the next figure. User may click on the icon in order to analyse and resolve the inconsistency.
 
Some changes may not be saved because of an XML format inconsistency. A [[warning]] event will be displayed in a special area as shown in the next figure. User may click on the icon in order to analyse and resolve the inconsistency.
  
 
The Undo/Redo icon allows to cancel or re-execute a change.
 
The Undo/Redo icon allows to cancel or re-execute a change.
[[File:GVConsoleEditUndoRedo.jpg|center|thumb|600px|Warning]]
 
  
  
 +
 +
 +
[[File:GVConsoleEditEnableDisableTreeView.jpg|thumb|Configuration editor]]
 
Configuration may be edited through a proper XML representation tree.
 
Configuration may be edited through a proper XML representation tree.
  
The icons shown in next figure allow user to enable/disable the tree view:
 
  
[[File:GVConsoleEditEnableDisableTreeView.jpg|center|thumb|600px|Configuration editor]]
 
  
  
In order to display the configuration editor tree, click on the following icon: [[File:GVConsoleParametersActivateIcon.jpg]]
 
  
  
The tree view mode will be activated:
+
[[File:GVConsoleEditTreeViewMode.jpg|thumb|Tree view]]
[[File:GVConsoleEditTreeViewMode.jpg|center|thumb|600px|Tree view]]
+
The icons shown in next figure allow user to enable/disable the tree view.
 +
 
 +
 
 +
In order to display the configuration editor tree, click on the following icon: [[File:GVConsoleParametersActivateIcon.jpg]]
  
  
Tree view may be disable any time, just clicking on the icon crossed by a red X.
+
The tree view mode will be activated and may be disable any time, just clicking on the icon crossed by a red X.
  
 
The tree schema of configuration files in XML is shown on the left, with its elements and subelements.
 
The tree schema of configuration files in XML is shown on the left, with its elements and subelements.

Latest revision as of 13:49, 24 January 2012

Edit parameter

This section allows you edit the XML document present in the server. Those are: GVAdapters.xml, GVSupport.xml, GVCore.xml and GVVariables.xml. Press "Edit" icon in correspondence of the document you want to modify:





Element interface

In the next figure it is shown how it works the GVServices section of GVCore.


The configuration document has a tree structure. Each node may have some attributes and some sub-nodes. User may refer to a node as an "element" because of the XML internal representation.


The interface provides the display of an element, its attributes, children and ancestors, as shown in figure:





The following image shows the specific editing interface of a component:

Interface

The user interface includes five different areas:

Provides commands like save, discard, document search, download, viewing, element viewing. After editing is required to save or discard changes.
Displays the name of the item you are making to edit.
Shows attributes of the current element and the possible operations to add, remove and set an attribute.
Shows items that precede the current one. These links allow user to navigate the document and then return to the current item. Do not press on browser’s back button to return to the previous node.
Show subelements ( "children") of the current element and the possible operations to add, remove and edit the children.


Warning

Some changes may not be saved because of an XML format inconsistency. A warning event will be displayed in a special area as shown in the next figure. User may click on the icon in order to analyse and resolve the inconsistency.

The Undo/Redo icon allows to cancel or re-execute a change.



Configuration editor

Configuration may be edited through a proper XML representation tree.




Tree view

The icons shown in next figure allow user to enable/disable the tree view.


In order to display the configuration editor tree, click on the following icon: GVConsoleParametersActivateIcon.jpg


The tree view mode will be activated and may be disable any time, just clicking on the icon crossed by a red X.

The tree schema of configuration files in XML is shown on the left, with its elements and subelements.