itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
175 stars 86 forks source link

Statechart editor doesn't realize renaming of model file, can't save changes #905

Open RainerKlute opened 8 years ago

RainerKlute commented 8 years ago
  1. Open a statechart model in the statechart editor.
  2. Make some changes without saving them.
  3. Rename the model file in the project explorer.
  4. The statechart editor complains: "The file has been deleted from the file system. This editor will be closed."
  5. You can click on Cancel to abort closing the file, however, you won't be able to save your changes anyway. The Save operation complains "The file has been deleted." The Save As… action is inactive (greyed out).
BeckmaR commented 8 years ago

I guess we'll need a Rename Participant that gets alerted when the user changes the filename and somehow feeds that back to the editor / underlying file resource. I'll investigate further.