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_ERRORINFO = "error_label";
27 const static char* WDG_DOUBLEVALUE = "doublevalue";
28 const static char* WDG_INTEGERVALUE = "integervalue";
29 const static char* WDG_BOOLVALUE = "boolvalue";
30 const static char* WDG_STRINGVALUE = "stringvalue";
31 const static char* WDG_MULTISELECTOR = "multi_selector";
32 const static char* WDG_SHAPE_SELECTOR = "shape_selector";
33 const static char* WDG_CHOICE = "choice";
34 const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
35 const static char* WDG_FILE_SELECTOR= "file_selector";
36 const static char* WDG_EXPR_EDITOR = "expr_editor";
37 const static char* WDG_PLACE_HOLDER = "placeholder";
40 const static char* WDG_GROUP = "groupbox";
41 const static char* WDG_CHECK_GROUP = "check_groupbox";
42 const static char* WDG_TOOLBOX = "toolbox";
43 const static char* WDG_TOOLBOX_BOX = "box";
44 const static char* WDG_SWITCH = "switch";
45 const static char* WDG_SWITCH_CASE = "case";
46 // Common properties (xml attributes of nodes)
47 const static char* _ID = "id";
48 // NODE_WORKBENCH properties
49 const static char* WORKBENCH_DOC = "document";
50 // NODE_SOURCE properties
51 const static char* SOURCE_FILE = "path";
52 // NODE_FEATURE properties
53 const static char* FEATURE_TOOLTIP = "tooltip";
54 const static char* FEATURE_ICON = "icon";
55 const static char* FEATURE_TEXT = "title";
56 const static char* FEATURE_KEYSEQUENCE = "keysequence";
57 const static char* FEATURE_NESTED = "nested";
58 const static char* FEATURE_WHEN_NESTED = "when_nested";
59 const static char* FEATURE_WHEN_NESTED_ACCEPT = "accept";
60 const static char* FEATURE_WHEN_NESTED_ABORT = "abort";
61 const static char* FEATURE_DOC = WORKBENCH_DOC;
62 // NODE_VALIDATOR properties, NODE_SELFILTER properties
63 const static char* _PARAMETERS = "parameters";
65 // Widget (attribute) properties
66 const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
67 const static char* ATTR_ICON = FEATURE_ICON;
68 const static char* ATTR_LABEL = "label";
69 const static char* ATTR_DEFAULT = "default";
70 const static char* ATTR_INTERNAL = "internal";
71 const static char* ATTR_OBLIGATORY = "obligatory";
72 const static char* ATTR_CONCEALMENT = "concealment";
73 const static char* ATTR_USE_RESET = "use_reset";
75 // WDG_INFO properties
76 const static char* INFO_WDG_TEXT = FEATURE_TEXT;
77 const static char* INFO_WDG_TOOLTIP = FEATURE_TOOLTIP;
78 // WDG_DOUBLEVALUE properties:
79 const static char* DOUBLE_WDG_MIN = "min";
80 const static char* DOUBLE_WDG_MAX = "max";
81 const static char* DOUBLE_WDG_STEP = "step";
82 const static char* DOUBLE_WDG_DEFAULT_COMPUTED = "computed";
83 const static char* DOUBLE_WDG_ACCEPT_EXPRESSIONS = "accept_expressions";
84 // WDG_TOOLBOX/WDG_SWITCH properties
85 const static char* CONTAINER_PAGE_NAME = "title";
86 const static char* CONTAINER_PAGE_ICON = "icon";
89 * Hardcoded xml entities of plugins.xml
92 const static char* PLUGIN_FILE = "plugins.xml";
93 const static char* NODE_PLUGIN = "plugin";
94 const static char* NODE_PLUGINS = "plugins";
96 const static char* PLUGINS_MODULE = "module";
97 const static char* PLUGIN_CONFIG = "configuration";
98 const static char* PLUGIN_LIBRARY = "library";
99 const static char* PLUGIN_SCRIPT = "script";
100 const static char* PLUGIN_DEPENDENCY = "dependency";
103 * Hardcoded xml entities of dataModel.xml
105 const static char* DATAMODEL_FILE = "dataModel.xml";
106 const static char* NODE_FOLDER = "folder";
107 const static char* FOLDER_NAME = "name";
108 const static char* GROUP_TYPE = "group_type";
109 const static char* ROOT_DOCUMENT = "root_document";
110 const static char* SUB_DOCUMENT = "sub_document";
111 const static char* NODE_ICON = "icon";
112 const static char* SHOW_EMPTY = "show_empty";
113 const static char* LINK_ITEM = "from_result";
116 * Hardcoded xml entities for composite features
118 const static char* USE_BODY = "use_body";
120 #endif /* CONFIG_KEYWORDS_H_ */