Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:58 Go to next message
Mickael Istria is currently offline Mickael Istria
Messages: 765
Registered: July 2009
Location: Grenoble, France
Senior Member
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 15:57 Go to previous messageGo to next message
Philipp Kursawe is currently offline Philipp Kursawe
Messages: 135
Registered: July 2009
Senior Member
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 17:09 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 15:57 Go to previous messageGo to next message
Philipp Kursawe is currently offline Philipp Kursawe
Messages: 135
Registered: July 2009
Senior Member
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 17:11 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Sat Oct 25 06:29:03 GMT 2014

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

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