Salome HOME
Merge branch 'Dev_0.6.1' of newgeom:newgeom into Dev_0.6.1
[modules/shaper.git] / src / Config / Config_Keywords.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * Config_Keywords.h
5  *
6  *  Created on: Apr 2, 2014
7  *      Author: sbh
8  */
9
10 #ifndef CONFIG_KEYWORDS_H_
11 #define CONFIG_KEYWORDS_H_
12
13 /*
14  * Hardcoded xml entities of plugin-*.xml
15  */
16 const static char* NODE_WORKBENCH = "workbench";
17 const static char* NODE_GROUP = "group";
18 const static char* NODE_FEATURE = "feature";
19 const static char* NODE_SOURCE = "source";
20 const static char* NODE_VALIDATOR = "validator";
21 const static char* NODE_SELFILTER = "selection_filter";
22
23 // Widgets
24 const static char* WDG_INFO = "label";
25 const static char* WDG_DOUBLEVALUE = "doublevalue";
26 const static char* WDG_BOOLVALUE = "boolvalue";
27 const static char* WDG_STRINGVALUE = "stringvalue";
28 const static char* WDG_MULTISELECTOR = "multi_selector";
29 const static char* WDG_SHAPE_SELECTOR = "shape_selector";
30 const static char* WDG_CHOICE = "choice";
31 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
32 const static char* WDG_FILE_SELECTOR= "file_selector";
33 // Containers
34 const static char* WDG_GROUP = "groupbox";
35 const static char* WDG_CHECK_GROUP = "check_groupbox";
36 const static char* WDG_TOOLBOX = "toolbox";
37 const static char* WDG_TOOLBOX_BOX = "box";
38 const static char* WDG_SWITCH = "switch";
39 const static char* WDG_SWITCH_CASE = "case";
40 // Common properties (xml attributes of nodes)
41 const static char* _ID = "id";
42 // NODE_WORKBENCH properties
43 const static char* WORKBENCH_DOC = "document";
44 // NODE_SOURCE properties
45 const static char* SOURCE_FILE = "path";
46 // NODE_FEATURE properties
47 const static char* FEATURE_TOOLTIP = "tooltip";
48 const static char* FEATURE_ICON = "icon";
49 const static char* FEATURE_TEXT = "title";
50 const static char* FEATURE_KEYSEQUENCE = "keysequence";
51 const static char* FEATURE_NESTED = "nested";
52 const static char* FEATURE_DOC = WORKBENCH_DOC;
53 // NODE_VALIDATOR properties, NODE_SELFILTER properties
54 const static char* _PARAMETERS = "parameters";
55
56 // Widget (attribute) properties
57 const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
58 const static char* ATTR_ICON = FEATURE_ICON;
59 const static char* ATTR_LABEL = "label";
60 const static char* ATTR_DEFAULT = "default";
61 const static char* ATTR_INTERNAL = "internal";
62 const static char* ATTR_OBLIGATORY = "obligatory";
63 const static char* ATTR_CONCEALMENT = "concealment";
64 // WDG_INFO properties
65 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
66 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
67 // WDG_DOUBLEVALUE properties:
68 const static char* DOUBLE_WDG_MIN = "min";
69 const static char* DOUBLE_WDG_MAX = "max";
70 const static char* DOUBLE_WDG_STEP = "step";
71 const static char* DOUBLE_WDG_DEFAULT_COMPUTED = "computed";
72 // WDG_TOOLBOX/WDG_SWITCH properties
73 const static char* CONTAINER_PAGE_NAME = "title";
74
75 /*
76  * Hardcoded xml entities of plugins.xml
77  */
78
79 const static char* PLUGIN_FILE = "plugins.xml";
80 const static char* NODE_PLUGIN = "plugin";
81 const static char* NODE_PLUGINS = "plugins";
82
83 const static char* PLUGINS_MODULE = "module";
84 const static char* PLUGIN_CONFIG = "configuration";
85 const static char* PLUGIN_LIBRARY = "library";
86 const static char* PLUGIN_SCRIPT = "script";
87 const static char* PLUGIN_PLATFORM = "platform";
88
89 const static char* PLUGIN_PLATFORM_SALOME = "salome";
90 const static char* PLUGIN_PLATFORM_NEWGEOM = "openparts";
91
92
93
94 #endif /* CONFIG_KEYWORDS_H_ */