Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[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 const static char* WDG_STRINGVALUE = "stringvalue";
24 const static char* WDG_MULTISELECTOR = "multi_selector";
25 //Widget containers
26 const static char* WDG_INFO = "label";
27 const static char* WDG_GROUP = "groupbox";
28 const static char* WDG_CHECK_GROUP = "check_groupbox";
29 const static char* WDG_TOOLBOX = "toolbox";
30 const static char* WDG_TOOLBOX_BOX = "box";
31 const static char* WDG_SWITCH = "switch";
32 const static char* WDG_SWITCH_CASE = "case";
33 const static char* WDG_SHAPE_SELECTOR = "shape_selector";
34 const static char* WDG_CHOICE = "choice";
35
36 //Specific widgets
37 const static char* WDG_POINT_SELECTOR = "point_selector";
38 const static char* WDG_POINT2D_DISTANCE = "point2ddistance";
39 const static char* WDG_FEATURE_SELECTOR = "feature_selector";
40 const static char* WDG_FEATURE_OR_ATTRIBUTE_SELECTOR = "feature_or_attribute_selector";
41 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
42 const static char* WDG_FILE_SELECTOR= "file_selector";
43
44
45 const static char* WORKBENCH_DOC = "document";
46 //Common Widget's or Feature's Properties
47 const static char* _ID = "id";
48 const static char* FEATURE_TOOLTIP = "tooltip";
49 const static char* FEATURE_ICON = "icon";
50 const static char* FEATURE_TEXT = "title";
51 const static char* FEATURE_KEYSEQUENCE = "keysequence";
52 const static char* FEATURE_NESTED = "nested";
53 const static char* FEATURE_INTERNAL = "internal";
54 const static char* FEATURE_OBLIGATORY = "obligatory";
55 // TODO: Rename
56 const static char* PREVIOUS_FEATURE_PARAM = "previous_feature_param";
57 const static char* ANY_WDG_TOOLTIP = FEATURE_TOOLTIP;
58 const static char* ANY_WDG_ICON = FEATURE_ICON;
59 const static char* ANY_WDG_LABEL = "label";
60 const static char* ANY_WDG_DEFAULT = "default";
61
62 const static char* SOURCE_FILE = "path";
63 const static char* VALIDATOR_PARAMETERS = "parameters";
64
65 // doublevalue properties:
66 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
67 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
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
73 //toolbox/switch properties
74 const static char* CONTAINER_PAGE_NAME = "title";
75
76 /*
77  * Hardcoded xml entities of plugins.xml
78  */
79 const static char* NODE_PLUGIN = "plugin";
80 const static char* NODE_PLUGINS = "plugins";
81
82 const static char* PLUGINS_MODULE = "module";
83 const static char* PLUGIN_CONFIG = "configuration";
84 const static char* PLUGIN_LIBRARY = "library";
85
86 #endif /* CONFIG_KEYWORDS_H_ */