]> SALOME platform Git repositories - modules/shaper.git/blob - src/Config/Config_Keywords.h
Salome HOME
Reverted some changes in salome build/run scripts.
[modules/shaper.git] / src / Config / Config_Keywords.h
1 // Copyright (C) 2014-2017  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or
18 // email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
19 //
20
21 #ifndef CONFIG_KEYWORDS_H_
22 #define CONFIG_KEYWORDS_H_
23
24 /*
25  * Hardcoded xml entities of plugin-*.xml
26  */
27 const static char* NODE_WORKBENCH = "workbench";
28 const static char* NODE_GROUP = "group";
29 const static char* NODE_FEATURE = "feature";
30 const static char* NODE_SOURCE = "source";
31 const static char* NODE_VALIDATOR = "validator";
32 const static char* NODE_XMLPARENT = "libxml_parent";
33
34 // Property panels
35 const static char* PROPERTY_PANEL_ID = "property_panel_id";
36
37 // Widgets
38 const static char* WDG_INFO = "label";
39 const static char* WDG_DOUBLEVALUE = "doublevalue";
40 const static char* WDG_DOUBLEVALUELABEL = "labelvalue";
41 const static char* WDG_INTEGERVALUE = "integervalue";
42 const static char* WDG_BOOLVALUE = "boolvalue";
43 const static char* WDG_STRINGVALUE = "stringvalue";
44 const static char* WDG_NAMEVALUE = "namevalue";
45 const static char* WDG_MULTISELECTOR = "multi_selector";
46 const static char* WDG_SHAPE_SELECTOR = "shape_selector";
47 const static char* WDG_FEATURE_SELECTOR = "feature_selector";
48 const static char* WDG_CONCEALED_OBJECTS_VIEW = "concealed_objects_view";
49 const static char* WDG_CHOICE = "choice";
50 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
51 const static char* WDG_FILE_SELECTOR= "file_selector";
52 const static char* WDG_EXPR_EDITOR = "expr_editor";
53 const static char* WDG_PLACE_HOLDER = "placeholder";
54 const static char* WDG_ACTION = "action";
55 const static char* WDG_POINT_INPUT = "point_input";
56
57 // Containers
58 const static char* WDG_GROUP = "groupbox";
59 const static char* WDG_OPTIONALBOX = "optionalbox";
60 const static char* WDG_TOOLBOX = "toolbox";
61 const static char* WDG_RADIOBOX = "radiobox";
62 const static char* WDG_RADIOBOX_ITEM = "radio";
63 const static char* WDG_TOOLBOX_BOX = "box";
64 const static char* WDG_SWITCH = "switch";
65 const static char* WDG_SWITCH_CASE = "case";
66 // Common properties (xml attributes of nodes)
67 const static char* _ID = "id";
68 // NODE_WORKBENCH properties
69 const static char* WORKBENCH_DOC = "document";
70 // NODE_SOURCE properties
71 const static char* SOURCE_FILE = "path";
72 // NODE_FEATURE properties
73 const static char* FEATURE_TOOLTIP = "tooltip";
74 const static char* GROUP_TOOLBAR = "toolbar";
75 const static char* FEATURE_ICON = "icon";
76 const static char* FEATURE_TEXT = "title";
77 const static char* HELP_FILE = "helpfile";
78 const static char* FEATURE_KEYSEQUENCE = "keysequence";
79 const static char* FEATURE_NESTED = "nested";
80 const static char* FEATURE_WHEN_NESTED = "when_nested";
81 const static char* FEATURE_WHEN_NESTED_ACCEPT = "accept";
82 const static char* FEATURE_WHEN_NESTED_ABORT = "abort";
83 const static char* FEATURE_DOC = WORKBENCH_DOC;
84 const static char* FEATURE_MODAL = "modal";
85 const static char* FEATURE_APPLY_CONTINUE = "apply_continue";
86 const static char* FEATURE_AUTO_PREVIEW = "auto_preview";
87 // NODE_VALIDATOR properties
88 const static char* _PARAMETERS = "parameters";
89
90 // Widget (attribute) properties
91 const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
92 const static char* ATTR_ICON = FEATURE_ICON;
93 const static char* ATTR_LABEL = "label";
94 const static char* ATTR_STYLE_SHEET = "styleSheet";
95 const static char* ATTR_DEFAULT = "default";
96 const static char* ATTR_INTERNAL = "internal";
97 const static char* ATTR_OBLIGATORY = "obligatory";
98 const static char* ATTR_CONCEALMENT = "concealment";
99 const static char* ATTR_USE_RESET = "use_reset";
100 const static char* ATTR_GREED = "greed";
101 const static char* ATTR_MODIFIED_IN_EDIT = "modified_in_edit";
102 const static char* ATTR_MAIN_ARG = "main_argument";
103
104 // WDG_INFO properties
105 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
106 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
107 // WDG_DOUBLEVALUE properties:
108 const static char* DOUBLE_WDG_MIN = "min";
109 const static char* DOUBLE_WDG_MAX = "max";
110 const static char* DOUBLE_WDG_STEP = "step";
111 const static char* DOUBLE_WDG_DEFAULT_COMPUTED = "computed";
112 const static char* DOUBLE_WDG_ACCEPT_EXPRESSIONS = "accept_expressions";
113 const static char* DOUBLE_WDG_ENABLE_VALUE = "enable_value";
114
115 const static char* DOUBLE_WDG_ENABLE_VALUE_BY_PREFERENCES = "enable_by_preferences";
116
117 // WDG_TOOLBOX/WDG_SWITCH properties
118 const static char* CONTAINER_PAGE_NAME = "title";
119 const static char* CONTAINER_PAGE_ICON = "icon";
120
121 /*
122  * Hardcoded xml entities of plugins.xml
123  */
124
125 const static char* PLUGIN_FILE = "plugins.xml";
126 const static char* NODE_PLUGIN = "plugin";
127 const static char* NODE_PLUGINS = "plugins";
128
129 const static char* PLUGINS_MODULE = "module";
130 const static char* PLUGIN_CONFIG = "configuration";
131 const static char* PLUGIN_LIBRARY = "library";
132 const static char* PLUGIN_SCRIPT = "script";
133 const static char* PLUGIN_DEPENDENCY = "dependency";
134 const static char* PLUGIN_USES = "uses";
135
136 /*
137  * Hardcoded xml entities of dataModel.xml
138  */
139 const static char* DATAMODEL_FILE = "dataModel.xml";
140 const static char* NODE_FOLDER = "folder";
141 const static char* FOLDER_NAME = "name";
142 const static char* GROUP_TYPE = "group_type";
143 const static char* ROOT_DOCUMENT = "root_document";
144 const static char* SUB_DOCUMENT = "sub_document";
145 const static char* NODE_ICON = "icon";
146 const static char* SHOW_EMPTY = "show_empty";
147 const static char* LINK_ITEM = "from_result";
148 const static char* FOLDER_FEATURES = "folder_features";
149
150 #endif /* CONFIG_KEYWORDS_H_ */