1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
6 * Created on: Apr 2, 2014
10 #ifndef CONFIG_KEYWORDS_H_
11 #define CONFIG_KEYWORDS_H_
14 * Hardcoded xml entities of plugin-*.xml
16 const static char* NODE_WORKBENCH = "workbench";
17 const static char* NODE_GROUP = "group";
18 const static char* NODE_FEATURE = "feature";
19 const static char* NODE_SOURCE = "source";
20 const static char* NODE_VALIDATOR = "validator";
21 const static char* NODE_SELFILTER = "selection_filter";
22 const static char* NODE_XMLPARENT = "libxml_parent";
25 const static char* WDG_INFO = "label";
26 const static char* WDG_DOUBLEVALUE = "doublevalue";
27 const static char* WDG_BOOLVALUE = "boolvalue";
28 const static char* WDG_STRINGVALUE = "stringvalue";
29 const static char* WDG_MULTISELECTOR = "multi_selector";
30 const static char* WDG_SHAPE_SELECTOR = "shape_selector";
31 const static char* WDG_CHOICE = "choice";
32 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
33 const static char* WDG_FILE_SELECTOR= "file_selector";
35 const static char* WDG_GROUP = "groupbox";
36 const static char* WDG_CHECK_GROUP = "check_groupbox";
37 const static char* WDG_TOOLBOX = "toolbox";
38 const static char* WDG_TOOLBOX_BOX = "box";
39 const static char* WDG_SWITCH = "switch";
40 const static char* WDG_SWITCH_CASE = "case";
41 // Common properties (xml attributes of nodes)
42 const static char* _ID = "id";
43 // NODE_WORKBENCH properties
44 const static char* WORKBENCH_DOC = "document";
45 // NODE_SOURCE properties
46 const static char* SOURCE_FILE = "path";
47 // NODE_FEATURE properties
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_WHEN_NESTED = "when_nested";
54 const static char* FEATURE_DOC = WORKBENCH_DOC;
55 // NODE_VALIDATOR properties, NODE_SELFILTER properties
56 const static char* _PARAMETERS = "parameters";
58 // Widget (attribute) properties
59 const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
60 const static char* ATTR_ICON = FEATURE_ICON;
61 const static char* ATTR_LABEL = "label";
62 const static char* ATTR_DEFAULT = "default";
63 const static char* ATTR_INTERNAL = "internal";
64 const static char* ATTR_OBLIGATORY = "obligatory";
65 const static char* ATTR_CONCEALMENT = "concealment";
66 // WDG_INFO properties
67 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
68 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
69 // WDG_DOUBLEVALUE properties:
70 const static char* DOUBLE_WDG_MIN = "min";
71 const static char* DOUBLE_WDG_MAX = "max";
72 const static char* DOUBLE_WDG_STEP = "step";
73 const static char* DOUBLE_WDG_DEFAULT_COMPUTED = "computed";
74 // WDG_TOOLBOX/WDG_SWITCH properties
75 const static char* CONTAINER_PAGE_NAME = "title";
78 * Hardcoded xml entities of plugins.xml
81 const static char* PLUGIN_FILE = "plugins.xml";
82 const static char* NODE_PLUGIN = "plugin";
83 const static char* NODE_PLUGINS = "plugins";
85 const static char* PLUGINS_MODULE = "module";
86 const static char* PLUGIN_CONFIG = "configuration";
87 const static char* PLUGIN_LIBRARY = "library";
88 const static char* PLUGIN_SCRIPT = "script";
89 const static char* PLUGIN_DEPENDENCY = "dependency";
91 const static char* PLUGIN_PLATFORM_SALOME = "salome";
92 const static char* PLUGIN_PLATFORM_NEWGEOM = "openparts";
96 #endif /* CONFIG_KEYWORDS_H_ */