Skip to main content



      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 04:38 Go to next message
Eclipse UserFriend
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 06:02 Go to previous messageGo to next message
Eclipse UserFriend
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 07:12 Go to previous messageGo to next message
Eclipse UserFriend
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 01:25 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 18:42:34 EDT 2025

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

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

Back to the top