Progress Bar Question [message #86659] |
Thu, 08 May 2008 12:43  |
Eclipse User |
|
|
|
Originally posted by: jonas.bruestel.net
Hi,
I have a question about the progress bar. I'm trying to automatically open
an editor after the RAP page is loaded. While loading the content a
progress bar is supposed to show up. But it's partially working. I've put
the loading code inside the ApplicationWorkbenchWindowAdvisor class.
@Override
public void postWindowCreate() {
Shell shell = getWindowConfigurer().getWindow().getShell();
shell.setMaximized( true );
try {
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().
openEditor( new FileInput("/tmp/testdata"),
"test.editor", true );
} catch (PartInitException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Is this a good position? When I start the editor by an action the progress
bar is shown correctly.
Thanks,
Jonas
|
|
|
|
|
Re: Progress Bar Question [message #87096 is a reply to message #86956] |
Wed, 14 May 2008 04:06  |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I'm currently don't have much time to do a lot of investigations of my
own - sorry for that. But could you check out, if the behavior differs
from RCP - does RCP show the progress bar in that case? If so feel free
to file a bug.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Jonas "Brüstel" [mailto:jonas@bruestel.net]
Bereitgestellt: Dienstag, 13. Mai 2008 14:25
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Progress Bar Question
Betreff: Re: Progress Bar Question
Hi,
thanks for your suggestion, but it didn't worked out.
Jonas
|
|
|
Powered by
FUDForum. Page generated in 0.05735 seconds