Salome HOME
d1569170068bf06186a4cbd3db70d9f49a7bc5d4
[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
20 //Widgets
21 const static char* WDG_DOUBLEVALUE = "doublevalue";
22 const static char* WDG_BOOLVALUE = "boolvalue";
23 //Widget containers
24 const static char* WDG_INFO = "label";
25 const static char* WDG_GROUP = "groupbox";
26 const static char* WDG_CHECK_GROUP = "check_groupbox";
27 const static char* WDG_TOOLBOX = "toolbox";
28 const static char* WDG_TOOLBOX_BOX = "box";
29 const static char* WDG_SWITCH = "switch";
30 const static char* WDG_SWITCH_CASE = "case";
31 const static char* WDG_SELECTOR = "selector";
32 const static char* WDG_CHOICE = "choice";
33
34 //Specific widget containers
35 const static char* WDG_POINT_SELECTOR = "point_selector";
36 const static char* WDG_POINT2D_DISTANCE = "point2ddistance";
37
38 const static char* WDG_FEATURE_SELECTOR = "feature_selector";
39 const static char* WDG_FEATURE_OR_ATTRIBUTE_SELECTOR = "feature_or_attribute_selector";
40 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
41
42 //Common Widget's or Feature's Properties
43 const static char* _ID = "id";
44 const static char* FEATURE_TOOLTIP = "tooltip";
45 const static char* FEATURE_ICON = "icon";
46 const static char* FEATURE_TEXT = "title";
47 const static char* FEATURE_KEYSEQUENCE = "keysequence";
48 const static char* FEATURE_NESTED = "nested";
49 const static char* FEATURE_INTERNAL = "internal";
50 // TODO: Rename
51 const static char* PREVIOUS_FEATURE_PARAM = "previous_feature_param";
52 const static char* ANY_WDG_TOOLTIP = FEATURE_TOOLTIP;
53 const static char* ANY_WDG_ICON = FEATURE_ICON;
54 const static char* ANY_WDG_LABEL = "label";
55
56 const static char* SOURCE_FILE = "path";
57 const static char* VALIDATOR_PARAMETERS = "parameters";
58
59 // doublevalue properties:
60 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
61 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
62 const static char* DOUBLE_WDG_MIN = "min";
63 const static char* DOUBLE_WDG_MAX = "max";
64 const static char* DOUBLE_WDG_STEP = "step";
65 const static char* DOUBLE_WDG_DFLT = "default";
66
67 //toolbox/switch properties
68 const static char* CONTAINER_PAGE_NAME = "title";
69
70 /*
71  * Hardcoded xml entities of plugins.xml
72  */
73 const static char* NODE_PLUGIN = "plugin";
74 const static char* NODE_PLUGINS = "plugins";
75
76 const static char* PLUGINS_MODULE = "module";
77 const static char* PLUGIN_CONFIG = "configuration";
78 const static char* PLUGIN_LIBRARY = "library";
79
80 #endif /* CONFIG_KEYWORDS_H_ */