Related Save/Close Action

A variety 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 are written back to the remote system immediately when saving or closing the editor.

An edit action can be extended by a Related_Save_Action and/or Related_Close_Action. The Save action is carried out every time there is a request to save the file. The Close action is carried out when the editor is closed. This also happens when closing Eclipse.

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