Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EVL] A problem in markerType(EVL)
[EVL] A problem in markerType [message #1717006] Wed, 09 December 2015 15:02 Go to next message
Yang Yang is currently offline Yang YangFriend
Messages: 3
Registered: December 2015
Junior Member
Hi all,

I am trying to construct the validation constraint for an example. I had followed steps in [1] .But I failed to choose the right markerType for my own editor.
What am I doing wrong?

Thanks


[1] https://www.eclipse.org/epsilon/doc/articles/evl-gmf-integration/
Re: [EVL] A problem in markerType [message #1717020 is a reply to message #1717006] Wed, 09 December 2015 15:59 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Yang,

There's something wrong with validation in general in your editor (i.e. the "Validation" item doesn't even appear under under the "Edit" menu when an instance of your editor is open). As your editor is hand-crafted (i.e. as opposed to generated by something like Eugenia [1]) it's really hard to tell where things went wrong.

Cheers,
Dimitris

[1] http://www.eclipse.org/epsilon/doc/articles/eugenia-gmf-tutorial/
Re: [EVL] A problem in markerType [message #1717125 is a reply to message #1717020] Thu, 10 December 2015 07:19 Go to previous messageGo to next message
Yang Yang is currently offline Yang YangFriend
Messages: 3
Registered: December 2015
Junior Member
Hi Dimitris ,

If I don't generate my editor by Eugenia, only by GMF. What should I do to use EVL for my validation constraint. I've set "true" in the Validation Enabled and Validation Decorators in the Gen Diagram.

Thank you very much
Re: [EVL] A problem in markerType [message #1717145 is a reply to message #1717125] Thu, 10 December 2015 09:26 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Yang,

No clue I'm afraid. Perhaps people at the GMF forum could help with this. Once you get the "Validate" item to appear under the "Edit" menu please let me know if the EVL problem persists.

Cheers,
Dimitris
Re: [EVL] A problem in markerType [message #1717293 is a reply to message #1717145] Fri, 11 December 2015 13:14 Go to previous messageGo to next message
Yang Yang is currently offline Yang YangFriend
Messages: 3
Registered: December 2015
Junior Member
Hi Dimitris,

I've figured out this.
First, I constructed a constraint in gmfmap.
Then, I change the property "priority" to medium in gmfgen.
And after this, I can choose the right markerType.
Now the "validate" appears.
Thank you very much^ ^

Cheers,
Yang

[Updated on: Fri, 11 December 2015 13:16]

Report message to a moderator

Re: [EVL] A problem in markerType [message #1717294 is a reply to message #1717293] Fri, 11 December 2015 13:17 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Yang,

Great - thanks for sharing your solution!

Cheers,
Dimitris
Previous Topic:[EVL] Prevent self reference. Suggest fix: delete link
Next Topic:EVL: Code Refactoring
Goto Forum:
  


Current Time: Thu Apr 25 14:22:50 GMT 2024

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

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

Back to the top