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