Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Progress monitor
[ATL] Progress monitor [message #100074] Tue, 17 February 2009 09:20 Go to next message
Miguel Llàcer San Fernando is currently offline Miguel Llàcer San FernandoFriend
Messages: 63
Registered: July 2009
Member
Hi, I am launching Atl transformations by code and I want to add a
progress monitor to the user knows which is the state of the
transformation.
Is it possible ?¿?
My Eclipse version is 3.4 and ATL version is 2.0

Thanks
Re: [ATL] Progress monitor [message #100699 is a reply to message #100074] Wed, 25 February 2009 11:24 Go to previous messageGo to next message
Miguel Llàcer San Fernando is currently offline Miguel Llàcer San FernandoFriend
Messages: 63
Registered: July 2009
Member
I have seen in AtlLaunchConfigurationDelegate class that the method
launched when you click on the button "Run" uses a progress monitor.

I have a look to this progress monitor and I have seen that the progress
doesn't increase in time, it only increment a few and stop until
transformation finishes.
I think it should be improved to increase little by little while
transformation is been executed.


In the other hand, I want to use a progress monitor but I'm using method
"launch" of org.eclipse.m2m.atl.engine.AtlLauncher class but it doesn't
use progress monitor.

What can I do?¿? Do I change the way of calling ATL launcher ?¿?

Thanks a lot
Re: [ATL] Progress monitor [message #100743 is a reply to message #100699] Wed, 25 February 2009 13:39 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
Hello,

Miguel Llácer San Fernando a écrit :
> I have seen in AtlLaunchConfigurationDelegate class that the method
> launched when you click on the button "Run" uses a progress monitor.
>
> I have a look to this progress monitor and I have seen that the progress
> doesn't increase in time, it only increment a few and stop until
> transformation finishes.
> I think it should be improved to increase little by little while
> transformation is been executed.
>

The problem is that the execution time computation is not as trivial as
it seems: it is related to many factors (models size, operations called
several times). At this time we don't have a solution which give a
significant result without decreasing performance.

>
> In the other hand, I want to use a progress monitor but I'm using method
> "launch" of org.eclipse.m2m.atl.engine.AtlLauncher class but it doesn't
> use progress monitor.
>
> What can I do?¿? Do I change the way of calling ATL launcher ?¿?
>

In ATL3.0.0, the launch api has been redefined so there is now a
org.eclipse.m2m.atl.core.launch.ILauncher#launch method which takes a
ProgressMonitor.

Best regards,

William

> Thanks a lot
>
Previous Topic:[ATL] unique lazy rule
Next Topic:[ATL] Using own Ecore API with ATL
Goto Forum:
  


Current Time: Wed Apr 24 15:21:01 GMT 2024

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

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

Back to the top