Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Default Shell Icon in E4 App
Default Shell Icon in E4 App [message #1722690] Mon, 08 February 2016 10:10 Go to next message
Marcin Kokoszka is currently offline Marcin KokoszkaFriend
Messages: 4
Registered: January 2016
Junior Member
Hello,

There is a possibility to drag the part from part stack and move it outside the main application window. In such case, the new shell is created with default OS icon. I would like to configure the shell icon for such windows. Is there any possibility to setup the default icon for such windows in E4 RCP application?

Best regards
Marcin!
Re: Default Shell Icon in E4 App [message #1722815 is a reply to message #1722690] Tue, 09 February 2016 11:31 Go to previous messageGo to next message
Peter Szanto is currently offline Peter SzantoFriend
Messages: 4
Registered: December 2015
Junior Member
Hello,

I can set that icon only from program code by calling

Window.setDefaultImage(myImage);

where Window is org.eclipse.jface.window.Window and myImage is an org.eclipse.swt.graphics.Image instance.
Try calling this function as soon as it is possible in the application.

Peter
Re: Default Shell Icon in E4 App [message #1723012 is a reply to message #1722815] Wed, 10 February 2016 19:47 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

I've filed a bug on this, and have a fix for 4.6/Neon.
Previous Topic:Toggle breakpoint in ruler popup menu
Next Topic:Parametric command of object type throwing error
Goto Forum:
  


Current Time: Sat Jul 02 03:16:07 GMT 2022

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

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

Back to the top