Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [JET] how to show the details in progress bar(how to show the details in progress bar)
icon4.gif  [JET] how to show the details in progress bar [message #533037] Wed, 12 May 2010 03:27 Go to next message
Kyle is currently offline KyleFriend
Messages: 7
Registered: November 2009
Junior Member
We are using the following method to invoke the JET plugin.
JET2Platform.runTransformOnResource(transformId,
				resource, monitor);

Our JET plugin has about 86 templates and need executes about 10 mins when using a medium input.

The problem is the progress bar doesn't go ahead during the transformation. It only reach to the 100% when the transformation almost finished. This is not make sense. Users don't know the UI is breakdown or not. So is there any way to show the details in the progress bar? for example, we can show the templates current running to let user know the application is working.
Re: [JET] how to show the details in progress bar [message #533459 is a reply to message #533037] Fri, 14 May 2010 03:23 Go to previous messageGo to next message
Kyle is currently offline KyleFriend
Messages: 7
Registered: November 2009
Junior Member
Any idea?
Re: [JET] how to show the details in progress bar [message #533937 is a reply to message #533037] Mon, 17 May 2010 13:40 Go to previous messageGo to next message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
Kyle:

There is no good way for JET to give progress during template execution.
The JET engine cannot (mathematically) understand your templates, and
thus cannot estimate how much time they will take to complete.

Paul

On 2010-05-11 11:28 PM, Kyle wrote:
> We are using the following method to invoke the JET plugin.
>
> JET2Platform.runTransformOnResource(transformId,
> resource, monitor);
>
> Our JET plugin has about 86 templates and need executes about 10 mins
> when using a medium input.
> The problem is the progress bar doesn't go ahead during the
> transformation. It only reach to the 100% when the transformation almost
> finished. This is not make sense. Users don't know the UI is breakdown
> or not. So is there any way to show the details in the progress bar? for
> example, we can show the templates current running to let user know the
> application is working.
Re: [JET] how to show the details in progress bar [message #534121 is a reply to message #533937] Tue, 18 May 2010 07:35 Go to previous message
Kyle is currently offline KyleFriend
Messages: 7
Registered: November 2009
Junior Member
Thanks Paul, Your information is very import for us.
Previous Topic:Re: transform EMF Object withJET2
Next Topic:Xpand suppress return value output
Goto Forum:
  


Current Time: Thu Mar 28 20:46:34 GMT 2024

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

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

Back to the top