Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] content assist with library use
[ATL] content assist with library use [message #655910] Wed, 23 February 2011 09:35 Go to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Hello

Anybody know how getting a content assit with a library ? I've heard in
a training about ATL that it should be possible.

I've tried this :

-- @nsURI UML=http://www.eclipse.org/uml2/3.0.0/UML
-- @path
stateMachine=/stateMachine.project/transformation/stateMachi ne.atl

module stateMachine2Class;
create OUT : UML from IN : UML;

uses stateMachine;

The transformation works, but the content assist is not working when
using helpers defined in the library.


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: [ATL] content assist with library use [message #655929 is a reply to message #655910] Wed, 23 February 2011 10:30 Go to previous messageGo to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Sorry, I forgot courtesy..
Same message than ID7102


Anybody know how getting a content assit with a library ? I've heard in a
training about ATL that it should be possible.

I've tried this :

-- @nsURI UML=http://www.eclipse.org/uml2/3.0.0/UML
-- @path stateMachine=/stateMachine.project/transformation/stateMachi ne.atl

module stateMachine2Class;
create OUT : UML from IN : UML;

uses stateMachine;

The transformation works, but the content assist is not working when using
helpers defined in the library.

Thank you in advance
Kind regards

Cédric Gava

--
Thank you in advance
Kind regards

Cédric Gava


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: [ATL] content assist with library use [message #656715 is a reply to message #655910] Mon, 28 February 2011 08:54 Go to previous messageGo to next message
William Piers is currently offline William PiersFriend
Messages: 297
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050404020705090209060103
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hello,

In case of libraries, you have to use th "--@lib" tag instead of
"--@path", e.g. :

-- @lib stateMachine=/stateMachine.project/transformation/stateMachi ne.atl

It should work this way.

Best regards,

William

Le 23/02/2011 10:35, cedric gava a
Re: [ATL] content assist with library use [message #656960 is a reply to message #656715] Tue, 01 March 2011 07:57 Go to previous message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Thank you very much William

Best regards
Cédric


> Hello,
>
> In case of libraries, you have to use th "--@lib" tag instead of "--@path",
> e.g. :
>
> -- @lib stateMachine=/stateMachine.project/transformation/stateMachi ne.atl
>
> It should work this way.
>
> Best regards,
>
> William


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Previous Topic:[ATL] resoveTemp and eopposite
Next Topic:M2M with interfaces
Goto Forum:
  


Current Time: Tue Mar 02 04:36:29 GMT 2021

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

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

Back to the top