Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Error when creating new Display "mulitiplay Displays" in eclipse plugin
Error when creating new Display "mulitiplay Displays" in eclipse plugin [message #308687] Sun, 01 October 2006 19:44 Go to next message
Eclipse UserFriend
Originally posted by: ola.student.pwr.wroc.pl

Hi
I am trying to create new widow in my plugin where I would like to put
some graph. But when I am trying to do this in the way like this:

Display dsp= new Display();
Shell shell = new Shell(dsp);

shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) display.sleep();

}

display.dispose();
I receive the mulitiplay Displays error. I think I shoudn't use the
Display dsp=new Display(); but Composite parent; parent.getDisplay().

Regards
Aleksandra
Re: Error when creating new Display "mulitiplay Displays" in eclipse plugin [message #308688 is a reply to message #308687] Sun, 01 October 2006 20:05 Go to previous message
Eclipse UserFriend
There's a getDisplay() on IWorkbench.

Later,
PW
Previous Topic:How to reset a CheatSheet?
Next Topic:Editor's Tooltip
Goto Forum:
  


Current Time: Mon Jul 14 19:57:43 EDT 2025

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

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

Back to the top