Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [soc-dev] Add CSS support to Nebula NatTable

Hi,

I thought it would be obvious to look at those packages because of the wiki page I linked initially. :-)  that is the reason why I also thought of a separate project, as I don't want to introduce a dependency to that packages in NatTable core.

I'm not sure what needs to be modified in those packages. If you find something, maybe it would be worth contributing there too.

Greez,
Dirk

Am 17.03.2014 03:47 schrieb "Sameera Nandasiri" <sameera.sampath@xxxxxxxxx>:
Hi Dirk,
Thanks for the tip. I started to work on that. Additionally I am studying the codes in org.w3c.dom.css package and their applications. Currently I am preparing my GSoC project proposal. I found some external codes that will be useful in creating CSS translation engine. 
org.eclipse.e4.ui.css.core
org.eclipse.e4.ui.css.swt
I gave the code a glance. I think some of these codes can directly use to decode CSS files and some of them can be used after modifying. That is what I think. But I feel it is better to ask advice from you about codes in those packages before doing further studies about them.
I would be grateful if you can give advice on this.

Regards,
Sameera Nandasiri

On Mon, Mar 10, 2014 at 2:24 PM, Dirk Fauth <dirk.fauth@xxxxxxxxx> wrote:
Hi,

you are on the right track.  Additionally you should check the code in

org.eclipse.nebula.widgets.nattable.painter

because styling in NatTable is splitted into styles and painters.

As there is the groupBy feature that can also be styled, you will also find some code in the glazedlists extension that you need to check.

Greez,
Dirk



On Mon, Mar 10, 2014 at 9:47 AM, Sameera Nandasiri <sameera.sampath@xxxxxxxxx> wrote:
Hi Dirk,

Thanks for your reply. I cloned NatTable repository, build the project and import into eclipse successfully as described in following article.


In my previous mail I s referring this article as "resources on the nattable web page". Because I focused on how to get started with the project. Sorry for the confusion.

According to the forum post [2], I need to create engine that is able to read CSS files and translate into NatTable styles. So I wanted to know which NatTable code parts should be studied before working on it.

According to the article [1] the source code of the NatTable divided into four projects. I found that codes related to styling is in  /org.eclipse.nebula.widgets.nattable.core project.

Now I am studying codes in following packages.
[3]org.eclipse.nebula.widgets.nattable.style
[4]org.eclipse.nebula.widgets.nattable.style.editor
[5]org.eclipse.nebula.widgets.nattable.style.editor.command
[6]org.eclipse.nebula.widgets.nattable.style.theme

After that I hope to create fragment to NatTable. In addition to resources mentioned above, I hope to refer following articles to craete it.


 Am I on the right track? Please correct me if I am wrong. Please give me suggestions if there are better ways to do that.

Rgards,
Sameera Nandasiri


Thu, Mar 6, 2014 at 3:09 AM, Dirk Fauth 
<dirk.fauth@xxxxxxxxx> wrote:


Hi,

if you have read all linked resources and the documentation on the NatTable website, you have all information that are necessary. I don't think there is more. Otherwise it would have been done already. :)

The website should give you the information on how to clone the NatTable repository to get your hands on the current code base. You need the current code base because there the ThemeConfigurations are added, that should give you some hints on which style attributes there are for which components. There is no documentation on that yet.

Greez,
Dirk
_______________________________________________
soc-dev mailing list
soc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/soc-dev


_______________________________________________
soc-dev mailing list
soc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/soc-dev



_______________________________________________
soc-dev mailing list
soc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/soc-dev

_______________________________________________
soc-dev mailing list
soc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/soc-dev


Back to the top