OpenASIP  2.0
OSEdTextGenerator.cc
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 OSEdTextGenerator.cc
26  *
27  * Definition of OSEdTextGenerator class.
28  *
29  * @author Jussi Nykänen 2004 (nykanen-no.spam-cs.tut.fi)
30  * @note rating: red
31  */
32 
33 #include "OSEdTextGenerator.hh"
34 
36 
37 /**
38  * Constructor.
39  */
41 
43  addText(TXT_LABEL_MODULE_NAME, "Name of the module:");
44  addText(TXT_LABEL_HAS_BEHAVIOR, "Operation behavior module defined.");
45  addText(TXT_LABEL_NO_BEHAVIOR, "Operation behavior module not defined.");
46  addText(TXT_LABEL_READY, "Ready");
47  addText(TXT_LABEL_UPDATE, "Update");
48  addText(TXT_LABEL_EDITOR, "Source code editor:");
49  addText(TXT_LABEL_FORMAT, "Format:");
50  addText(TXT_LABEL_CLOCK, "Clock count:");
51  addText(TXT_LABEL_PC, "Program counter:");
52  addText(TXT_LABEL_RA, "Return address:");
53  addText(TXT_LABEL_SYS_CALL_HANDLER, "System call handler:");
54  addText(TXT_LABEL_SYS_CALL_NUMBER, "System call number:");
55  addText(TXT_LABEL_MODE, "Mode:");
56  addText(TXT_LABEL_END, "End point:");
57  addText(TXT_LABEL_START, "Start point:");
58 
59  addText(TXT_BUTTON_MODIFY, "Modify...");
60  addText(TXT_BUTTON_OPEN, "Open");
61  addText(TXT_BUTTON_TRIGGER, "Trigger");
62  addText(TXT_BUTTON_ADVANCE_LOCK, "Advance Clock");
63  addText(TXT_BUTTON_SAVE, "Save");
64  addText(TXT_BUTTON_UNDO, "Undo");
65  addText(TXT_BUTTON_DELETE, "Delete");
66  addText(TXT_BUTTON_NEW, "New");
67  addText(TXT_BUTTON_BROWSE, "Browse");
68  addText(TXT_BUTTON_RESET, "Reset");
69  addText(TXT_BUTTON_CLOSE, "Close");
70  addText(TXT_BUTTON_SHOW_REGISTERS, "Show registers");
71  addText(TXT_BUTTON_HIDE_REGISTERS, "Hide registers");
72  addText(TXT_BUTTON_UPDATE, "Update");
73 
74  addText(TXT_CHECKBOX_READS_MEMORY, "Reads memory");
75  addText(TXT_CHECKBOX_WRITES_MEMORY, "Writes memory");
76  addText(TXT_CHECKBOX_CAN_TRAP, "Can trap");
77  addText(TXT_CHECKBOX_HAS_SIDE_EFFECTS, "Has side effects");
78  addText(TXT_CHECKBOX_CLOCKED, "Clocked");
79  addText(TXT_CHECKBOX_MEM_DATA, "Memory data");
80  addText(TXT_CHECKBOX_MEM_ADDRESS, "Memory address");
81 
82  addText(TXT_COLUMN_OPERATION, "operation");
83  addText(TXT_COLUMN_OPERAND, "operand");
84  addText(TXT_COLUMN_TYPE, "type");
85  addText(TXT_COLUMN_VALUE, "value");
86  addText(TXT_COLUMN_SEARCH_PATHS, "search paths");
87  addText(TXT_COLUMN_MODULES, "modules");
88  addText(TXT_COLUMN_OPERATIONS, "operations");
89  addText(TXT_COLUMN_PROPERTY, "property");
90  addText(TXT_COLUMN_OPERAND_VALUE, "operand value");
91  addText(TXT_COLUMN_ELEMENT_WIDTH, "element width");
92  addText(TXT_COLUMN_ELEMENT_COUNT, "element count");
93 
94  addText(TXT_PROPERTY_DIALOG_TITLE, "Operation properties");
95  addText(TXT_INPUT_OPERAND_DIALOG_TITLE, "Input operand properties: id %i");
96  addText(TXT_OUTPUT_OPERAND_DIALOG_TITLE, "Output operand properties: id %i");
97  addText(TXT_ADD_MODULE_DIALOG_TITLE, "Add module");
98  addText(TXT_SIMULATE_DIALOG_TITLE, "Simulate Operation Behavior: %s");
100  addText(TXT_BUILD_RESULT_DIALOG_TITLE, "Build results");
101  addText(TXT_USER_MANUAL_TITLE, "User manual");
102  addText(TXT_XML_RESULT_DIALOG_TITLE, "Bad modules");
103  addText(TXT_ABOUT_DIALOG_TITLE, "About Operation Set Editor");
104  addText(TXT_SIMULATION_INFO_DIALOG_TITLE, "Simulation information");
105  addText(TXT_MEMORY_DIALOG_TITLE, "Memory");
106 
107  addText(TXT_BOX_AFFECTS, "Affects");
108  addText(TXT_BOX_AFFECTED_BY, "Affected by");
109  addText(TXT_BOX_INPUT_OPERANDS, "Operation inputs");
110  addText(TXT_BOX_OUTPUT_OPERANDS, "Operation outputs");
111  addText(TXT_BOX_CAN_SWAP, "Can swap");
112  addText(TXT_BOX_INPUT_VALUES, "Input values");
113  addText(TXT_BOX_OUTPUT_VALUES, "Output values");
114 
115  addText(TXT_ERROR_NO_NAME, "No name given to %s.");
116  addText(TXT_ERROR_CAN_NOT_MODIFY, "Operation cannot be modified.");
117  addText(TXT_ERROR_CAN_NOT_CREATE_MOD, "Module cannot be created.");
118  addText(TXT_ERROR_CAN_NOT_CREATE_OP, "Operation cannot be created.");
119  addText(TXT_ERROR_NO_EDITOR, "Editor not set");
120  addText(TXT_ERROR_OPEN, "Can not open editor %s");
121  addText(TXT_ERROR_CAN_NOT_SAVE, "Can not save options");
122  addText(TXT_ERROR_NON_EXISTING_OPERATION, "Operation %s does not exist");
123  addText(TXT_ERROR_TRIGGER_FAILED, "Result could not be compiled");
125  "Operation %s can not be removed");
126 
127  addText(TXT_ERROR_MODULE_EXISTS, "Module %s already exists.");
128  addText(TXT_ERROR_OPERATION_EXISTS, "Operation %s already exists.");
129  addText(TXT_ERROR_NO_HANDLER, "No handler found for the command event");
130  addText(TXT_ERROR_MOD_NAME, "Module name %s is erronous");
131 
132  addText(TXT_MSG_BUILD_OK, "Build successful");
133 
134  addText(TXT_ABOUT, "Operation Set Editor");
135 
136  addText(TXT_MENU_OPTIONS, "&Options");
137  addText(TXT_MENU_QUIT, "&Quit");
138  addText(TXT_MENU_FILE, "&File");
139  addText(TXT_MENU_ADD_OPERATION, "Add &operation");
140  addText(TXT_MENU_REMOVE_OPERATION, "R&emove operation");
141  addText(TXT_MENU_ADD_MODULE, "Add &module");
142  addText(TXT_MENU_MODIFY_PROPERTIES, "Modify &properties");
143  addText(TXT_MENU_BUILD, "&Build");
144  addText(TXT_MENU_BUILD_ALL, "Build &all");
145  addText(TXT_MENU_SIMULATE, "&Simulate");
146  addText(TXT_MENU_TOOLS, "&Tools");
147  addText(TXT_MENU_ABOUT, "&About...");
148  addText(TXT_MENU_USER_MANUAL, "&User manual...");
149  addText(TXT_MENU_HELP, "&Help");
150  addText(TXT_MENU_REMOVE_MODULE, "&Remove module");
151  addText(TXT_MENU_MODIFY_BEHAVIOR, "Modify &behavior");
152  addText(TXT_MENU_MEMORY, "Memo&ry");
153 
154  addText(TXT_ROW_NAME, "name");
155  addText(TXT_ROW_DESCRIPTION, "description");
156  addText(TXT_ROW_INPUTS, "inputs");
157  addText(TXT_ROW_OUTPUTS, "outputs");
158  addText(TXT_ROW_READS_MEMORY, "reads memory");
159  addText(TXT_ROW_WRITES_MEMORY, "writes memory");
160  addText(TXT_ROW_TRUE, "true");
161  addText(TXT_ROW_FALSE, "false");
162  addText(TXT_ROW_CAN_TRAP, "can trap");
163  addText(TXT_ROW_HAS_SIDE_EFFECTS, "has side effects");
164  addText(TXT_ROW_CLOCKED, "clocked");
165  addText(TXT_ROW_AFFECTED_BY, "affected by");
166  addText(TXT_ROW_AFFECTS, "affects");
167  addText(TXT_ROW_INPUT_OPERANDS, "input operands");
168  addText(TXT_ROW_OUTPUT_OPERANDS, "output operands");
169  addText(TXT_ROW_ID, "id: ");
170  addText(TXT_ROW_YES, "yes");
171  addText(TXT_ROW_NO, "no");
172  addText(TXT_ROW_TYPE, "type");
173  addText(TXT_ROW_MEMORY_ADDRESS, "memory address");
174  addText(TXT_ROW_CAN_SWAP, "can swap");
175  addText(TXT_ROW_MEMORY_DATA, "memory data");
176  addText(TXT_ROW_HAS_BEHAVIOR, "has behavior");
177 
178  addText(
180  "Are you sure you want to remove module %s?");
181 
182  addText(
184  "Are you sure you want to remove behavior file %s?");
185 
186  addText(
188  "Operation properties modified. Save properties?");
189 
190  addText(
192  "Are you sure you want to remove operation %s?");
193 
194  addText(TXT_STATUS_PATH_SELECTED, "Path selected");
195  addText(TXT_STATUS_MODULE_SELECTED, "Module selected");
196  addText(TXT_STATUS_OPERATION_SELECTED, "Operation selected");
197  addText(TXT_STATUS_COMPILING, "Compiling %s...");
198  addText(TXT_STATUS_COMPILE_SUCCESS, "Compilation successful. It took %i ms");
199  addText(TXT_STATUS_COMPILE_FAILED, "Compilation failed.");
200 }
201 
202 /**
203  * Destructor.
204  */
206 }
207 
208 /**
209  * Returns an instance of text generator.
210  *
211  * @return Instance of text generator.
212  */
215  if (instance_ == NULL) {
217  }
218  return *instance_;
219 }
220 
221 /**
222  * Destroys the only instance of text generator.
223  */
224 void
226  if (instance_ != NULL) {
227  delete instance_;
228  instance_ = NULL;
229  }
230 }
231 
OSEdTextGenerator::TXT_ERROR_MODULE_EXISTS
@ TXT_ERROR_MODULE_EXISTS
Module exists error.
Definition: OSEdTextGenerator.hh:151
OSEdTextGenerator::TXT_ROW_CAN_TRAP
@ TXT_ROW_CAN_TRAP
Can trap row label.
Definition: OSEdTextGenerator.hh:191
OSEdTextGenerator::TXT_LABEL_RA
@ TXT_LABEL_RA
Return address label.
Definition: OSEdTextGenerator.hh:62
OSEdTextGenerator::TXT_ROW_CLOCKED
@ TXT_ROW_CLOCKED
Clocked row label.
Definition: OSEdTextGenerator.hh:193
OSEdTextGenerator::TXT_ROW_INPUT_OPERANDS
@ TXT_ROW_INPUT_OPERANDS
Input operands row label.
Definition: OSEdTextGenerator.hh:196
OSEdTextGenerator::TXT_BUTTON_SHOW_REGISTERS
@ TXT_BUTTON_SHOW_REGISTERS
Show registers button label.
Definition: OSEdTextGenerator.hh:82
OSEdTextGenerator::TXT_LABEL_START
@ TXT_LABEL_START
Memory start label.
Definition: OSEdTextGenerator.hh:67
OSEdTextGenerator::TXT_MENU_USER_MANUAL
@ TXT_MENU_USER_MANUAL
User manual menu label.
Definition: OSEdTextGenerator.hh:176
OSEdTextGenerator::TXT_BUILD_RESULT_DIALOG_TITLE
@ TXT_BUILD_RESULT_DIALOG_TITLE
Build result dialog title.
Definition: OSEdTextGenerator.hh:115
OSEdTextGenerator::TXT_QUESTION_REMOVE_OPERATION
@ TXT_QUESTION_REMOVE_OPERATION
Remove operation question.
Definition: OSEdTextGenerator.hh:211
OSEdTextGenerator::TXT_ERROR_CAN_NOT_SAVE
@ TXT_ERROR_CAN_NOT_SAVE
Error when options can not be saved.
Definition: OSEdTextGenerator.hh:142
OSEdTextGenerator::TXT_COLUMN_ELEMENT_WIDTH
@ TXT_COLUMN_ELEMENT_WIDTH
Operand element width header.
Definition: OSEdTextGenerator.hh:105
OSEdTextGenerator::TXT_LABEL_CLOCK
@ TXT_LABEL_CLOCK
Clock label.
Definition: OSEdTextGenerator.hh:60
OSEdTextGenerator::TXT_ROW_YES
@ TXT_ROW_YES
Yes text.
Definition: OSEdTextGenerator.hh:199
OSEdTextGenerator::TXT_ABOUT
@ TXT_ABOUT
About text.
Definition: OSEdTextGenerator.hh:161
OSEdTextGenerator::TXT_BUTTON_CLOSE
@ TXT_BUTTON_CLOSE
Close button label.
Definition: OSEdTextGenerator.hh:81
OSEdTextGenerator::TXT_LABEL_END
@ TXT_LABEL_END
Memory end label.
Definition: OSEdTextGenerator.hh:66
OSEdTextGenerator::TXT_ROW_WRITES_MEMORY
@ TXT_ROW_WRITES_MEMORY
Writes memory row label.
Definition: OSEdTextGenerator.hh:190
OSEdTextGenerator::TXT_SIMULATE_DIALOG_TITLE
@ TXT_SIMULATE_DIALOG_TITLE
Simulate dialog title.
Definition: OSEdTextGenerator.hh:113
OSEdTextGenerator::TXT_ERROR_CAN_NOT_CREATE_OP
@ TXT_ERROR_CAN_NOT_CREATE_OP
Error when can not create operation.
Definition: OSEdTextGenerator.hh:137
OSEdTextGenerator::TXT_LABEL_SYS_CALL_NUMBER
@ TXT_LABEL_SYS_CALL_NUMBER
Sys call number label.
Definition: OSEdTextGenerator.hh:64
OSEdTextGenerator::TXT_BUTTON_TRIGGER
@ TXT_BUTTON_TRIGGER
Trigger button label.
Definition: OSEdTextGenerator.hh:72
OSEdTextGenerator::TXT_BUTTON_NEW
@ TXT_BUTTON_NEW
New button label.
Definition: OSEdTextGenerator.hh:78
OSEdTextGenerator::TXT_ERROR_CAN_NOT_MODIFY
@ TXT_ERROR_CAN_NOT_MODIFY
Error when can not modify.
Definition: OSEdTextGenerator.hh:133
OSEdTextGenerator::TXT_CHECKBOX_HAS_SIDE_EFFECTS
@ TXT_CHECKBOX_HAS_SIDE_EFFECTS
Has side effects label.
Definition: OSEdTextGenerator.hh:90
OSEdTextGenerator::TXT_ROW_OUTPUTS
@ TXT_ROW_OUTPUTS
Outputs row label.
Definition: OSEdTextGenerator.hh:186
OSEdTextGenerator::TXT_ERROR_CAN_NOT_REMOVE_OPERATION
@ TXT_ERROR_CAN_NOT_REMOVE_OPERATION
Error when operation can not be removed.
Definition: OSEdTextGenerator.hh:148
OSEdTextGenerator::TXT_XML_RESULT_DIALOG_TITLE
@ TXT_XML_RESULT_DIALOG_TITLE
XML result dialog title.
Definition: OSEdTextGenerator.hh:117
OSEdTextGenerator::TXT_LABEL_FORMAT
@ TXT_LABEL_FORMAT
Format label.
Definition: OSEdTextGenerator.hh:59
OSEdTextGenerator::TXT_STATUS_COMPILING
@ TXT_STATUS_COMPILING
Status bar text when compiling.
Definition: OSEdTextGenerator.hh:219
OSEdTextGenerator::TXT_ROW_CAN_SWAP
@ TXT_ROW_CAN_SWAP
Can swap row label.
Definition: OSEdTextGenerator.hh:203
OSEdTextGenerator::TXT_ROW_HAS_SIDE_EFFECTS
@ TXT_ROW_HAS_SIDE_EFFECTS
Has side effects row label.
Definition: OSEdTextGenerator.hh:192
OSEdTextGenerator::TXT_STATUS_MODULE_SELECTED
@ TXT_STATUS_MODULE_SELECTED
Status bar text when module is selected.
Definition: OSEdTextGenerator.hh:215
OSEdTextGenerator::destroy
static void destroy()
Definition: OSEdTextGenerator.cc:225
OSEdTextGenerator::TXT_LABEL_NO_BEHAVIOR
@ TXT_LABEL_NO_BEHAVIOR
No behavior label.
Definition: OSEdTextGenerator.hh:55
OSEdTextGenerator::TXT_SIMULATION_INFO_DIALOG_TITLE
@ TXT_SIMULATION_INFO_DIALOG_TITLE
Simulation info dialog title.
Definition: OSEdTextGenerator.hh:119
OSEdTextGenerator::TXT_ERROR_OPERATION_EXISTS
@ TXT_ERROR_OPERATION_EXISTS
Operation exists error.
Definition: OSEdTextGenerator.hh:152
OSEdTextGenerator::TXT_LABEL_OPERATION_NAME
@ TXT_LABEL_OPERATION_NAME
Operation name label.
Definition: OSEdTextGenerator.hh:52
OSEdTextGenerator::TXT_MSG_BUILD_OK
@ TXT_MSG_BUILD_OK
Build ok message.
Definition: OSEdTextGenerator.hh:158
OSEdTextGenerator::TXT_ROW_FALSE
@ TXT_ROW_FALSE
False text.
Definition: OSEdTextGenerator.hh:189
OSEdTextGenerator::TXT_COLUMN_VALUE
@ TXT_COLUMN_VALUE
Value column header.
Definition: OSEdTextGenerator.hh:99
OSEdTextGenerator::TXT_BUTTON_DELETE
@ TXT_BUTTON_DELETE
Delete button label.
Definition: OSEdTextGenerator.hh:77
OSEdTextGenerator::TXT_CHECKBOX_CAN_TRAP
@ TXT_CHECKBOX_CAN_TRAP
Can trap label.
Definition: OSEdTextGenerator.hh:89
OSEdTextGenerator::TXT_ROW_MEMORY_ADDRESS
@ TXT_ROW_MEMORY_ADDRESS
Memory address row label.
Definition: OSEdTextGenerator.hh:202
OSEdTextGenerator::TXT_CHECKBOX_WRITES_MEMORY
@ TXT_CHECKBOX_WRITES_MEMORY
Writes memory label.
Definition: OSEdTextGenerator.hh:88
OSEdTextGenerator::TXT_CHECKBOX_READS_MEMORY
@ TXT_CHECKBOX_READS_MEMORY
Reads memory label.
Definition: OSEdTextGenerator.hh:87
OSEdTextGenerator::TXT_OPTIONS_DIALOG_TITLE
@ TXT_OPTIONS_DIALOG_TITLE
Options dialog title.
Definition: OSEdTextGenerator.hh:114
OSEdTextGenerator::TXT_BUTTON_MODIFY
@ TXT_BUTTON_MODIFY
Modify button label.
Definition: OSEdTextGenerator.hh:70
OSEdTextGenerator::TXT_BUTTON_BROWSE
@ TXT_BUTTON_BROWSE
Browse button label.
Definition: OSEdTextGenerator.hh:79
OSEdTextGenerator::TXT_COLUMN_ELEMENT_COUNT
@ TXT_COLUMN_ELEMENT_COUNT
Operand element count header.
Definition: OSEdTextGenerator.hh:106
OSEdTextGenerator::TXT_MENU_FILE
@ TXT_MENU_FILE
File menu label.
Definition: OSEdTextGenerator.hh:166
OSEdTextGenerator::TXT_LABEL_MODE
@ TXT_LABEL_MODE
Mode label.
Definition: OSEdTextGenerator.hh:65
OSEdTextGenerator::TXT_BOX_AFFECTED_BY
@ TXT_BOX_AFFECTED_BY
Affected by sizer label.
Definition: OSEdTextGenerator.hh:124
OSEdTextGenerator::TXT_BOX_CAN_SWAP
@ TXT_BOX_CAN_SWAP
Can swap sizer label.
Definition: OSEdTextGenerator.hh:127
OSEdTextGenerator::TXT_COLUMN_SEARCH_PATHS
@ TXT_COLUMN_SEARCH_PATHS
Search path column header.
Definition: OSEdTextGenerator.hh:100
OSEdTextGenerator::TXT_ROW_NO
@ TXT_ROW_NO
No text.
Definition: OSEdTextGenerator.hh:200
OSEdTextGenerator::TXT_ERROR_CAN_NOT_CREATE_MOD
@ TXT_ERROR_CAN_NOT_CREATE_MOD
Error when can not create module.
Definition: OSEdTextGenerator.hh:134
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
OSEdTextGenerator::TXT_BUTTON_RESET
@ TXT_BUTTON_RESET
Reset button label.
Definition: OSEdTextGenerator.hh:80
OSEdTextGenerator::TXT_STATUS_COMPILE_FAILED
@ TXT_STATUS_COMPILE_FAILED
Status bar text when compilation failed.
Definition: OSEdTextGenerator.hh:222
OSEdTextGenerator::TXT_COLUMN_OPERATION
@ TXT_COLUMN_OPERATION
Operation column header.
Definition: OSEdTextGenerator.hh:96
OSEdTextGenerator::TXT_BUTTON_OPEN
@ TXT_BUTTON_OPEN
Open button label.
Definition: OSEdTextGenerator.hh:71
OSEdTextGenerator::OSEdTextGenerator
OSEdTextGenerator()
Definition: OSEdTextGenerator.cc:40
OSEdTextGenerator::TXT_QUESTION_SAVE_PROPERTIES
@ TXT_QUESTION_SAVE_PROPERTIES
Save properties question.
Definition: OSEdTextGenerator.hh:210
OSEdTextGenerator::TXT_LABEL_HAS_BEHAVIOR
@ TXT_LABEL_HAS_BEHAVIOR
Has behavior label.
Definition: OSEdTextGenerator.hh:54
OSEdTextGenerator::TXT_BUTTON_UNDO
@ TXT_BUTTON_UNDO
Undo button label.
Definition: OSEdTextGenerator.hh:76
OSEdTextGenerator::TXT_MENU_MODIFY_PROPERTIES
@ TXT_MENU_MODIFY_PROPERTIES
Modify properties menu label.
Definition: OSEdTextGenerator.hh:170
OSEdTextGenerator::TXT_ROW_HAS_BEHAVIOR
@ TXT_ROW_HAS_BEHAVIOR
Has behavior row label.
Definition: OSEdTextGenerator.hh:205
OSEdTextGenerator::TXT_ERROR_NO_EDITOR
@ TXT_ERROR_NO_EDITOR
Error when no editor is given.
Definition: OSEdTextGenerator.hh:140
OSEdTextGenerator::TXT_USER_MANUAL_TITLE
@ TXT_USER_MANUAL_TITLE
User manual dialog title.
Definition: OSEdTextGenerator.hh:116
OSEdTextGenerator::TXT_LABEL_READY
@ TXT_LABEL_READY
Ready label.
Definition: OSEdTextGenerator.hh:56
OSEdTextGenerator::TXT_ABOUT_DIALOG_TITLE
@ TXT_ABOUT_DIALOG_TITLE
About dialog title.
Definition: OSEdTextGenerator.hh:118
OSEdTextGenerator::TXT_BUTTON_UPDATE
@ TXT_BUTTON_UPDATE
Update button label.
Definition: OSEdTextGenerator.hh:84
OSEdTextGenerator::TXT_STATUS_COMPILE_SUCCESS
@ TXT_STATUS_COMPILE_SUCCESS
Status bar text when compiling was successful.
Definition: OSEdTextGenerator.hh:220
OSEdTextGenerator::TXT_MENU_ADD_OPERATION
@ TXT_MENU_ADD_OPERATION
Add operation menu label.
Definition: OSEdTextGenerator.hh:167
OSEdTextGenerator::TXT_ROW_OUTPUT_OPERANDS
@ TXT_ROW_OUTPUT_OPERANDS
Output operands row label.
Definition: OSEdTextGenerator.hh:197
OSEdTextGenerator::TXT_ROW_TYPE
@ TXT_ROW_TYPE
Type row label.
Definition: OSEdTextGenerator.hh:201
OSEdTextGenerator::TXT_ERROR_OPEN
@ TXT_ERROR_OPEN
Error when opening fails.
Definition: OSEdTextGenerator.hh:141
OSEdTextGenerator::TXT_LABEL_SYS_CALL_HANDLER
@ TXT_LABEL_SYS_CALL_HANDLER
Sys call handler label.
Definition: OSEdTextGenerator.hh:63
OSEdTextGenerator::TXT_MENU_ADD_MODULE
@ TXT_MENU_ADD_MODULE
Add module menu label.
Definition: OSEdTextGenerator.hh:169
OSEdTextGenerator::TXT_BUTTON_ADVANCE_LOCK
@ TXT_BUTTON_ADVANCE_LOCK
Advance Lock button label.
Definition: OSEdTextGenerator.hh:74
OSEdTextGenerator::TXT_COLUMN_TYPE
@ TXT_COLUMN_TYPE
Type column header.
Definition: OSEdTextGenerator.hh:98
OSEdTextGenerator::TXT_CHECKBOX_CLOCKED
@ TXT_CHECKBOX_CLOCKED
Clocked label.
Definition: OSEdTextGenerator.hh:91
OSEdTextGenerator::TXT_ERROR_TRIGGER_FAILED
@ TXT_ERROR_TRIGGER_FAILED
Error when trigger fails.
Definition: OSEdTextGenerator.hh:147
OSEdTextGenerator::TXT_MENU_OPTIONS
@ TXT_MENU_OPTIONS
Option menu label.
Definition: OSEdTextGenerator.hh:164
OSEdTextGenerator::instance_
static OSEdTextGenerator * instance_
Static instance of text generator.
Definition: OSEdTextGenerator.hh:231
OSEdTextGenerator::TXT_ROW_NAME
@ TXT_ROW_NAME
Name row label.
Definition: OSEdTextGenerator.hh:183
OSEdTextGenerator::TXT_ROW_READS_MEMORY
@ TXT_ROW_READS_MEMORY
Reads memory row label.
Definition: OSEdTextGenerator.hh:187
OSEdTextGenerator::TXT_INPUT_OPERAND_DIALOG_TITLE
@ TXT_INPUT_OPERAND_DIALOG_TITLE
Input operand dialog title.
Definition: OSEdTextGenerator.hh:110
OSEdTextGenerator::TXT_ERROR_NO_HANDLER
@ TXT_ERROR_NO_HANDLER
Error when custom command handler is not found.
Definition: OSEdTextGenerator.hh:153
OSEdTextGenerator::TXT_ROW_DESCRIPTION
@ TXT_ROW_DESCRIPTION
Description row label.
Definition: OSEdTextGenerator.hh:184
OSEdTextGenerator::TXT_BOX_INPUT_OPERANDS
@ TXT_BOX_INPUT_OPERANDS
Input operand sizer label.
Definition: OSEdTextGenerator.hh:125
OSEdTextGenerator::TXT_BOX_OUTPUT_VALUES
@ TXT_BOX_OUTPUT_VALUES
Output values sizer label.
Definition: OSEdTextGenerator.hh:129
OSEdTextGenerator::TXT_MENU_QUIT
@ TXT_MENU_QUIT
Quit menu label.
Definition: OSEdTextGenerator.hh:165
OSEdTextGenerator::TXT_MENU_TOOLS
@ TXT_MENU_TOOLS
Tools menu label.
Definition: OSEdTextGenerator.hh:174
OSEdTextGenerator::TXT_MENU_HELP
@ TXT_MENU_HELP
Help menu label.
Definition: OSEdTextGenerator.hh:177
OSEdTextGenerator::TXT_LABEL_MODULE_NAME
@ TXT_LABEL_MODULE_NAME
Module name label.
Definition: OSEdTextGenerator.hh:53
OSEdTextGenerator::TXT_ADD_MODULE_DIALOG_TITLE
@ TXT_ADD_MODULE_DIALOG_TITLE
Add module dialog title.
Definition: OSEdTextGenerator.hh:112
OSEdTextGenerator::TXT_MENU_BUILD_ALL
@ TXT_MENU_BUILD_ALL
Build all menu label.
Definition: OSEdTextGenerator.hh:172
OSEdTextGenerator::TXT_OUTPUT_OPERAND_DIALOG_TITLE
@ TXT_OUTPUT_OPERAND_DIALOG_TITLE
Output operand dialog title.
Definition: OSEdTextGenerator.hh:111
OSEdTextGenerator::TXT_ERROR_NON_EXISTING_OPERATION
@ TXT_ERROR_NON_EXISTING_OPERATION
Error when operation does not exist.
Definition: OSEdTextGenerator.hh:145
OSEdTextGenerator::TXT_ROW_TRUE
@ TXT_ROW_TRUE
True text.
Definition: OSEdTextGenerator.hh:188
OSEdTextGenerator::TXT_ROW_AFFECTED_BY
@ TXT_ROW_AFFECTED_BY
Affected by row label.
Definition: OSEdTextGenerator.hh:194
OSEdTextGenerator::TXT_ERROR_NO_NAME
@ TXT_ERROR_NO_NAME
Error when no name is given.
Definition: OSEdTextGenerator.hh:132
OSEdTextGenerator::TXT_COLUMN_PROPERTY
@ TXT_COLUMN_PROPERTY
Property column header.
Definition: OSEdTextGenerator.hh:103
OSEdTextGenerator::TXT_LABEL_PC
@ TXT_LABEL_PC
Program counter label.
Definition: OSEdTextGenerator.hh:61
OSEdTextGenerator::TXT_COLUMN_OPERAND_VALUE
@ TXT_COLUMN_OPERAND_VALUE
Operand value column header.
Definition: OSEdTextGenerator.hh:104
OSEdTextGenerator::TXT_MENU_REMOVE_MODULE
@ TXT_MENU_REMOVE_MODULE
Remove module menu label.
Definition: OSEdTextGenerator.hh:178
OSEdTextGenerator::TXT_LABEL_UPDATE
@ TXT_LABEL_UPDATE
Update label.
Definition: OSEdTextGenerator.hh:57
OSEdTextGenerator::TXT_BOX_INPUT_VALUES
@ TXT_BOX_INPUT_VALUES
Input values sizer label.
Definition: OSEdTextGenerator.hh:128
OSEdTextGenerator::instance
static OSEdTextGenerator & instance()
Definition: OSEdTextGenerator.cc:214
OSEdTextGenerator::TXT_COLUMN_OPERAND
@ TXT_COLUMN_OPERAND
Operand column header.
Definition: OSEdTextGenerator.hh:97
OSEdTextGenerator::TXT_MENU_MODIFY_BEHAVIOR
@ TXT_MENU_MODIFY_BEHAVIOR
Modify behavior menu label.
Definition: OSEdTextGenerator.hh:179
OSEdTextGenerator::TXT_LABEL_EDITOR
@ TXT_LABEL_EDITOR
Editor label.
Definition: OSEdTextGenerator.hh:58
OSEdTextGenerator::TXT_STATUS_PATH_SELECTED
@ TXT_STATUS_PATH_SELECTED
Status bar text when path is selected.
Definition: OSEdTextGenerator.hh:213
OSEdTextGenerator::TXT_ROW_INPUTS
@ TXT_ROW_INPUTS
Inputs row label.
Definition: OSEdTextGenerator.hh:185
OSEdTextGenerator
Definition: OSEdTextGenerator.hh:42
OSEdTextGenerator::TXT_MENU_REMOVE_OPERATION
@ TXT_MENU_REMOVE_OPERATION
Remove operation menu label.
Definition: OSEdTextGenerator.hh:168
OSEdTextGenerator::TXT_BOX_OUTPUT_OPERANDS
@ TXT_BOX_OUTPUT_OPERANDS
Output operand sizer label.
Definition: OSEdTextGenerator.hh:126
OSEdTextGenerator::~OSEdTextGenerator
virtual ~OSEdTextGenerator()
Definition: OSEdTextGenerator.cc:205
OSEdTextGenerator::TXT_ROW_AFFECTS
@ TXT_ROW_AFFECTS
Affects row label.
Definition: OSEdTextGenerator.hh:195
OSEdTextGenerator::TXT_MENU_ABOUT
@ TXT_MENU_ABOUT
About menu label.
Definition: OSEdTextGenerator.hh:175
OSEdTextGenerator::TXT_ERROR_MOD_NAME
@ TXT_ERROR_MOD_NAME
Module name is erronous.
Definition: OSEdTextGenerator.hh:155
OSEdTextGenerator::TXT_COLUMN_MODULES
@ TXT_COLUMN_MODULES
Module column header.
Definition: OSEdTextGenerator.hh:101
OSEdTextGenerator::TXT_MEMORY_DIALOG_TITLE
@ TXT_MEMORY_DIALOG_TITLE
Memory dialog title.
Definition: OSEdTextGenerator.hh:120
OSEdTextGenerator::TXT_MENU_MEMORY
@ TXT_MENU_MEMORY
Memory menu label.
Definition: OSEdTextGenerator.hh:180
OSEdTextGenerator::TXT_BUTTON_SAVE
@ TXT_BUTTON_SAVE
Save button label.
Definition: OSEdTextGenerator.hh:75
OSEdTextGenerator::TXT_BOX_AFFECTS
@ TXT_BOX_AFFECTS
Affects sizer label.
Definition: OSEdTextGenerator.hh:123
OSEdTextGenerator.hh
OSEdTextGenerator::TXT_BUTTON_HIDE_REGISTERS
@ TXT_BUTTON_HIDE_REGISTERS
Hide registers button label.
Definition: OSEdTextGenerator.hh:83
OSEdTextGenerator::TXT_CHECKBOX_MEM_ADDRESS
@ TXT_CHECKBOX_MEM_ADDRESS
Memory address label.
Definition: OSEdTextGenerator.hh:93
OSEdTextGenerator::TXT_ROW_ID
@ TXT_ROW_ID
Id row label.
Definition: OSEdTextGenerator.hh:198
OSEdTextGenerator::TXT_ROW_MEMORY_DATA
@ TXT_ROW_MEMORY_DATA
Memory data row label.
Definition: OSEdTextGenerator.hh:204
OSEdTextGenerator::TXT_MENU_SIMULATE
@ TXT_MENU_SIMULATE
Simulate menu label.
Definition: OSEdTextGenerator.hh:173
OSEdTextGenerator::TXT_QUESTION_REMOVE_MODULE
@ TXT_QUESTION_REMOVE_MODULE
Remove module question.
Definition: OSEdTextGenerator.hh:208
OSEdTextGenerator::TXT_MENU_BUILD
@ TXT_MENU_BUILD
Build menu label.
Definition: OSEdTextGenerator.hh:171
OSEdTextGenerator::TXT_QUESTION_REMOVE_BEHAVIOR_FILE
@ TXT_QUESTION_REMOVE_BEHAVIOR_FILE
Remove behavior question.
Definition: OSEdTextGenerator.hh:209
OSEdTextGenerator::TXT_PROPERTY_DIALOG_TITLE
@ TXT_PROPERTY_DIALOG_TITLE
Property dialog title.
Definition: OSEdTextGenerator.hh:109
OSEdTextGenerator::TXT_COLUMN_OPERATIONS
@ TXT_COLUMN_OPERATIONS
Operations column header.
Definition: OSEdTextGenerator.hh:102
OSEdTextGenerator::TXT_STATUS_OPERATION_SELECTED
@ TXT_STATUS_OPERATION_SELECTED
Status bar text when operation is selected.
Definition: OSEdTextGenerator.hh:217
OSEdTextGenerator::TXT_CHECKBOX_MEM_DATA
@ TXT_CHECKBOX_MEM_DATA
Memory data label.
Definition: OSEdTextGenerator.hh:92