java - RCP app & change background color and putting image in center of application -


I would like to set the background color of my RCP application to white and show a center image. This is because because of the fact that no ideas or editors have been shown first and the user should choose the perspective that will be open. This is important because I have defined a background view that will be shown first, but it prevents me from showing the introduction / welcome page in full mode (this is shown only in standby mode).

I fiddled with ApplicationWorkbenchWindowAdvisor and created a method called WindowContent, but the only thing I had to do was to set the image and color of the shell background. This has a white border of the page (logically because the shell behind the page). All attempts to insert pages failed.

Can you help here? Is there a way to change the composite of the page?

Thanks

It should be ViewSashContainer on class Based on my experience, I put the code inside a method postWindowOpen () . Below is my code:

  Arrives list = (Arrielist) getWindowConfigurer (). GetWindow () GetShell () GetData ("org.eclipse.ui.internal.dnd.dropTarget"); ViewSashContainer viewSash = (ViewSashContainer) list.get (2); Composite Composite = viewSash.getParent (); Composite.setBackgroundImage (image);  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -