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