Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EVL integration with EWL
EVL integration with EWL [message #1019212] Fri, 15 March 2013 08:49 Go to next message
serhat gezgin is currently offline serhat gezgin
Messages: 240
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

I want to use evl with ewl. If need to explain;

i want to create quick fixes in evl file. And then i want to create EWL file and on ewl

operations i want to call evl's operations or quick fixes. Is it

possible ?

Regards
Re: EVL integration with EWL [message #1019217 is a reply to message #1019212] Fri, 15 March 2013 08:56 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 880
Registered: July 2009
Senior Member
Hi,

What you could do would be to define the fix logic in EOL operations in a separate file (e.g. fixes.eol) and then import/call these operations from EVL/EWL.

Cheers,
Dimitris
Re: EVL integration with EWL [message #1019223 is a reply to message #1019217] Fri, 15 March 2013 09:10 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezgin
Messages: 240
Registered: January 2013
Location: Izmir
Senior Member
Hi,

when i create quick fixes on model then i want to create wizard operations same as evl

operations becouse wizard is so user friendly. And there is dublicate operations on

seperate files. So i want to create operation one time and then i want to call this

operation on other file. And maybe if this is possible i want to call quick fix on wizard

actions instead of problem view.

regards,

Serhat Gezgin
Re: EVL integration with EWL [message #1019374 is a reply to message #1019212] Fri, 15 March 2013 15:06 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 880
Registered: July 2009
Senior Member
Hi Serhat,

See a sketch solutions below.

fixes.eol
---
operation Foo fixIt() {
...
}

constraints.evl
---
import "fixes.eol";

context Foo {
constraint Bar {
check : ...
message : ...
fix {
title: ...
do { self.fixIt(); }
}
}
}

wizards.ewl
---
import "fixes.eol";

wizard Wiz {
guard : ...
title : ...
do {
self.fixIt();
}
}

Cheers,
Dimitris
Re: EVL integration with EWL [message #1020638 is a reply to message #1019374] Mon, 18 March 2013 16:00 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezgin
Messages: 240
Registered: January 2013
Location: Izmir
Senior Member
Hi,

When i do like your code i always get

"Method 'pathOfFile' not found (bundleentry://1239.fwk317397122/wizards/filesystem.ewl@31:8)" error.

Regards,
Re: EVL integration with EWL [message #1020640 is a reply to message #1020638] Mon, 18 March 2013 16:05 Go to previous message
serhat gezgin is currently offline serhat gezgin
Messages: 240
Registered: January 2013
Location: Izmir
Senior Member
aaa sorry i done this i make another mistake Smile

Thanks for answer

Regards
Previous Topic:GMF Palette Divison
Next Topic:EGL
Goto Forum:
  


Current Time: Wed Oct 22 00:07:13 GMT 2014

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

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