Salome HOME
optim eciture
[tools/eficas.git] / Doc / ajouter_une_commande.rst
1 Add a command
2 =============
3
4 Eficas  allows you to create or edit a dataset. Remember it is always possible to save (or read) invalid datasets.
5 Building dataset consists of adding new commands, entering parameter values and if necessary naming concepts.
6 see : :ref:`concept-label`.
7 |
8 Eficas provides two different widgets : first one allows you to manage commands, second one to enter values for each command.
9 You can navigate between widgets using arrows or pushbutton.
10
11 .. image:: images/CommandeBouton.png
12    :align: right
13
14 Command widget shows up at file creation (if the new file is created empty ) or when clicking  on :
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 Enter commands
30 ---------------
31
32 Eficas main widget provided two distinct areas: The left side always contains the dataset explorer as a tree view. The right widget contains all commands the user is allowed to select.
33 If a dataset consists of a single command, tree view area is not displayed.
34
35 .. image:: images/ChoixCommande.png
36    :align: center
37
38 |
39
40 To have command's **documentation** (if available), **simple-click** on the command. 
41
42 .. image:: images/Documentation1.png
43    :align: center
44
45 |
46
47
48 To **add** the command **click twice.** The new command is added after the current command (highlighted in the tree view). In case of impossibility, a message is displayed.   
49
50 .. image:: images/Ordre.png
51    :align: center
52
53 |
54
55
56
57 If the dataset must comply with  building  :ref:`rules-label`, a specific icon appears in the command widget.
58
59 .. image:: images/Regles.png
60    :align: center
61  
62 |
63
64
65 The user  also can choose the way the commands are sorted, either by alphabetical order, either by fonctionnalities.
66 Last type of sorting commands is called 'by modelisation' that is to say logical order to prepare data for the code.  
67
68 .. image:: images/Groupes.png
69    :align: center
70
71 |
72
73
74 The content filtering system is very simple : only commands containing the expression are shown.
75
76 .. image:: images/FiltreCommande.png
77    :align: center
78
79 |
80
81
82
83 The user can use "Find", which is a filter widget to find a concept or command position in the dataset. The pushbutton "next/suivant" shows the next matching concept/command. 
84
85 .. image:: images/FindConcept.png
86    :align: center
87
88