Objecteering management
Purpose
The Objecteering management services provide information on the current Objecteering environment, and realize certain actions on the tool.
Save
boolean Object:save(in boolean askUserConfirmation)
Saves all modifications carried out since the last save in the current project. If "askUserConfirmation" is true and the interpreter is not in "batch" mode, a confirmation dialog box will be displayed. In all other cases, a save is triggered. The return value indicates whether or not the save has been triggered (it is only "false" if the user has refused the save when asked for confirmation). After the save, the history of actions is empty.
Pre-condition: No MDA Modeler session is running.
Post-condition: Return is true => save carried out.
Clear
Object:clearActionHistory()
Clears the history of actions carried out. This obviously means that the "undo/redo" operations cannot be used for actions carried out before this command is run.
Pre-condition: No MDA Modeler session in progress.
Version
String Object:getObjecteeringVersion()
Returns the Objecteering version number. Example : "6.0.0".