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] Tue, 11 May 2010 23:27 Go to next message
Kyle is currently offline Kyle
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] Thu, 13 May 2010 23:23 Go to previous messageGo to next message
Kyle is currently offline Kyle
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 09:40 Go to previous messageGo to next message
Paul Elder is currently offline Paul Elder
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 03:35 Go to previous message
Kyle is currently offline Kyle
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: Wed Aug 20 20:28:14 EDT 2014

Powered by FUDForum. Page generated in 0.01596 seconds