Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Change title color of unique(dirty) Tab(How to get opportunity to change color for dirty tab?)
Change title color of unique(dirty) Tab [message #1264567] Wed, 05 March 2014 10:23 Go to next message
Sergey Shadrin is currently offline Sergey ShadrinFriend
Messages: 1
Registered: March 2014
Junior Member
Hi.
There is a task to change font color in title for dirty tab. In eclipse 3.x it was realized with implement own presentation for views and parts. I have not found opportunity to change color for dirty tab with css even through implement of own renderer. Is any way to do it? Thank you.
Re: Change title color of unique(dirty) Tab [message #1266613 is a reply to message #1264567] Fri, 07 March 2014 18:15 Go to previous message
Eric Moffatt is currently offline Eric MoffattFriend
Messages: 118
Registered: July 2009
Senior Member

I'm not sure whether we can handle this in CSS or not (like we do with 'busy' tabs). if not then you should open a defect against Platform->UI to that effect. It's not hard for us to add / remove a 'tag' in the model's MPart that can then be used as a pseudo-class in the CSS files.

If you can't do this with your own renderer then it's broken. A renderer *owns* the resulting control's UI presentation so it can manipulate it in any way. It should be registering a change listener on the model for the part's 'dirty' state and take appropriate action.

Previous Topic:target definition error
Next Topic:persist or retain view state
Goto Forum:
  


Current Time: Tue Mar 19 08:09:46 GMT 2024

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

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

Back to the top