Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Deprecated CSS properties -- what to use instead?
Deprecated CSS properties -- what to use instead? [message #828761] Sun, 25 March 2012 08:38 Go to next message
Karl Weber is currently offline Karl WeberFriend
Messages: 63
Registered: September 2010
Member
The latest update seems to have deprecated some CSS properties. What should one use now?

In the following some of the properties one should no longer use are given. It would be great if the respective messages could tell us what to use instead. The message that platform:/plugin/ is deprecated tells us, for example, that one should use bundleclass:// instead.

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.343
!MESSAGE CSS property has been deprecated: tab-renderer

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.350
!MESSAGE CSS property has been deprecated: unselected-tabs-color

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.356
!MESSAGE CSS property has been deprecated: selected-tabs-background

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.356
!MESSAGE CSS property has been deprecated: corner-radius

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.357
!MESSAGE CSS property has been deprecated: tab-outline

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.358
!MESSAGE CSS property has been deprecated: outer-keyline-color

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.358
!MESSAGE CSS property has been deprecated: shadow-color

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.402
!MESSAGE CSS property has been deprecated: shadow-visible

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.405
!MESSAGE CSS property has been deprecated: tab-height

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.427
!MESSAGE CSS property has been deprecated: maximize-visible

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.454
!MESSAGE CSS property has been deprecated: minimize-visible

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.461
!MESSAGE CSS property has been deprecated: mru-visible

!ENTRY org.eclipse.e4.ui.css.core 4 0 2012-03-25 10:28:25.466
!MESSAGE CSS property has been deprecated: unselected-close-visible
Re: Deprecated CSS properties -- what to use instead? [message #828797 is a reply to message #828761] Sun, 25 March 2012 10:02 Go to previous messageGo to next message
Stefan Wiese is currently offline Stefan WieseFriend
Messages: 12
Registered: July 2011
Junior Member
I 've got the same problem. Unfortunately no documentation available of valid property names to use.
Re: Deprecated CSS properties -- what to use instead? [message #828829 is a reply to message #828797] Sun, 25 March 2012 11:12 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
That thought had occurred to me, but we put the change in quite late and I didn't want to risk introducing a bug by changing it. I'll see about making a more informative message for the M7 build.

Basically most of the deprecated properties have been prefixed with "swt-". You can see the list by looking at the plugin.xml for org.eclipse.e4.ui.css.swt (use Ctrl-Shift-A to open the manifest).

Out of curiosity: are you guys using just CSS files, or have you tried to introduce custom properties?
Re: Deprecated CSS properties -- what to use instead? [message #830044 is a reply to message #828829] Tue, 27 March 2012 05:25 Go to previous message
Stefan Wiese is currently offline Stefan WieseFriend
Messages: 12
Registered: July 2011
Junior Member
I use just plain CSS files, I am not very familiar with custom properties.
Probably I will take a look at it and give it a try.
Previous Topic:Moving view class cast exception
Next Topic:Popup menu disapears after reopen a part
Goto Forum:
  


Current Time: Fri Apr 26 03:48:56 GMT 2024

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

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

Back to the top