ekke schrieb:
  
see bugzilla 287617 
using Platform.getWorkbench().getDisplay() starts my riena rcp app
without SWT.error, 
but using a LoginView or setting the LnF from DS now there's a problem,
because at some early points the workbench isn't started yet 
   
...did some more tests and compared behaviour between 1.1 and 1.2: 
same bundles are runnin from riena with same state 
but in 1.1 Thread-0 from my RCPApplication (extending SWTApplication)
creates first Display 
and in 1.2 the ComponentResolveThread from ColorLnFResource creates
first Display 
   
so something must be different between 1.1 and 1.2 while activating the
running bundles 
   
ekke 
btw: so my first commit was only half-way-to-success :-( 
 
Your commit had another side effect: Some of our UI-Tests don't work
anymore, because they are trying to create a Color-Ressource before the
workbench is started. Take a look at ChoiceCompositeTest or
ComboRidgetTest.  
 
Best regards, 
Steffen Kriese 
 
 
ekke schrieb:
  
    
after some more debugging and discussions with christian campo, 
the reason was found: 
     
I had to replace  
Display.getDefault() with Platform.getWorkbench().getDisplay()  
in ColorLnfRessource to correct the threading problems 
     
btw: this was my first own Commit to eclipse cvs to fix a bug :-) 
     
ekke 
     
    --  
      ekke (ekkehard gentz) 
      independent software-architect 
senior erp-consultant 
     eclipse | osgi | equinox | mdsd | oaw | emf
|
uml 
max-josefs-platz 30, D-83022 rosenheim, germany 
    mailto:ekke@xxxxxxxxxxxxxxxx 
homepage (de): http://gentz-software.de 
blog (en): http://ekkes-corner.org 
twitter: @ekkescorner 
skype: ekkes-corner 
      Steuer-Nr: 156/220/30931 FA Rosenheim,
UST-ID:
DE189929490 
       
     
     
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev
   
   
   
   
  --  
    ekke (ekkehard gentz) 
    independent software-architect 
senior erp-consultant 
   eclipse | osgi | equinox | mdsd | oaw | emf |
uml 
max-josefs-platz 30, D-83022 rosenheim, germany 
  mailto:ekke@xxxxxxxxxxxxxxxx 
homepage (de): http://gentz-software.de 
blog (en): http://ekkes-corner.org 
twitter: @ekkescorner 
skype: ekkes-corner 
    Steuer-Nr: 156/220/30931 FA Rosenheim,
UST-ID:
DE189929490 
     
   
 
 
 |