myGrid

Save changes on exit

Details

  • Type: Refinement Refinement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5
  • Fix Version/s: 1.5
  • Component/s: None
  • Labels:
    None

Description

If you exit Taverna whilst editing a workflow you lose your current work. Needs a Save Changes, Don't Save type popup box on exiting if a workflow has been edited an is unsaved.

Issue Links

Activity

Hide
Stian Soiland-Reyes added a comment - 2006-11-30 16:51

TAV-297 Save changes on exit implemented.

Workbench keeps track of if workflows have been changed
since their creation or opening, by the help of new
WorkflowChanges, which listens to ScuflModelEvents and tags
those workflows as "changed" until SaveWorkflowAction
tags it as "synced" again.

WorkflowChanges also remembers which filename a workflow was
most recently opened or save to/from, and this is used as a
default in SaveWorkflowAction.

In SaveWorkflowAction, if the workflow has not been saved
before, the title is suggested from the Title in Metadata,
unless it is "Untitled Workflow #234123". If it is untitled,
that title will be set to the chosen filename instead.

Show
Stian Soiland-Reyes added a comment - 2006-11-30 16:51 TAV-297 Save changes on exit implemented. Workbench keeps track of if workflows have been changed since their creation or opening, by the help of new WorkflowChanges, which listens to ScuflModelEvents and tags those workflows as "changed" until SaveWorkflowAction tags it as "synced" again. WorkflowChanges also remembers which filename a workflow was most recently opened or save to/from, and this is used as a default in SaveWorkflowAction. In SaveWorkflowAction, if the workflow has not been saved before, the title is suggested from the Title in Metadata, unless it is "Untitled Workflow #234123". If it is untitled, that title will be set to the chosen filename instead.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2006-11-29 16:52
    Updated:
    2008-03-20 15:19
    Resolved:
    2006-11-30 16:51