Salome HOME
32b1e00b370660869dc172d2e24922bb746fbabd
[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 widgets
35 const static char* WDG_POINT_SELECTOR = "point_selector";
36 const static char* WDG_POINT2D_DISTANCE = "point2ddistance";
37 const static char* WDG_FEATURE_SELECTOR = "feature_selector";
38 const static char* WDG_FEATURE_OR_ATTRIBUTE_SELECTOR = "feature_or_attribute_selector";
39 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
40 const static char* WDG_FILE_SELECTOR= "file_selector";
41
42
43 //Common Widget's or Feature's Properties
44 const static char* _ID = "id";
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_INTERNAL = "internal";
51 // TODO: Rename
52 const static char* PREVIOUS_FEATURE_PARAM = "previous_feature_param";
53 const static char* ANY_WDG_TOOLTIP = FEATURE_TOOLTIP;
54 const static char* ANY_WDG_ICON = FEATURE_ICON;
55 const static char* ANY_WDG_LABEL = "label";
56
57 const static char* SOURCE_FILE = "path";
58 const static char* VALIDATOR_PARAMETERS = "parameters";
59
60 // doublevalue properties:
61 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
62 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
63 const static char* DOUBLE_WDG_MIN = "min";
64 const static char* DOUBLE_WDG_MAX = "max";
65 const static char* DOUBLE_WDG_STEP = "step";
66 const static char* DOUBLE_WDG_DFLT = "default";
67
68 //toolbox/switch properties
69 const static char* CONTAINER_PAGE_NAME = "title";
70
71 /*
72  * Hardcoded xml entities of plugins.xml
73  */
74 const static char* NODE_PLUGIN = "plugin";
75 const static char* NODE_PLUGINS = "plugins";
76
77 const static char* PLUGINS_MODULE = "module";
78 const static char* PLUGIN_CONFIG = "configuration";
79 const static char* PLUGIN_LIBRARY = "library";
80
81 #endif /* CONFIG_KEYWORDS_H_ */