Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Setting the image of a viewreference programmatically
Setting the image of a viewreference programmatically [message #1008177] Mon, 11 February 2013 09:37
Jürgen Weinberger is currently offline Jürgen WeinbergerFriend
Messages: 42
Registered: August 2012
Member
Hello!

I am relatively new to eclipse and currently working with eclipse 3.6.
I have a simple application with a partstack where all my views are shown. This views are of the same kind but show different datasets. Each view-status is indicated by the icon in the tab which can change dynamically also if the view is not currently shown/open. When the views are already created it's no problem to set the image with view.setTitleImage().

My Problem now starts when the user closes and reopens the app. I don't want to create all the views at start-up as this results in a bad loading time when a lot of views exist. Instead I would prefer that a view is only created when the user clicks on the tab in the stackpart (lazy loading).

To come to the point. How can i change the icon of a view when i only have the ViewReference and not a created corresponding view. Is this possible?

I can't imagine that this is very complicated but i couldn't find any hint on the web so I hope i get luckier here in the forum.

So thanks in advance and
best regards Weinma
Previous Topic:Change background color of in text editor selected words
Next Topic:Find Replace Regular Expression
Goto Forum:
  


Current Time: Tue Apr 23 15:51:01 GMT 2024

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

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

Back to the top