Previous Topic Next topic Print topic


Related Save-/Close Action

A series of edit scenarios can be modeled. Editing can take place locally or remotely. With local editing, all changes are stored locally and are only written back to the remote system when the user explicitly requests this. When editing on the remote system, all changes will be written back to the remote system immediately when saving or closing the editor.

These actions will be modeled via the references Related_Save_Action and Related_Close_Action in the corresponding Edit action. The Save action will be carried out every time there is a request to save the file. The Close action will be carried out when the editor is closed (this also happens when closing Eclipse).

Note: If an output dialog is modeled in a save action, you cannot open the content of the output dialog in the editor after closing the output dialog. The following error message will be displayed: "The resource tree is locked for modifications."

Save actions which imply changes to the workspace should be modelled with an execution mode of modeless.

Previous Topic Next topic Print topic