Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Using CSS styling in Eclipse 3.5 plugins
Using CSS styling in Eclipse 3.5 plugins [message #431998] Thu, 30 July 2009 11:58 Go to next message
Eclipse UserFriend
Hi all,

Because of all the pressure we are put under by reading the latest blogs entries, I am investigating much deeper around e4. (until then I simply used to get excited about the upcoming features, but I'm now trying to play with them).
It is probably too early to try this, but I'd like to start by adding CSS support to Eclipse 3.5 SWT code. I took a look at the example and could not conclude whether this objective is difficult to achieve. Then I thought someone could answer to the following question over there: Is it possible to add CSS support to SWT in Galileo without any risk to break existing code and features?

Thanks in advance for your answers
Mickael
Re: Using CSS styling in Eclipse 3.5 plugins [message #453535 is a reply to message #431998] Sat, 01 August 2009 11:57 Go to previous messageGo to next message
Eclipse UserFriend
Mickael Istria wrote:
> Hi all,
>
> Because of all the pressure we are put under by reading the latest blogs
> entries, I am investigating much deeper around e4. (until then I simply
> used to get excited about the upcoming features, but I'm now trying to
> play with them).
> It is probably too early to try this, but I'd like to start by adding
> CSS support to Eclipse 3.5 SWT code. I took a look at the example and
> could not conclude whether this objective is difficult to achieve. Then
> I thought someone could answer to the following question over there: Is
> it possible to add CSS support to SWT in Galileo without any risk to
> break existing code and features?

I added CSS styling to one of my RCP apps 2 years ago already. The CSS
code I used was an experimental not fully working implementation
contributed by IBM. I think they are trying to make the e4 modules more
independent, currently they have too much dependencies on e4 specific
things (new EFolder and such). But I think its possible to port it back
to the 3.x stream.

Phil
Re: Using CSS styling in Eclipse 3.5 plugins [message #479327 is a reply to message #431998] Mon, 10 August 2009 13:09 Go to previous messageGo to next message
Eclipse UserFriend
The e4 CSS engine can work against 3.5 SWT, with the 2 css plugins (css.core and css.swt) plus their supporting code.

But AFAIK it's at the level of an SWT program, not eclipse (i.e. 3.5 wouldn't attach the classes needed to style things like view stacks differently, etc).

Depending on what you were trying to do, then you would have work to insert different CSS classes in different UI objects.

PW
Re: Using CSS styling in Eclipse 3.5 plugins [message #561901 is a reply to message #431998] Sat, 01 August 2009 11:57 Go to previous messageGo to next message
Eclipse UserFriend
Mickael Istria wrote:
> Hi all,
>
> Because of all the pressure we are put under by reading the latest blogs
> entries, I am investigating much deeper around e4. (until then I simply
> used to get excited about the upcoming features, but I'm now trying to
> play with them).
> It is probably too early to try this, but I'd like to start by adding
> CSS support to Eclipse 3.5 SWT code. I took a look at the example and
> could not conclude whether this objective is difficult to achieve. Then
> I thought someone could answer to the following question over there: Is
> it possible to add CSS support to SWT in Galileo without any risk to
> break existing code and features?

I added CSS styling to one of my RCP apps 2 years ago already. The CSS
code I used was an experimental not fully working implementation
contributed by IBM. I think they are trying to make the e4 modules more
independent, currently they have too much dependencies on e4 specific
things (new EFolder and such). But I think its possible to port it back
to the 3.x stream.

Phil
Re: Using CSS styling in Eclipse 3.5 plugins [message #562096 is a reply to message #431998] Mon, 10 August 2009 13:11 Go to previous message
Eclipse UserFriend
The e4 CSS engine can work against 3.5 SWT, with the 2 css plugins (css.core and css.swt) plus their supporting code.

But AFAIK it's at the level of an SWT program, not eclipse (i.e. 3.5 wouldn't attach the classes needed to style things like view stacks differently, etc).

Depending on what you were trying to do, then you would have work to insert different CSS classes in different UI objects.

PW
Previous Topic:Was hopeful
Next Topic:xmi version of the workbench model, can these be used to create a workbench?
Goto Forum:
  


Current Time: Sun Jul 06 11:53:52 EDT 2025

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

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

Back to the top