Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339910 - Validate resource before saving a diagram
Summary: Validate resource before saving a diagram
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
: 339619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-14 11:33 EDT by Henrik Rentz-Reichert CLA
Modified: 2011-12-16 02:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Rentz-Reichert CLA 2011-03-14 11:33:10 EDT
To avoid loosing the textual model a diagnosis/validation could be done before a diagram is actually saved.
If validation doesn't succeed show an error dialog with an internal error (since graphical editors shouldn't lead to inconsistent models).

Possible a kind of pre-commit hook in Graphiti would be a good idea. This should be investigated.
Comment 1 Henrik Rentz-Reichert CLA 2011-05-18 10:32:56 EDT
*** Bug 339619 has been marked as a duplicate of this bug. ***
Comment 2 Henrik Rentz-Reichert CLA 2011-05-18 10:52:59 EDT
done with
a447a570c8d5bfd27c211ef7cdebc0836739f11b
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:45:50 EST
closed resolved bug
Comment 4 Henrik Rentz-Reichert CLA 2011-12-16 02:48:11 EST
tagged as version 0.1.0