Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Browser Performance(RAP Browser Performance on Chrome, Firefox, IExplorer)
| | | |
Re: RAP Browser Performance [message #661146 is a reply to message #661143] |
Wed, 23 March 2011 11:26 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Sudesh,
could you test your application in IE8 32bit? Are there any differences?
Best,
Ivan
On 3/23/2011 1:20 PM, Sudesh Bulathsinhala wrote:
> Hello Ivan,
>
> We're using Internet Explorer 8.0.760 1. 17514, 64-bit version.
>
> We're dynamically constructing the UI within the method
> createPartControl in editors.
>
> The UI consists of multiple tabs which contains numerous widgets.
> Approximately about 6 tabs and some of the tabs contains approx 30-50
> widgets.
> Moreover it has 3 Tables-viewers, but they don't require data while
> loading the editor.
>
> This works with both Chrome and Firefox as expected.
> Approx : 2-3 seconds which is understood. IExplorer takes about 9
> seconds and then report the error message.
>
> Hope this will help.
> if you need image attachment of the runtime editor with widgets, do
> let me know.
>
> Thanks for your quick response.
>
> Regards,
> Sudesh
>
>
|
|
| | | | | |
Re: RAP Browser Performance [message #661332 is a reply to message #661271] |
Thu, 24 March 2011 10:00 |
Sudesh Bulathsinhala Messages: 193 Registered: October 2010 |
Senior Member |
|
|
Hello Austin,
I'd be interested to look at a snippet where progress dialog can be utilized when editor loading in progress.
we tried with following, but it only worked in RCP, not in RAP.
following method createPartControl, is the place where we wanted to notify users, that background operation is in progress using IProgressService.
@Override
public void createPartControl(final Composite parent) {
parent.setBackgroundMode(SWT.INHERIT_DEFAULT);
final FormLayout layout = new FormLayout();
layout.marginWidth = 0;
layout.marginHeight = 0;
layout.marginLeft = 5;
layout.marginRight = 5;
layout.marginTop = 5;
layout.marginBottom = 5;
parent.setLayout(layout);
CustomDecoratorPropertyProvider.getInstance()
.setCompositeBackgroundGradient(parent);
/*
* IProgressService will notify the user that the loading of the
* workbench element, i.e EditorPart is already in progress using
* ProgressMonitorDialog
*/
try {
PlatformUI
.getWorkbench()
.getProgressService()
.runInUI(PlatformUI.getWorkbench().getProgressService(),
new IRunnableWithProgress() {
@Override
public void run(final IProgressMonitor monitor) {
monitor.beginTask(
"Opening Editor in progress, please wait..",
IProgressMonitor.UNKNOWN);
final long eventOne = System
.currentTimeMillis();
DatasetCompositeFactory
.getInstance()
.initComposite(
parent,
_userInterfaceRender
.getCompositePanelModel(),
_datasetControllerArray);
final long diff = eventOne
- System.currentTimeMillis();
System.out.println("diff - " + diff);
monitor.done();
}
}, null);
} catch (final InvocationTargetException e) {
e.printStackTrace();
} catch (final InterruptedException e) {
e.printStackTrace();
}
}
if you used different approach to notify users of the progress while loading the editor, could you share that with us ?
Thanks,
Sudesh Bulathsinhala
|
|
| | |
Goto Forum:
Current Time: Thu Sep 26 04:33:10 GMT 2024
Powered by FUDForum. Page generated in 0.03512 seconds
|