Community
Participate
Working Groups
Build ID: I20090224-0800 Steps To Reproduce: 1. Create a new target definition using File -> New -> Target Definition 2. Save is as a file in the workspace. 3. Open it. It will open in the Target Definition Editor 4. Do File -> Save As. Nothing happens Either the Save As should be made functional or it should be disabled. More information:
I was waiting to see how long it would take before someone noticed and filed a bug :) If anybody wants to finish it up, go for it.
If you run out of other things Ankur this is something we realistically need done for 3.5.
Created attachment 130283 [details] Patch
The saving of the model to the new file works correctly, however, the old editor stays open and is marked as dirty. We should be reloading the editor with the correct file input.
completely missed that. Thanks for catching it Curtis. I have been wondering all the while why the fix is so simple, i must be missing something :(
Created attachment 130305 [details] Updated Patch Added code to refresh the editor with the new target. new Editor Input and listeners registered. Pages committed to clear dirty state. and editorDirtyStateChanged to trigger the notify. Do let me know if I overlooked something.
Much better, applied the patch.