OpenASIP 2.2
Loading...
Searching...
No Matches
ProDeConstants.hh
Go to the documentation of this file.
1/*
2 Copyright (c) 2002-2009 Tampere University.
3
4 This file is part of TTA-Based Codesign Environment (TCE).
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23 */
24/**
25 * @file ProDeConstants.hh
26 *
27 * Declaration of ProDeConstants class.
28 *
29 * @author Veli-Pekka Jääskeläinen 2004 (vjaaskel-no.spam-cs.tut.fi)
30 * @note rating: red
31 */
32
33#ifndef TTA_PRODE_CONSTANTS_HH
34#define TTA_PRODE_CONSTANTS_HH
35
36#include <string>
37#include <wx/wx.h>
38
39/**
40 * Constant command names, enum for mapping command event ids to
41 * EditorCommands and color constants.
42 */
44public:
45
46 // Color constants
47 static const wxColour PINK_COLOR;
48 static const wxColour LIGHT_BLUE_COLOR;
49 static const wxColour BLACK_COLOR;
50 static const wxColour WHITE_COLOR;
51 static const wxColour DARK_GRAY_COLOR;
52 static const wxColour MEDIUM_GRAY_COLOR;
53 static const wxColour LIGHT_GRAY_COLOR;
54
55 /// Constant for "None".
56 static const wxString NONE;
57 /// Constant for "".
58 static const std::string EMPTY;
59 // Constant for "-- separator --".
60 static const std::string SEPARATOR;
61
62 /// String for the zero extension.
63 static const wxString EXTENSION_ZERO;
64 /// String for the sign extension.
65 static const wxString EXTENSION_SIGN;
66 /// String for the socket direction: input.
67 static const wxString SOCKET_DIRECTION_INPUT;
68 /// String for the socket direction output.
69 static const wxString SOCKET_DIRECTION_OUTPUT;
70
71 // EditorCommand names
72
73 /// Command name for the "New Document" command.
74 static const std::string CMD_NAME_NEW_DOC;
75 /// Command name for the "Open Document" command.
76 static const std::string CMD_NAME_OPEN_DOC;
77 /// Command name for the "Close Document" command.
78 static const std::string CMD_NAME_CLOSE_DOC;
79 /// Command name for the "Save Document" command.
80 static const std::string CMD_NAME_SAVE_DOC;
81 /// Command name for the "Save Document As" command.
82 static const std::string CMD_NAME_SAVEAS_DOC;
83 /// Command name for the "Print" command.
84 static const std::string CMD_NAME_PRINT;
85 /// Command name for the "Print Preview" command.
86 static const std::string CMD_NAME_PRINT_PREVIEW;
87 /// Command name for the "Export" command.
88 static const std::string CMD_NAME_EXPORT;
89 /// Command name for the "Quit" command.
90 static const std::string CMD_NAME_QUIT;
91
92 /// Command name for the "Add Function Unit" command.
93 static const std::string CMD_NAME_ADD_FU;
94 /// Command name for the "Add Register File" command.
95 static const std::string CMD_NAME_ADD_RF;
96 /// Command name for the "Add Bus" command.
97 static const std::string CMD_NAME_ADD_BUS;
98 /// Command name for the "Add Socket" command.
99 static const std::string CMD_NAME_ADD_SOCKET;
100 /// Command name for the "Add Bridge" command.
101 static const std::string CMD_NAME_ADD_BRIDGE;
102 /// Command name for the "Add Immediate Unit" command.
103 static const std::string CMD_NAME_ADD_IU;
104 /// Command name for the "Add Global Control Unit" command.
105 static const std::string CMD_NAME_ADD_GCU;
106 /// Command name for the "Add Address Space" command.
107 static const std::string CMD_NAME_ADD_AS;
108
109 /// Command name for the "Add RF From hdb" command.
110 static const std::string CMD_NAME_ADD_RF_FROM_HDB;
111 /// Command name for the "Add IU From hdb" command.
112 static const std::string CMD_NAME_ADD_IU_FROM_HDB;
113 /// Command name for the "Add FU From hdb" command.
114 static const std::string CMD_NAME_ADD_FU_FROM_HDB;
115
116 /// Command name for the "Delete Component" command.
117 static const std::string CMD_NAME_DELETE_COMP;
118 /// Command name for the "Modify Component" command.
119 static const std::string CMD_NAME_MODIFY_COMP;
120
121 /// Command name for the "Undo" command.
122 static const std::string CMD_NAME_UNDO;
123 /// Command name for the "Redo" command.
124 static const std::string CMD_NAME_REDO;
125 /// Command name for the "Cut" command.
126 static const std::string CMD_NAME_CUT;
127 /// Command name for the "Copy" command.
128 static const std::string CMD_NAME_COPY;
129 /// Command name for the "Paste" command.
130 static const std::string CMD_NAME_PASTE;
131
132 /// Command name for the "Select" command.
133 static const std::string CMD_NAME_SELECT;
134 /// Command name for the "Edit Connections" command.
135 static const std::string CMD_NAME_EDIT_CONNECTIONS;
136 /// Command name for the "Edit Address Space" command.
137 static const std::string CMD_NAME_EDIT_ADDRESS_SPACES;
138 /// Command name for the "Edit Tempaltes" command.
139 static const std::string CMD_NAME_EDIT_TEMPLATES;
140 /// Command name for the "Edit OTA Formats" command.
141 static const std::string CMD_NAME_EDIT_OTA_FORMATS;
142 /// Command name for the "Edit Immediate Slots" command.
143 static const std::string CMD_NAME_EDIT_IMMEDIATE_SLOTS;
144 /// Command name for the "Edit Bus Order" command.
145 static const std::string CMD_NAME_EDIT_BUS_ORDER;
146 /// Command name for the "Fully connect busses" command.
147 static const std::string CMD_NAME_FULLY_CONNECT_BUSSES;
148 /// Command name for the "VLIW Connect IC" command.
149 static const std::string CMD_NAME_VLIW_CONNECT_IC;
150 /// Command name for the "Blcoks Connect IC" command.
151 static const std::string CMD_NAME_BLOCKS_CONNECT_IC;
152 /// Command name for the "Processor configurations" command.
153 static const std::string CMD_NAME_EDIT_MACHINE;
154
155 /// Command name for the "Zoom In" command.
156 static const std::string CMD_NAME_ZOOM_IN;
157 /// Command name for the "Zoom Out" command.
158 static const std::string CMD_NAME_ZOOM_OUT;
159 /// Command name for the "Fit Window" command.
160 static const std::string CMD_NAME_ZOOM_FIT_WIN;
161 /// Command name for the "Fit Height" command.
162 static const std::string CMD_NAME_ZOOM_FIT_HEI;
163 /// Command name for the "Fit Width" command.
164 static const std::string CMD_NAME_ZOOM_FIT_WID;
165 /// Command name for the "Toggle Unit details" command.
166 static const std::string CMD_NAME_TOGGLE_UNIT_DETAILS;
167
168 /// Command name for the "Verify Machine" command.
169 static const std::string CMD_NAME_VERIFY_MACHINE;
170 /// Command name for the "Processor Implementation" command.
171 static const std::string CMD_NAME_IMPLEMENTATION;
172 /// Command name for the "Call Explorer plugin" command.
173 static const std::string CMD_CALL_EXPLORER_PLUGIN;
174
175
176 /// Command name for the "Edit Options" command.
177 static const std::string CMD_NAME_EDIT_OPTIONS;
178 /// Command name for the "Load Options" command.
179 static const std::string CMD_NAME_LOAD_OPTIONS;
180 /// Command name for the "Save Options" command.
181 static const std::string CMD_NAME_SAVE_OPTIONS;
182 /// Command name for the "Save Options As" command.
183 static const std::string CMD_NAME_SAVEAS_OPTIONS;
184
185 /// Command name for the "About" command.
186 static const std::string CMD_NAME_ABOUT;
187
188
189 // short versions of the command names
190
191 /// Command name for the "New Document" command.
192 static const std::string CMD_SNAME_NEW_DOC;
193 /// Command name for the "Save Document" command.
194 static const std::string CMD_SNAME_SAVE_DOC;
195 /// Command name for the "Save Document As" command.
196 static const std::string CMD_SNAME_SAVEAS_DOC;
197 /// Command name for the "Open Document" command.
198 static const std::string CMD_SNAME_OPEN_DOC;
199 /// Command name for the "Close Document" command.
200 static const std::string CMD_SNAME_CLOSE_DOC;
201 /// Command name for the "Print Preview" command.
202 static const std::string CMD_SNAME_PRINT_PREVIEW;
203
204 /// Command name for the "Add Function Unit" command.
205 static const std::string CMD_SNAME_ADD_FU;
206 /// Command name for the "Add Register File" command.
207 static const std::string CMD_SNAME_ADD_RF;
208 /// Command name for the "Add Bus" command.
209 static const std::string CMD_SNAME_ADD_BUS;
210 /// Command name for the "Add Socket" command.
211 static const std::string CMD_SNAME_ADD_SOCKET;
212 /// Command name for the "Add Bridge" command.
213 static const std::string CMD_SNAME_ADD_BRIDGE;
214 /// Command name for the "Add Immediate Unit" command.
215 static const std::string CMD_SNAME_ADD_IU;
216 /// Command name for the "Add Global Control Unit" command.
217 static const std::string CMD_SNAME_ADD_GCU;
218 /// Command name for the "Add Address Space" command.
219 static const std::string CMD_SNAME_ADD_AS;
220
221 /// Short command name for the "Add RF from hdb" command.
222 static const std::string CMD_SNAME_ADD_RF_FROM_HDB;
223 /// Short command name for the "Add IU from hdb" command.
224 static const std::string CMD_SNAME_ADD_IU_FROM_HDB;
225 /// Short command name for the "Add FU from hdb" command.
226 static const std::string CMD_SNAME_ADD_FU_FROM_HDB;
227
228 /// Command name for the "Edit Address Space" command.
229 static const std::string CMD_SNAME_EDIT_ADDRESS_SPACES;
230 /// Command name for the "Edit Templates" command.
231 static const std::string CMD_SNAME_EDIT_TEMPLATES;
232 /// Command name for the "Edit Templates" command.
233 static const std::string CMD_SNAME_EDIT_OTA_FORMATS;
234 /// Command name for the "Processor Configurations" command.
235 static const std::string CMD_SNAME_EDIT_MACHINE;
236 /// Command name for the "Edit Immediate slots" command.
237 static const std::string CMD_SNAME_EDIT_IMMEDIATE_SLOTS;
238 /// Command name for the "Edit Bus Order" command.
239 static const std::string CMD_SNAME_EDIT_BUS_ORDER;
240 /// Command name for the "Edit Connections" command.
241 static const std::string CMD_SNAME_EDIT_CONNECTIONS;
242 /// Command name for the "Fully connect busses" command.
243 static const std::string CMD_SNAME_FULLY_CONNECT_BUSSES;
244 /// Command name for the "VLIW Connect IC" command.
245 static const std::string CMD_SNAME_VLIW_CONNECT_IC;
246 /// Command name for the "Blocks Connect IC" command.
247 static const std::string CMD_SNAME_BLOCKS_CONNECT_IC;
248 /// Command name for the "Verify Machine" command.
249 static const std::string CMD_SNAME_VERIFY_MACHINE;
250 /// Command name for the "Processor Implementation" command.
251 static const std::string CMD_SNAME_IMPLEMENTATION;
252 /// Command name for the "Call Explorer Plugin" command.
253 static const std::string CMD_SNAME_EXPLORER_PLUGIN;
254
255 /// Command name for the "Edit Options" command.
256 static const std::string CMD_SNAME_EDIT_OPTIONS;
257 /// Command name for the "Load Options" command.
258 static const std::string CMD_SNAME_LOAD_OPTIONS;
259 /// Command name for the "Save Options" command.
260 static const std::string CMD_SNAME_SAVE_OPTIONS;
261 /// Command name for the "Save Options As" command.
262 static const std::string CMD_SNAME_SAVEAS_OPTIONS;
263
264 /// Command name for the "Delete Component" command.
265 static const std::string CMD_SNAME_MODIFY_COMP;
266 /// Command name for the "Modify Component" command.
267 static const std::string CMD_SNAME_DELETE_COMP;
268
269 /// Command name for the "Zoom In" command.
270 static const std::string CMD_SNAME_ZOOM_IN;
271 /// Command name for the "Zoom Out" command.
272 static const std::string CMD_SNAME_ZOOM_OUT;
273 /// Command name for the "Fit Window" command.
274 static const std::string CMD_SNAME_ZOOM_FIT_WIN;
275 /// Command name for the "Fit Height" command.
276 static const std::string CMD_SNAME_ZOOM_FIT_HEI;
277 /// Command name for the "Fit Width" command.
278 static const std::string CMD_SNAME_ZOOM_FIT_WID;
279 /// Command name for the "Toggle Unit Details" command.
280 static const std::string CMD_SNAME_TOGGLE_UNIT_DETAILS;
281
282
283 // EditorCommand icon paths
284
285 /// Icon path for default icon of commands.
286 static const std::string CMD_ICON_DEFAULT;
287 /// Icon location for the "Open Document" command.
288 static const std::string CMD_ICON_OPEN_DOC;
289 /// Icon location for the "Close Document" command.
290 static const std::string CMD_ICON_CLOSE_DOC;
291 /// Icon location for the "Save Document" command.
292 static const std::string CMD_ICON_SAVE_DOC;
293 /// Icon location for the "Save Document As" command.
294 static const std::string CMD_ICON_SAVEAS_DOC;
295 /// Icon location for the "New Document" command.
296 static const std::string CMD_ICON_NEW_DOC;
297 /// Icon location for the "Quit" command.
298 static const std::string CMD_ICON_QUIT;
299 /// Icon location for the "Print" command.
300 static const std::string CMD_ICON_PRINT;
301 /// Icon location for the "Print Preview" command.
302 static const std::string CMD_ICON_PRINT_PREVIEW;
303 /// Icon location for the "Select" command.
304 static const std::string CMD_ICON_SELECT;
305 /// Icon location for the "Undo" command.
306 static const std::string CMD_ICON_UNDO;
307 /// Icon location for the "Redo" command.
308 static const std::string CMD_ICON_REDO;
309 /// Icon location for the "Copy" command.
310 static const std::string CMD_ICON_COPY;
311 /// Icon location for the "Cut" command.
312 static const std::string CMD_ICON_CUT;
313 /// Icon location for the "Paste" command.
314 static const std::string CMD_ICON_PASTE;
315 /// Icon location for the "Modify Component" command.
316 static const std::string CMD_ICON_MODIFY_COMP;
317 /// Icon location for the "Delete Component" command.
318 static const std::string CMD_ICON_DELETE_COMP;
319 /// Icon location for the "Edit Options" command.
320 static const std::string CMD_ICON_EDIT_OPTIONS;
321 /// Icon location for the "Load Options" command.
322 static const std::string CMD_ICON_LOAD_OPTIONS;
323 /// Icon location for the "Save Options" command.
324 static const std::string CMD_ICON_SAVE_OPTIONS;
325 /// Icon location for the "Save Options As" command.
326 static const std::string CMD_ICON_SAVEAS_OPTIONS;
327 /// Icon location for the "Zoom In" command.
328 static const std::string CMD_ICON_ZOOM_IN;
329 /// Icon location for the "Zoom Out" command.
330 static const std::string CMD_ICON_ZOOM_OUT;
331 /// Icon location for the "Fit Window" command.
332 static const std::string CMD_ICON_ZOOM_FIT_WIN;
333 /// Icon location for the "Fit Height" command.
334 static const std::string CMD_ICON_ZOOM_FIT_HEI;
335 /// Icon location for the "Fit Width" command.
336 static const std::string CMD_ICON_ZOOM_FIT_WID;
337 /// Icon location for the "Edit Address Space" command.
338 static const std::string CMD_ICON_EDIT_ADDRESS_SPACES;
339 /// Icon location for the "Edit Templates" command.
340 static const std::string CMD_ICON_EDIT_TEMPLATES;
341 /// Icon location for the "Edit OTA Formats" command.
342 static const std::string CMD_ICON_EDIT_OTA_FORMATS;
343 /// Icon location for the "Edit Connections" command.
344 static const std::string CMD_ICON_EDIT_CONNECTIONS;
345 /// Icon location for the "Processor Configurations" command.
346 static const std::string CMD_ICON_EDIT_MACHINE;
347 /// Icon location for the "Verify Machine" command.
348 static const std::string CMD_ICON_VERIFY_MACHINE;
349 /// Icon location for the "Implementation" command.
350 static const std::string CMD_ICON_IMPLEMENTATION;
351 /// Icon location for the "Explorer plugin" command.
352 static const std::string CMD_ICON_EXPLORER_PLUGIN;
353 /// Icon location for the "About" command.
354 static const std::string CMD_ICON_ABOUT;
355
356 /// Default name for new control units.
357 static const std::string COMP_DEFAULT_NAME_GCU;
358 /// Name for the default segments of busses.
359 static const std::string COMP_DEFAULT_NAME_SEGMENT;
360
361 // Prefixes for generated names of the components.
362 /// Prefix for new function unit names.
363 static const std::string COMP_NEW_NAME_PREFIX_FU;
364 /// Prefix for new register file names.
365 static const std::string COMP_NEW_NAME_PREFIX_RF;
366 /// Prefix for new immediate unit names.
367 static const std::string COMP_NEW_NAME_PREFIX_IU;
368 /// Prefix for new socket names..
369 static const std::string COMP_NEW_NAME_PREFIX_SOCKET;
370 /// Prefix for new bus names.
371 static const std::string COMP_NEW_NAME_PREFIX_BUS;
372 /// Prefix for new port names.
373 static const std::string COMP_NEW_NAME_PREFIX_PORT;
374 /// Prefix for new bridge names.
375 static const std::string COMP_NEW_NAME_PREFIX_BRIDGE;
376 /// Prefix for new operation names.
377 static const std::string COMP_NEW_NAME_PREFIX_OPERATION;
378 /// Prefix for new address space names.
379 static const std::string COMP_NEW_NAME_PREFIX_AS;
380
381 // editor constants
382
383 /// Copyright text of the Editor.
384 static const wxString EDITOR_COPYRIGHT_TEXT;
385 /// Full name of the Editor.
386 static const wxString EDITOR_NAME;
387 /// Location of the logo picture of the Editor.
388 static const std::string EDITOR_LOGO_PATH;
389
390 /// File name extensions.
391 /// Processor architecture file extension.
392 static const std::string PROCESSOR_ARCH_FILE_EXTENSION;
393 /// Processor configuration file extension.
394 static const std::string PROCESSOR_CONFIG_FILE_EXTENSION;
395
396 // Arrow icons for sorting columns in some dialogs
397 static const char* ARROW_UP[];
398 static const char* ARROW_DOWN[];
399
400 /// Icon location for ascending sort
401 static const std::string ICON_SORT_ASC;
402 /// Icon location for descending sort
403 static const std::string ICON_SORT_DESC;
404
405 /// Unique identifiers for the commands.
471 };
472
473#endif
static const std::string CMD_NAME_SAVEAS_DOC
Command name for the "Save Document As" command.
static const std::string CMD_NAME_REDO
Command name for the "Redo" command.
static const std::string CMD_NAME_EDIT_OPTIONS
Command name for the "Edit Options" command.
static const wxString SOCKET_DIRECTION_INPUT
String for the socket direction: input.
static const std::string CMD_ICON_ABOUT
Icon location for the "About" command.
static const std::string CMD_ICON_ZOOM_IN
Icon location for the "Zoom In" command.
static const std::string CMD_SNAME_ADD_BUS
Command name for the "Add Bus" command.
static const std::string CMD_NAME_VLIW_CONNECT_IC
Command name for the "VLIW Connect IC" command.
static const std::string CMD_NAME_FULLY_CONNECT_BUSSES
Command name for the "Fully connect busses" command.
static const std::string EDITOR_LOGO_PATH
Location of the logo picture of the Editor.
static const std::string CMD_ICON_ZOOM_FIT_WIN
Icon location for the "Fit Window" command.
static const std::string COMP_NEW_NAME_PREFIX_IU
Prefix for new immediate unit names.
static const std::string CMD_ICON_EXPLORER_PLUGIN
Icon location for the "Explorer plugin" command.
static const std::string CMD_ICON_COPY
Icon location for the "Copy" command.
static const std::string CMD_NAME_ADD_BRIDGE
Command name for the "Add Bridge" command.
static const std::string CMD_SNAME_IMPLEMENTATION
Command name for the "Processor Implementation" command.
static const std::string CMD_NAME_EXPORT
Command name for the "Export" command.
static const std::string CMD_NAME_OPEN_DOC
Command name for the "Open Document" command.
static const std::string CMD_NAME_NEW_DOC
Command name for the "New Document" command.
static const wxString EDITOR_NAME
Full name of the Editor.
static const std::string CMD_ICON_SELECT
Icon location for the "Select" command.
static const wxString SOCKET_DIRECTION_OUTPUT
String for the socket direction output.
static const wxString EDITOR_COPYRIGHT_TEXT
Copyright text of the Editor.
static const std::string CMD_NAME_SELECT
Command name for the "Select" command.
static const std::string CMD_ICON_OPEN_DOC
Icon location for the "Open Document" command.
static const std::string CMD_NAME_SAVE_DOC
Command name for the "Save Document" command.
static const std::string CMD_SNAME_EDIT_BUS_ORDER
Command name for the "Edit Bus Order" command.
static const std::string CMD_SNAME_FULLY_CONNECT_BUSSES
Command name for the "Fully connect busses" command.
static const std::string CMD_NAME_UNDO
Command name for the "Undo" command.
static const std::string ICON_SORT_DESC
Icon location for descending sort.
static const std::string CMD_NAME_ZOOM_FIT_WIN
Command name for the "Fit Window" command.
static const std::string CMD_SNAME_LOAD_OPTIONS
Command name for the "Load Options" command.
static const std::string CMD_NAME_EDIT_ADDRESS_SPACES
Command name for the "Edit Address Space" command.
static const wxString NONE
Constant for "None".
static const std::string CMD_SNAME_ADD_SOCKET
Command name for the "Add Socket" command.
static const std::string CMD_NAME_COPY
Command name for the "Copy" command.
static const std::string CMD_ICON_EDIT_OTA_FORMATS
Icon location for the "Edit OTA Formats" command.
static const std::string CMD_ICON_ZOOM_FIT_HEI
Icon location for the "Fit Height" command.
static const wxColour BLACK_COLOR
static const std::string CMD_SNAME_ADD_BRIDGE
Command name for the "Add Bridge" command.
static const std::string CMD_SNAME_MODIFY_COMP
Command name for the "Delete Component" command.
static const std::string CMD_SNAME_EDIT_MACHINE
Command name for the "Processor Configurations" command.
static const wxColour WHITE_COLOR
static const std::string CMD_NAME_ADD_IU_FROM_HDB
Command name for the "Add IU From hdb" command.
static const std::string CMD_SNAME_ADD_IU_FROM_HDB
Short command name for the "Add IU from hdb" command.
static const std::string CMD_SNAME_OPEN_DOC
Command name for the "Open Document" command.
static const std::string CMD_SNAME_TOGGLE_UNIT_DETAILS
Command name for the "Toggle Unit Details" command.
static const std::string CMD_SNAME_ZOOM_OUT
Command name for the "Zoom Out" command.
static const wxColour MEDIUM_GRAY_COLOR
static const std::string CMD_NAME_ADD_SOCKET
Command name for the "Add Socket" command.
static const std::string CMD_SNAME_ADD_IU
Command name for the "Add Immediate Unit" command.
static const std::string CMD_ICON_EDIT_ADDRESS_SPACES
Icon location for the "Edit Address Space" command.
static const std::string CMD_SNAME_ZOOM_IN
Command name for the "Zoom In" command.
static const std::string CMD_SNAME_EDIT_CONNECTIONS
Command name for the "Edit Connections" command.
static const std::string CMD_NAME_ADD_RF_FROM_HDB
Command name for the "Add RF From hdb" command.
static const std::string CMD_NAME_ADD_FU
Command name for the "Add Function Unit" command.
static const std::string CMD_SNAME_EXPLORER_PLUGIN
Command name for the "Call Explorer Plugin" command.
static const std::string SEPARATOR
static const std::string CMD_SNAME_EDIT_OTA_FORMATS
Command name for the "Edit Templates" command.
static const std::string CMD_ICON_MODIFY_COMP
Icon location for the "Modify Component" command.
static const std::string CMD_NAME_EDIT_BUS_ORDER
Command name for the "Edit Bus Order" command.
static const std::string CMD_NAME_ADD_BUS
Command name for the "Add Bus" command.
static const std::string CMD_ICON_EDIT_OPTIONS
Icon location for the "Edit Options" command.
static const std::string CMD_SNAME_VLIW_CONNECT_IC
Command name for the "VLIW Connect IC" command.
static const std::string CMD_SNAME_EDIT_IMMEDIATE_SLOTS
Command name for the "Edit Immediate slots" command.
static const std::string CMD_NAME_ZOOM_OUT
Command name for the "Zoom Out" command.
CommandID
Unique identifiers for the commands.
static const std::string CMD_SNAME_SAVEAS_DOC
Command name for the "Save Document As" command.
static const std::string CMD_ICON_QUIT
Icon location for the "Quit" command.
static const wxColour LIGHT_GRAY_COLOR
static const std::string CMD_SNAME_SAVE_DOC
Command name for the "Save Document" command.
static const std::string CMD_NAME_EDIT_MACHINE
Command name for the "Processor configurations" command.
static const std::string CMD_NAME_EDIT_IMMEDIATE_SLOTS
Command name for the "Edit Immediate Slots" command.
static const std::string CMD_ICON_NEW_DOC
Icon location for the "New Document" command.
static const std::string COMP_NEW_NAME_PREFIX_PORT
Prefix for new port names.
static const std::string CMD_NAME_PRINT_PREVIEW
Command name for the "Print Preview" command.
static const std::string COMP_NEW_NAME_PREFIX_BUS
Prefix for new bus names.
static const std::string CMD_NAME_ADD_RF
Command name for the "Add Register File" command.
static const std::string CMD_ICON_CLOSE_DOC
Icon location for the "Close Document" command.
static const std::string CMD_NAME_PASTE
Command name for the "Paste" command.
static const std::string CMD_NAME_ABOUT
Command name for the "About" command.
static const std::string CMD_NAME_SAVEAS_OPTIONS
Command name for the "Save Options As" command.
static const std::string CMD_NAME_EDIT_CONNECTIONS
Command name for the "Edit Connections" command.
static const std::string CMD_SNAME_ADD_FU_FROM_HDB
Short command name for the "Add FU from hdb" command.
static const std::string COMP_NEW_NAME_PREFIX_OPERATION
Prefix for new operation names.
static const std::string CMD_SNAME_PRINT_PREVIEW
Command name for the "Print Preview" command.
static const std::string COMP_NEW_NAME_PREFIX_FU
Prefix for new function unit names.
static const std::string CMD_SNAME_ADD_FU
Command name for the "Add Function Unit" command.
static const std::string CMD_SNAME_NEW_DOC
Command name for the "New Document" command.
static const std::string CMD_NAME_ZOOM_FIT_HEI
Command name for the "Fit Height" command.
static const std::string CMD_ICON_SAVEAS_DOC
Icon location for the "Save Document As" command.
static const std::string CMD_ICON_EDIT_TEMPLATES
Icon location for the "Edit Templates" command.
static const std::string CMD_SNAME_EDIT_TEMPLATES
Command name for the "Edit Templates" command.
static const std::string CMD_NAME_ADD_AS
Command name for the "Add Address Space" command.
static const std::string CMD_SNAME_ZOOM_FIT_WID
Command name for the "Fit Width" command.
static const std::string CMD_ICON_DELETE_COMP
Icon location for the "Delete Component" command.
static const std::string CMD_NAME_ZOOM_IN
Command name for the "Zoom In" command.
static const std::string CMD_ICON_EDIT_CONNECTIONS
Icon location for the "Edit Connections" command.
static const std::string CMD_ICON_SAVE_OPTIONS
Icon location for the "Save Options" command.
static const std::string CMD_NAME_ADD_FU_FROM_HDB
Command name for the "Add FU From hdb" command.
static const std::string CMD_ICON_IMPLEMENTATION
Icon location for the "Implementation" command.
static const std::string CMD_SNAME_ADD_AS
Command name for the "Add Address Space" command.
static const std::string CMD_NAME_QUIT
Command name for the "Quit" command.
static const std::string CMD_NAME_ADD_GCU
Command name for the "Add Global Control Unit" command.
static const std::string CMD_NAME_CUT
Command name for the "Cut" command.
static const wxColour LIGHT_BLUE_COLOR
static const std::string CMD_CALL_EXPLORER_PLUGIN
Command name for the "Call Explorer plugin" command.
static const std::string CMD_SNAME_EDIT_ADDRESS_SPACES
Command name for the "Edit Address Space" command.
static const std::string CMD_ICON_DEFAULT
Icon path for default icon of commands.
static const std::string CMD_NAME_VERIFY_MACHINE
Command name for the "Verify Machine" command.
static const char * ARROW_UP[]
static const std::string CMD_NAME_CLOSE_DOC
Command name for the "Close Document" command.
static const std::string CMD_ICON_UNDO
Icon location for the "Undo" command.
static const std::string CMD_NAME_MODIFY_COMP
Command name for the "Modify Component" command.
static const std::string CMD_SNAME_ADD_GCU
Command name for the "Add Global Control Unit" command.
static const std::string COMP_DEFAULT_NAME_SEGMENT
Name for the default segments of busses.
static const wxString EXTENSION_ZERO
String for the zero extension.
static const wxColour DARK_GRAY_COLOR
static const std::string PROCESSOR_ARCH_FILE_EXTENSION
File name extensions. Processor architecture file extension.
static const std::string CMD_ICON_SAVEAS_OPTIONS
Icon location for the "Save Options As" command.
static const std::string CMD_ICON_PRINT
Icon location for the "Print" command.
static const std::string COMP_NEW_NAME_PREFIX_AS
Prefix for new address space names.
static const wxColour PINK_COLOR
static const std::string PROCESSOR_CONFIG_FILE_EXTENSION
Processor configuration file extension.
static const std::string CMD_SNAME_ADD_RF_FROM_HDB
Short command name for the "Add RF from hdb" command.
static const std::string CMD_NAME_SAVE_OPTIONS
Command name for the "Save Options" command.
static const std::string COMP_DEFAULT_NAME_GCU
Default name for new control units.
static const std::string CMD_NAME_TOGGLE_UNIT_DETAILS
Command name for the "Toggle Unit details" command.
static const std::string CMD_SNAME_CLOSE_DOC
Command name for the "Close Document" command.
static const std::string EMPTY
Constant for "".
static const std::string CMD_SNAME_EDIT_OPTIONS
Command name for the "Edit Options" command.
static const std::string CMD_ICON_REDO
Icon location for the "Redo" command.
static const std::string CMD_SNAME_BLOCKS_CONNECT_IC
Command name for the "Blocks Connect IC" command.
static const std::string ICON_SORT_ASC
Icon location for ascending sort.
static const wxString EXTENSION_SIGN
String for the sign extension.
static const std::string COMP_NEW_NAME_PREFIX_SOCKET
Prefix for new socket names..
static const std::string CMD_NAME_BLOCKS_CONNECT_IC
Command name for the "Blcoks Connect IC" command.
static const std::string CMD_NAME_PRINT
Command name for the "Print" command.
static const std::string CMD_ICON_EDIT_MACHINE
Icon location for the "Processor Configurations" command.
static const std::string CMD_NAME_EDIT_TEMPLATES
Command name for the "Edit Tempaltes" command.
static const std::string CMD_ICON_ZOOM_OUT
Icon location for the "Zoom Out" command.
static const std::string CMD_SNAME_SAVE_OPTIONS
Command name for the "Save Options" command.
static const std::string COMP_NEW_NAME_PREFIX_BRIDGE
Prefix for new bridge names.
static const char * ARROW_DOWN[]
static const std::string CMD_SNAME_ZOOM_FIT_WIN
Command name for the "Fit Window" command.
static const std::string CMD_ICON_ZOOM_FIT_WID
Icon location for the "Fit Width" command.
static const std::string CMD_ICON_LOAD_OPTIONS
Icon location for the "Load Options" command.
static const std::string CMD_ICON_VERIFY_MACHINE
Icon location for the "Verify Machine" command.
static const std::string CMD_NAME_EDIT_OTA_FORMATS
Command name for the "Edit OTA Formats" command.
static const std::string CMD_ICON_CUT
Icon location for the "Cut" command.
static const std::string CMD_ICON_PRINT_PREVIEW
Icon location for the "Print Preview" command.
static const std::string CMD_ICON_PASTE
Icon location for the "Paste" command.
static const std::string CMD_NAME_IMPLEMENTATION
Command name for the "Processor Implementation" command.
static const std::string CMD_SNAME_SAVEAS_OPTIONS
Command name for the "Save Options As" command.
static const std::string CMD_SNAME_DELETE_COMP
Command name for the "Modify Component" command.
static const std::string CMD_SNAME_ADD_RF
Command name for the "Add Register File" command.
static const std::string CMD_SNAME_VERIFY_MACHINE
Command name for the "Verify Machine" command.
static const std::string COMP_NEW_NAME_PREFIX_RF
Prefix for new register file names.
static const std::string CMD_ICON_SAVE_DOC
Icon location for the "Save Document" command.
static const std::string CMD_NAME_DELETE_COMP
Command name for the "Delete Component" command.
static const std::string CMD_NAME_LOAD_OPTIONS
Command name for the "Load Options" command.
static const std::string CMD_SNAME_ZOOM_FIT_HEI
Command name for the "Fit Height" command.
static const std::string CMD_NAME_ZOOM_FIT_WID
Command name for the "Fit Width" command.
static const std::string CMD_NAME_ADD_IU
Command name for the "Add Immediate Unit" command.