Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Working with CSS Framework
Working with CSS Framework [message #213503] Fri, 09 May 2008 15:48 Go to next message
Eclipse UserFriend
Originally posted by: chlache.talita.org

I am trying to figure out how to use the CSS implementation from core.css.
I assume that CSSStyleSheetImpl(ICSSStyleSheet) is the Base to start from.
Is that correct?

My questions are:

How do i create a ICSSStyleSheet from a URl(/path/stylesheet.css)?
How do create an empty (new) ICSSStyleSheet (is the correct way to call new DOMCSSImpl.createCSSStyleSheet()?)
How do i correctly add a rule to ICSSStyleSheet (call CSSStyleSheetImpl insertRule(String rule, int index))?
How do I save an ICSSStyleSheet to file?

Thanks in advance

Andreas Chlache
Re: Working with CSS Framework [message #225601 is a reply to message #213503] Tue, 23 December 2008 12:28 Go to previous message
Eclipse UserFriend
Originally posted by: chlache.talita.org

Andreas Chlache wrote:
> I am trying to figure out how to use the CSS implementation from core.css.
> I assume that CSSStyleSheetImpl(ICSSStyleSheet) is the Base to start from.
> Is that correct?
>
> My questions are:
>
> How do i create a ICSSStyleSheet from a URl(/path/stylesheet.css)?
> How do create an empty (new) ICSSStyleSheet (is the correct way to call
> new DOMCSSImpl.createCSSStyleSheet()?)
> How do i correctly add a rule to ICSSStyleSheet (call CSSStyleSheetImpl
> insertRule(String rule, int index))?
> How do I save an ICSSStyleSheet to file?
>
> Thanks in advance
>
> Andreas Chlache

org.eclipse.wst.css.core.tests

Simple answer.
Download from cvs.
Previous Topic:Adding custom script support to JSP Editor
Next Topic:Validation Framework
Goto Forum:
  


Current Time: Tue Mar 19 08:12:30 GMT 2024

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

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

Back to the top