Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339910

Summary: Validate resource before saving a diagram
Product: [Modeling] eTrice Reporter: Henrik Rentz-Reichert <hrr>
Component: CoreAssignee: Project Inbox <etrice.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ts
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

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