Salome HOME
updated copyright message
[modules/shaper.git] / src / Config / Config_Keywords.h
1 // Copyright (C) 2014-2023  CEA, EDF
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 email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef CONFIG_KEYWORDS_H_
21 #define CONFIG_KEYWORDS_H_
22
23 #include <Config_def.h>
24
25 /*
26  * Hardcoded xml entities of plugin-*.xml
27  */
28 MAYBE_UNUSED const static char* NODE_WORKBENCH = "workbench";
29 MAYBE_UNUSED const static char* NODE_GROUP = "group";
30 MAYBE_UNUSED const static char* NODE_FEATURE = "feature";
31 MAYBE_UNUSED const static char* NODE_SOURCE = "source";
32 MAYBE_UNUSED const static char* NODE_VALIDATOR = "validator";
33 MAYBE_UNUSED const static char* NODE_XMLPARENT = "libxml_parent";
34
35 // Property panels
36 MAYBE_UNUSED const static char* PROPERTY_PANEL_ID = "property_panel_id";
37
38 // Widgets
39 MAYBE_UNUSED const static char* WDG_INFO = "label";
40 MAYBE_UNUSED const static char* WDG_UNDOLABEL = "undo_label";
41 MAYBE_UNUSED const static char* WDG_DOUBLEVALUE = "doublevalue";
42 MAYBE_UNUSED const static char* WDG_DOUBLEVALUELABEL = "labelvalue";
43 MAYBE_UNUSED const static char* WDG_INTEGERVALUE = "integervalue";
44 MAYBE_UNUSED const static char* WDG_BOOLVALUE = "boolvalue";
45 MAYBE_UNUSED const static char* WDG_STRINGVALUE = "stringvalue";
46 MAYBE_UNUSED const static char* WDG_NAMEVALUE = "namevalue";
47 MAYBE_UNUSED const static char* WDG_MULTISELECTOR = "multi_selector";
48 MAYBE_UNUSED const static char* WDG_SHAPE_SELECTOR = "shape_selector";
49 MAYBE_UNUSED const static char* WDG_FEATURE_SELECTOR = "feature_selector";
50 MAYBE_UNUSED const static char* WDG_CONCEALED_OBJECTS_VIEW = "concealed_objects_view";
51 MAYBE_UNUSED const static char* WDG_CHOICE = "choice";
52 MAYBE_UNUSED const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
53 MAYBE_UNUSED const static char* WDG_FILE_SELECTOR= "file_selector";
54 MAYBE_UNUSED const static char* WDG_EXPR_EDITOR = "expr_editor";
55 MAYBE_UNUSED const static char* WDG_PLACE_HOLDER = "placeholder";
56 MAYBE_UNUSED const static char* WDG_ACTION = "action";
57 MAYBE_UNUSED const static char* WDG_POINT_INPUT = "point_input";
58 MAYBE_UNUSED const static char* WDG_SELECTION_FILTERS = "selection_filters";
59
60 // Containers
61 MAYBE_UNUSED const static char* WDG_GROUP = "groupbox";
62 MAYBE_UNUSED const static char* WDG_OPTIONALBOX = "optionalbox";
63 MAYBE_UNUSED const static char* WDG_TOOLBOX = "toolbox";
64 MAYBE_UNUSED const static char* WDG_RADIOBOX = "radiobox";
65 MAYBE_UNUSED const static char* WDG_RADIOBOX_ITEM = "radio";
66 MAYBE_UNUSED const static char* WDG_TOOLBOX_BOX = "box";
67 MAYBE_UNUSED const static char* WDG_SWITCH = "switch";
68 MAYBE_UNUSED const static char* WDG_SWITCH_CASE = "case";
69 MAYBE_UNUSED const static char* WDG_FILTER = "filter";
70
71 // Common properties (xml attributes of nodes)
72 MAYBE_UNUSED const static char* _ID = "id";
73 // NODE_WORKBENCH properties
74 MAYBE_UNUSED const static char* WORKBENCH_DOC = "document";
75 // NODE_SOURCE properties
76 MAYBE_UNUSED const static char* SOURCE_FILE = "path";
77 // NODE_FEATURE properties
78 MAYBE_UNUSED const static char* FEATURE_TOOLTIP = "tooltip";
79 MAYBE_UNUSED const static char* GROUP_TOOLBAR = "toolbar";
80 MAYBE_UNUSED const static char* FEATURE_ICON = "icon";
81 MAYBE_UNUSED const static char* FEATURE_TEXT = "title";
82 MAYBE_UNUSED const static char* HELP_FILE = "helpfile";
83 MAYBE_UNUSED const static char* ABORT_CONFIRMATION = "abort_confirmation";
84 MAYBE_UNUSED const static char* HIDEFACES_PANEL = "hidefaces_panel";
85 MAYBE_UNUSED const static char* FEATURE_KEYSEQUENCE = "keysequence";
86 MAYBE_UNUSED const static char* FEATURE_NESTED = "nested";
87 MAYBE_UNUSED const static char* FEATURE_WHEN_NESTED = "when_nested";
88 MAYBE_UNUSED const static char* FEATURE_WHEN_NESTED_ACCEPT = "accept";
89 MAYBE_UNUSED const static char* FEATURE_WHEN_NESTED_ABORT = "abort";
90 MAYBE_UNUSED const static char* FEATURE_DOC = WORKBENCH_DOC;
91 MAYBE_UNUSED const static char* FEATURE_MODAL = "modal";
92 MAYBE_UNUSED const static char* FEATURE_APPLY_CONTINUE = "apply_continue";
93 MAYBE_UNUSED const static char* FEATURE_AUTO_PREVIEW = "auto_preview";
94 MAYBE_UNUSED const static char* FEATURE_TITLE_IN_TOOLBAR = "titleInToolbar";
95 // NODE_VALIDATOR properties
96 MAYBE_UNUSED const static char* _PARAMETERS = "parameters";
97
98 // Widget (attribute) properties
99 MAYBE_UNUSED const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
100 MAYBE_UNUSED const static char* ATTR_ICON = FEATURE_ICON;
101 MAYBE_UNUSED const static char* ATTR_LABEL = "label";
102 MAYBE_UNUSED const static char* ATTR_STYLE_SHEET = "styleSheet";
103 MAYBE_UNUSED const static char* ATTR_IS_SELECTABLE = "isSelectable";
104 MAYBE_UNUSED const static char* ATTR_HTML_STYLE = "isHTML";
105 MAYBE_UNUSED const static char* ATTR_DEFAULT = "default";
106 MAYBE_UNUSED const static char* ATTR_INTERNAL = "internal";
107 MAYBE_UNUSED const static char* ATTR_OBLIGATORY = "obligatory";
108 MAYBE_UNUSED const static char* ATTR_CONCEALMENT = "concealment";
109 MAYBE_UNUSED const static char* ATTR_USE_RESET = "use_reset";
110 MAYBE_UNUSED const static char* ATTR_GREED = "greed";
111 MAYBE_UNUSED const static char* ATTR_MODIFIED_IN_EDIT = "modified_in_edit";
112 MAYBE_UNUSED const static char* ATTR_MAIN_ARG = "main_argument";
113 MAYBE_UNUSED const static char* ATTR_GEOMETRICAL_SELECTION = "geometrical_selection";
114 MAYBE_UNUSED const static char* ATTR_VISUAL_CHANGED = "change_visual_attributes";
115
116
117 // WDG_INFO properties
118 MAYBE_UNUSED const static char* INFO_WDG_TEXT = FEATURE_TEXT;
119 MAYBE_UNUSED const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
120 // WDG_DOUBLEVALUE properties:
121 MAYBE_UNUSED const static char* DOUBLE_WDG_MIN = "min";
122 MAYBE_UNUSED const static char* DOUBLE_WDG_MAX = "max";
123 MAYBE_UNUSED const static char* DOUBLE_WDG_STEP = "step";
124 MAYBE_UNUSED const static char* DOUBLE_WDG_DEFAULT_COMPUTED = "computed";
125 MAYBE_UNUSED const static char* DOUBLE_WDG_ACCEPT_EXPRESSIONS = "accept_expressions";
126 MAYBE_UNUSED const static char* DOUBLE_WDG_ENABLE_VALUE = "enable_value";
127
128 MAYBE_UNUSED const static char* DOUBLE_WDG_ENABLE_VALUE_BY_PREFERENCES = "enable_by_preferences";
129
130 // WDG_TOOLBOX/WDG_SWITCH properties
131 MAYBE_UNUSED const static char* CONTAINER_PAGE_NAME = "title";
132 MAYBE_UNUSED const static char* CONTAINER_PAGE_ICON = "icon";
133
134 /*
135  * Hardcoded xml entities of plugins.xml
136  */
137
138 MAYBE_UNUSED const static char* PLUGIN_FILE = "plugins.xml";
139 MAYBE_UNUSED const static char* NODE_PLUGIN = "plugin";
140 MAYBE_UNUSED const static char* NODE_PLUGINS = "plugins";
141
142 MAYBE_UNUSED const static char* PLUGINS_MODULE = "module";
143 MAYBE_UNUSED const static char* PLUGIN_CONFIG = "configuration";
144 MAYBE_UNUSED const static char* PLUGIN_LIBRARY = "library";
145 MAYBE_UNUSED const static char* PLUGIN_SCRIPT = "script";
146 MAYBE_UNUSED const static char* PLUGIN_DEPENDENCY = "dependency";
147 MAYBE_UNUSED const static char* PLUGIN_USES = "uses";
148 MAYBE_UNUSED const static char* PLUGIN_DOCSECTION = "docsection";
149 MAYBE_UNUSED const static char* PLUGIN_LICENSE = "license";
150
151 /*
152  * Hardcoded xml entities of dataModel.xml
153  */
154 MAYBE_UNUSED const static char* DATAMODEL_FILE = "dataModel.xml";
155 MAYBE_UNUSED const static char* NODE_FOLDER = "folder";
156 MAYBE_UNUSED const static char* FOLDER_NAME = "name";
157 MAYBE_UNUSED const static char* GROUP_TYPE = "group_type";
158 MAYBE_UNUSED const static char* ROOT_DOCUMENT = "root_document";
159 MAYBE_UNUSED const static char* SUB_DOCUMENT = "sub_document";
160 MAYBE_UNUSED const static char* NODE_ICON = "icon";
161 MAYBE_UNUSED const static char* SHOW_EMPTY = "show_empty";
162 MAYBE_UNUSED const static char* LINK_ITEM = "from_result";
163 MAYBE_UNUSED const static char* FOLDER_FEATURES = "folder_features";
164
165 #endif /* CONFIG_KEYWORDS_H_ */