The RUNTEMP primary command is to make "on-the-fly" changes to templates without permanently saving those changes, and using the temporary changes during edit/view sessions. The user can optionally save the changes at the end of the edit/view session.
In the Template Editor, this function will be enabled only when invoking the Template Editor associated with the resource edit/view session.
File ManagerĀ® for Eclipse plug-in allows you to work with RUNTEMP below:
Before starting an edit/view session, the user is allowed to make changes in the template editor and apply those changes to the upcoming edit/view session without saving to the Template Editor.
When user invokes Template editor from Editor options dialog, makes changes in template and clicks Apply button. The changes will not save to the template editor and editor dialog will close and returns to the Editor option dialog.
If the user starts an edit/view session, the formatted editor will open with the applied temporary template changes.
If the user clicks Cancel in the Editor Options dialog, the RUNTEMP changes will not save to the template.
During the Formatted editor session, if the user edits the template and clicks the Apply button in the template editor, the template editor dialog will be closed and then reload the formatted editor with the applied template changes.
Until the user ends the edit session or cancels the changes, the user is allowed to View/Update the temporary changes.
If the user makes changes to the data of the resource and tries to apply RUNTEMP changes, the dialog below is shown allowing the user to save or discard the data changes.
If the user chooses Yes to discard the changes, the data editor changes will be lost and the formatted editor will reload with the applied RUNTEMP changes.
If the user clicks No, the formatted editor window will be shown to save the current data changes. After saving, the user can apply the RUNTEMP changes to the editor.
When the user closes the edit/view session by selecting File->Close or clicking the X button on the title bar, normal processing will occur. (i.e the formatted editor session will close). Before the editor is closed, the editor checks if RUNTEMP changes exist for the session. If there are changes, the dialog below is shown allowing the user to save or discard the data changes.
If user clicks OK, normal template editor will show which will enable users to save the changes and Cancel option will discard the RUNTEMP changes.