145
OPUS Projektor Manual
User Interface
oRename: [JavaScripts]: <New-JS-FileName>: Rename
·
Dialog changes
oUpdate: [Project]: <Dialog-Name>: updated
Tooltip
·
Graphical Objects
oProperty/Event changes: Old-Value and New-Value is shown
oMove changes: Old-Location and New-Location is shown
oResize changes: Old-Location/Size and New-Location/Size is shown
·
Communication Objects
oProperty/Event changes: Old-Value and New-Value is shown
·
JS-Objects
oRename: Old-Name and New-Name is shown
·
Dialog changes
oCommon: No specific informations
oDBC-Import: Import-Count of Variables/CAN-Mappings/ECUs is shown
oVariable-Import: Variable-Count is shown + Variables-Names (only 10)
Note: The Time-Stamp (TS) is always shown in the tooltip for all Undo-entries.
JavaScript Undo-Edits
Like mentioned before, all JS changes on the File System can be reverted by Undo/Redo.
Each JS (and each version) will be saved in folder <Project-Folder>/tempScripts
The folder tempScripts will be deleted when the project is closed.
The JavaScriptHandler creates MD5 sums of all JS-Files and saves each version in
tempScripts folder (the syntax is: <js_name>.js_<md5>).
It doesn't matter if a JS file is added/removed or updated in the project or on the FS, the
JavaScriptHandler tracks all changes and creates the appropriate Undo-Edits in the
UndoRedoHandler.
The JS files will be scanned each second on the FS for updates.
If a JS files is opened in JavaScript-Editor, the editor will be closed if the js file gets deleted
by the UndoRedoHandler. (This can take a few seconds ~2s)
If the UndoRedoHandler restores an older JS file version, and the JavaScript-Editor of the
restored file is opened, it takes at least 2 seconds until the editor is refreshed.
Note: If a JavaScript-Editor has focus and Ctrl+Z or Ctrl+Z is pressed, the UndoRedoHandler
of the JavaScript-Editor will be called (not the Projektor-UndoRedoHandler)
Graphical-Object Undo-Edits
·
Pages/Alarms and VKBs
Creating/Deleting a Page/MiniViewPage/Alarm/VKB creates an Undo-Edit.
If the UndoRedoHandler deletes a Page/Alarm or VKB the appropriate TopComponent-
Window will be closed as well.
If the UndoRedoHandler restores a Page/Alarm or VKB the TopComponent-Window won't be
opened again.
·
Other objects (Frames, String Fields, Buttons, Softkeys,...)
If the UndoRedoHandler adds/removes or updates one of these objects, the appropriate page
will be opened and the object will be selected on the scene.
=> If more than one object is affected all objects will be selected
·
Moving/Resizing Objects on the scene