Salome HOME
Selection validators improvements
[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
33 //Specific widget containers
34 const static char* WDG_POINT_SELECTOR = "point_selector";
35 const static char* WDG_POINT2D_DISTANCE = "point2ddistance";
36
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
41 //Common Widget's or Feature's Properties
42 const static char* _ID = "id";
43 const static char* FEATURE_TOOLTIP = "tooltip";
44 const static char* FEATURE_ICON = "icon";
45 const static char* FEATURE_TEXT = "title";
46 const static char* FEATURE_KEYSEQUENCE = "keysequence";
47 const static char* FEATURE_NESTED = "nested";
48 const static char* FEATURE_INTERNAL = "internal";
49 // TODO: Rename
50 const static char* PREVIOUS_FEATURE_PARAM = "previous_feature_param";
51 const static char* ANY_WDG_TOOLTIP = FEATURE_TOOLTIP;
52 const static char* ANY_WDG_ICON = FEATURE_ICON;
53 const static char* ANY_WDG_LABEL = "label";
54
55 const static char* SOURCE_FILE = "path";
56 const static char* VALIDATOR_PARAMETERS = "parameters";
57
58 // doublevalue properties:
59 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
60 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
61 const static char* DOUBLE_WDG_MIN = "min";
62 const static char* DOUBLE_WDG_MAX = "max";
63 const static char* DOUBLE_WDG_STEP = "step";
64 const static char* DOUBLE_WDG_DFLT = "default";
65
66 //toolbox/switch properties
67 const static char* CONTAINER_PAGE_NAME = "title";
68
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_ */