Bug 350184 - Business PresentationFactory removes ProgressMonitor from StatusLine
Summary: Business PresentationFactory removes ProgressMonitor from StatusLine
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 15:16 EDT by Hendy Irawan CLA
Modified: 2011-06-24 03:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendy Irawan CLA 2011-06-23 15:16:30 EDT
From Stefan Sommer :

I found out that the following line is missing in Fancy/Business WIndowComposer while creating the footer:

if (configurer.getShowProgressIndicator()) {
ProgressRegion progressRegion = new ProgressRegion();
progressRegion.createContents(statusLineParent, (WorkbenchWindow)configurer.getWindow());
}


I am running a job and can't see the progress indicator in the status line. I am using an own window composer as in the design example where the status line is created and set the following properties:

configurer.setShowProgressIndicator(true);
configurer.setShowStatusLine(true);

In the current screenshot you can see how it should look like:
http://eclipsesource.com/blogs/wp-content/uploads/2009/09/fancy.png


My additions:

Still happens on Eclipse RAP 1.4 release, with following config:

          <presentationFactory
               defaultLayoutId="org.eclipse.rap.design.example.business.layout"
               name="Business PresentationFactory"
               id="org.eclipse.rap.design.example.business.factory">
            <defaultStackPresentation
                  id="org.eclipse.rap.design.example.stack.view">
            </defaultStackPresentation>
         </presentationFactory>


Removing that code from plugin.xml returns the ProgressMonitor in StatusLine.

Original thread: http://www.eclipse.org/forums/index.php/m/688053/