Skip to main content



      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 04:35 Go to next message
Eclipse UserFriend
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.
Re: [ATL] content assist with library use [message #655929 is a reply to message #655910] Wed, 23 February 2011 05:30 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: [ATL] content assist with library use [message #656715 is a reply to message #655910] Mon, 28 February 2011 03:54 Go to previous messageGo to next message
Eclipse UserFriend
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 02:57 Go to previous message
Eclipse UserFriend
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
Previous Topic:[ATL] resoveTemp and eopposite
Next Topic:M2M with interfaces
Goto Forum:
  


Current Time: Sun Aug 31 02:13:50 EDT 2025

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

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

Back to the top