Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] .components model consistency and validation
[EEF] .components model consistency and validation [message #550826] Wed, 04 August 2010 13:03
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi,

I really do like EEF, and I managed to create some pretty impressive
views using the Worldcup example. (I love those composed EEFMD views!).

Now, there is one bit, I like a bit less and this is the fact that the
components model uses generated reference ID's for Views which don't
seem to be validated. (This is my assumption, please correct if wrong).

An example here:

<elements xsi:type="eef-views:ElementEditor"
xmi:id="_-a1o6Z_BEd-qUuJJmc9RHw" name="values">
<representation
href=" platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties .toolkits#//@widgets.3 "/>
</elements>


Now if you accidently create a new view. (Which happens to me some times
when I drag and drop in the .components EMF editor), the reference to
the view in the "Properties Edition Element" is not updated. This will
not be detected by the validation.

So, when a model is corrupt and not detected by validation, one is
basically scr@wed.

Is there a way to improve the model validation, so it detects other
problems which won't get through code generation?



Cheers Christophe
Previous Topic:[mwe] Use of the property multipleResourcesInCaseOfList of the mwe writer
Next Topic:[EEF] Label not shown on Widget AdvancedTableComposition
Goto Forum:
  


Current Time: Thu Apr 25 09:38:11 GMT 2024

Powered by FUDForum. Page generated in 0.03249 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top