Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Questions on Nebula Grid
Questions on Nebula Grid [message #64956] Mon, 22 June 2009 12:27 Go to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Hi,

I have some queries on Grid:

1. Is it possible to change the color of cells in Row headers? How ?
2. Is it possible to change the width of Row headers or make the row header
resizable?

--
Thanks,

Mustufa
Re: Questions on Nebula Grid [message #64980 is a reply to message #64956] Wed, 24 June 2009 12:21 Go to previous messageGo to next message
blutkind  is currently offline blutkind Friend
Messages: 25
Registered: July 2009
Junior Member
Mustufa Kasidwala wrote:

> Hi,

> I have some queries on Grid:

> 1. Is it possible to change the color of cells in Row headers? How ?
> 2. Is it possible to change the width of Row headers or make the row header
> resizable?

Hi,

1. It is possible to set your own custom header renderer and draw anything
you need in the header cell:
grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
There may be a possibility to use a label provider for this, but I don't
know for sure, if it exists.
2. Width of row headers is definitely adjustable, but I'm not sure of the
API to do that, sorry.

Regards,
Stanislav
Re: Questions on Nebula Grid [message #64991 is a reply to message #64980] Fri, 26 June 2009 04:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Thanks.

I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will be
useful for having custom column headers, I want to know how can i modify the
Row headers. Also, I just want to have a facility of changing the color of
Row headers, so can i extend some class for this and provide colors that i
need?

Thanks,

Mustufa

"Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
> Mustufa Kasidwala wrote:
>
>> Hi,
>
>> I have some queries on Grid:
>
>> 1. Is it possible to change the color of cells in Row headers? How ?
>> 2. Is it possible to change the width of Row headers or make the row
>> header resizable?
>
> Hi,
>
> 1. It is possible to set your own custom header renderer and draw anything
> you need in the header cell:
> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
> There may be a possibility to use a label provider for this, but I don't
> know for sure, if it exists.
> 2. Width of row headers is definitely adjustable, but I'm not sure of the
> API to do that, sorry.
>
> Regards,
> Stanislav
>
Re: Questions on Nebula Grid [message #65000 is a reply to message #64991] Fri, 26 June 2009 07:35 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

The method to set the width of the row header is called
Grid#setItemHeaderWidth. We currently miss the implementation to the set
the background/foreground color for the row-header but this should be
easy to implement.

So if you need this feature please file a bug and if possible create a
patch I can integrate into the code base. This way the feature will be
available to whole Grid community.

Tom


Mustufa Kasidwala schrieb:
> Thanks.
>
> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will be
> useful for having custom column headers, I want to know how can i modify the
> Row headers. Also, I just want to have a facility of changing the color of
> Row headers, so can i extend some class for this and provide colors that i
> need?
>
> Thanks,
>
> Mustufa
>
> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>> Mustufa Kasidwala wrote:
>>
>>> Hi,
>>> I have some queries on Grid:
>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>> 2. Is it possible to change the width of Row headers or make the row
>>> header resizable?
>> Hi,
>>
>> 1. It is possible to set your own custom header renderer and draw anything
>> you need in the header cell:
>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>> There may be a possibility to use a label provider for this, but I don't
>> know for sure, if it exists.
>> 2. Width of row headers is definitely adjustable, but I'm not sure of the
>> API to do that, sorry.
>>
>> Regards,
>> Stanislav
>>
>
>
Re: Questions on Nebula Grid [message #65040 is a reply to message #65000] Fri, 26 June 2009 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Thanks Tom,

I downloaded the code from CVS and i can see the method 'setItemHeaderWidth'
added in Grid.java. It wasn't visible in the binary that i was using. I may
be using an old one.

For setting background/foreground colors in row headers, i tried it out and
was able to set it by making some changes in GridItem and
DefaultRowHeaderRenderer.

How to raise a bug for this? and how can i contribute? can I send/post the
code and you can update it?

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h21tnl$2kq$1@build.eclipse.org...
> Hi,
>
> The method to set the width of the row header is called
> Grid#setItemHeaderWidth. We currently miss the implementation to the set
> the background/foreground color for the row-header but this should be
> easy to implement.
>
> So if you need this feature please file a bug and if possible create a
> patch I can integrate into the code base. This way the feature will be
> available to whole Grid community.
>
> Tom
>
>
> Mustufa Kasidwala schrieb:
>> Thanks.
>>
>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>> be
>> useful for having custom column headers, I want to know how can i modify
>> the
>> Row headers. Also, I just want to have a facility of changing the color
>> of
>> Row headers, so can i extend some class for this and provide colors that
>> i
>> need?
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>> Mustufa Kasidwala wrote:
>>>
>>>> Hi,
>>>> I have some queries on Grid:
>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>> 2. Is it possible to change the width of Row headers or make the row
>>>> header resizable?
>>> Hi,
>>>
>>> 1. It is possible to set your own custom header renderer and draw
>>> anything
>>> you need in the header cell:
>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>> There may be a possibility to use a label provider for this, but I don't
>>> know for sure, if it exists.
>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>> the
>>> API to do that, sorry.
>>>
>>> Regards,
>>> Stanislav
>>>
>>
>>
Re: Questions on Nebula Grid [message #65050 is a reply to message #65040] Fri, 26 June 2009 10:35 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Please file a bug against Nebula > Grid through
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
patch which you can create within eclipse.

Please cc me on the bug and post the bug id here.

Tom

Mustufa Kasidwala schrieb:
> Thanks Tom,
>
> I downloaded the code from CVS and i can see the method 'setItemHeaderWidth'
> added in Grid.java. It wasn't visible in the binary that i was using. I may
> be using an old one.
>
> For setting background/foreground colors in row headers, i tried it out and
> was able to set it by making some changes in GridItem and
> DefaultRowHeaderRenderer.
>
> How to raise a bug for this? and how can i contribute? can I send/post the
> code and you can update it?
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h21tnl$2kq$1@build.eclipse.org...
>> Hi,
>>
>> The method to set the width of the row header is called
>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>> the background/foreground color for the row-header but this should be
>> easy to implement.
>>
>> So if you need this feature please file a bug and if possible create a
>> patch I can integrate into the code base. This way the feature will be
>> available to whole Grid community.
>>
>> Tom
>>
>>
>> Mustufa Kasidwala schrieb:
>>> Thanks.
>>>
>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>> be
>>> useful for having custom column headers, I want to know how can i modify
>>> the
>>> Row headers. Also, I just want to have a facility of changing the color
>>> of
>>> Row headers, so can i extend some class for this and provide colors that
>>> i
>>> need?
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>> Mustufa Kasidwala wrote:
>>>>
>>>>> Hi,
>>>>> I have some queries on Grid:
>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>> header resizable?
>>>> Hi,
>>>>
>>>> 1. It is possible to set your own custom header renderer and draw
>>>> anything
>>>> you need in the header cell:
>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>> There may be a possibility to use a label provider for this, but I don't
>>>> know for sure, if it exists.
>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>> the
>>>> API to do that, sorry.
>>>>
>>>> Regards,
>>>> Stanislav
>>>>
>>>
>
>
Re: Questions on Nebula Grid [message #65066 is a reply to message #65050] Fri, 26 June 2009 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Hi,

"attach a patch which you can create within eclipse."
can you explain what steps i need to do for this? i made changes in two
files, should i attach these two files?

Sorry if this sounds like a stupid question...

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h2288o$91a$1@build.eclipse.org...
> Hi,
>
> Please file a bug against Nebula > Grid through
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
> patch which you can create within eclipse.
>
> Please cc me on the bug and post the bug id here.
>
> Tom
>
> Mustufa Kasidwala schrieb:
>> Thanks Tom,
>>
>> I downloaded the code from CVS and i can see the method
>> 'setItemHeaderWidth'
>> added in Grid.java. It wasn't visible in the binary that i was using. I
>> may
>> be using an old one.
>>
>> For setting background/foreground colors in row headers, i tried it out
>> and
>> was able to set it by making some changes in GridItem and
>> DefaultRowHeaderRenderer.
>>
>> How to raise a bug for this? and how can i contribute? can I send/post
>> the
>> code and you can update it?
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>> news:h21tnl$2kq$1@build.eclipse.org...
>>> Hi,
>>>
>>> The method to set the width of the row header is called
>>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>>> the background/foreground color for the row-header but this should be
>>> easy to implement.
>>>
>>> So if you need this feature please file a bug and if possible create a
>>> patch I can integrate into the code base. This way the feature will be
>>> available to whole Grid community.
>>>
>>> Tom
>>>
>>>
>>> Mustufa Kasidwala schrieb:
>>>> Thanks.
>>>>
>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>>> be
>>>> useful for having custom column headers, I want to know how can i
>>>> modify
>>>> the
>>>> Row headers. Also, I just want to have a facility of changing the color
>>>> of
>>>> Row headers, so can i extend some class for this and provide colors
>>>> that
>>>> i
>>>> need?
>>>>
>>>> Thanks,
>>>>
>>>> Mustufa
>>>>
>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>> Mustufa Kasidwala wrote:
>>>>>
>>>>>> Hi,
>>>>>> I have some queries on Grid:
>>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>>> header resizable?
>>>>> Hi,
>>>>>
>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>> anything
>>>>> you need in the header cell:
>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>> There may be a possibility to use a label provider for this, but I
>>>>> don't
>>>>> know for sure, if it exists.
>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>>> the
>>>>> API to do that, sorry.
>>>>>
>>>>> Regards,
>>>>> Stanislav
>>>>>
>>>>
>>
>>
Re: Questions on Nebula Grid [message #65091 is a reply to message #65066] Fri, 26 June 2009 10:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
1. Right Click on the project
2. Team > Create Patch
3. Save to file system
4. Attach to bug

Mustufa Kasidwala schrieb:
> Hi,
>
> "attach a patch which you can create within eclipse."
> can you explain what steps i need to do for this? i made changes in two
> files, should i attach these two files?
>
> Sorry if this sounds like a stupid question...
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h2288o$91a$1@build.eclipse.org...
>> Hi,
>>
>> Please file a bug against Nebula > Grid through
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>> patch which you can create within eclipse.
>>
>> Please cc me on the bug and post the bug id here.
>>
>> Tom
>>
>> Mustufa Kasidwala schrieb:
>>> Thanks Tom,
>>>
>>> I downloaded the code from CVS and i can see the method
>>> 'setItemHeaderWidth'
>>> added in Grid.java. It wasn't visible in the binary that i was using. I
>>> may
>>> be using an old one.
>>>
>>> For setting background/foreground colors in row headers, i tried it out
>>> and
>>> was able to set it by making some changes in GridItem and
>>> DefaultRowHeaderRenderer.
>>>
>>> How to raise a bug for this? and how can i contribute? can I send/post
>>> the
>>> code and you can update it?
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> The method to set the width of the row header is called
>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>>>> the background/foreground color for the row-header but this should be
>>>> easy to implement.
>>>>
>>>> So if you need this feature please file a bug and if possible create a
>>>> patch I can integrate into the code base. This way the feature will be
>>>> available to whole Grid community.
>>>>
>>>> Tom
>>>>
>>>>
>>>> Mustufa Kasidwala schrieb:
>>>>> Thanks.
>>>>>
>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>>>> be
>>>>> useful for having custom column headers, I want to know how can i
>>>>> modify
>>>>> the
>>>>> Row headers. Also, I just want to have a facility of changing the color
>>>>> of
>>>>> Row headers, so can i extend some class for this and provide colors
>>>>> that
>>>>> i
>>>>> need?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Mustufa
>>>>>
>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>> Mustufa Kasidwala wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I have some queries on Grid:
>>>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>>>> header resizable?
>>>>>> Hi,
>>>>>>
>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>> anything
>>>>>> you need in the header cell:
>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>> don't
>>>>>> know for sure, if it exists.
>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>>>> the
>>>>>> API to do that, sorry.
>>>>>>
>>>>>> Regards,
>>>>>> Stanislav
>>>>>>
>>>
>
>
Re: Questions on Nebula Grid [message #65113 is a reply to message #65091] Fri, 26 June 2009 11:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Bug 281644 submitted for this and a patch is attached.

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h229l8$3np$1@build.eclipse.org...
> 1. Right Click on the project
> 2. Team > Create Patch
> 3. Save to file system
> 4. Attach to bug
>
> Mustufa Kasidwala schrieb:
>> Hi,
>>
>> "attach a patch which you can create within eclipse."
>> can you explain what steps i need to do for this? i made changes in two
>> files, should i attach these two files?
>>
>> Sorry if this sounds like a stupid question...
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>> news:h2288o$91a$1@build.eclipse.org...
>>> Hi,
>>>
>>> Please file a bug against Nebula > Grid through
>>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>>> patch which you can create within eclipse.
>>>
>>> Please cc me on the bug and post the bug id here.
>>>
>>> Tom
>>>
>>> Mustufa Kasidwala schrieb:
>>>> Thanks Tom,
>>>>
>>>> I downloaded the code from CVS and i can see the method
>>>> 'setItemHeaderWidth'
>>>> added in Grid.java. It wasn't visible in the binary that i was using. I
>>>> may
>>>> be using an old one.
>>>>
>>>> For setting background/foreground colors in row headers, i tried it out
>>>> and
>>>> was able to set it by making some changes in GridItem and
>>>> DefaultRowHeaderRenderer.
>>>>
>>>> How to raise a bug for this? and how can i contribute? can I send/post
>>>> the
>>>> code and you can update it?
>>>>
>>>> Thanks,
>>>>
>>>> Mustufa
>>>>
>>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> The method to set the width of the row header is called
>>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the
>>>>> set
>>>>> the background/foreground color for the row-header but this should be
>>>>> easy to implement.
>>>>>
>>>>> So if you need this feature please file a bug and if possible create a
>>>>> patch I can integrate into the code base. This way the feature will be
>>>>> available to whole Grid community.
>>>>>
>>>>> Tom
>>>>>
>>>>>
>>>>> Mustufa Kasidwala schrieb:
>>>>>> Thanks.
>>>>>>
>>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>> will
>>>>>> be
>>>>>> useful for having custom column headers, I want to know how can i
>>>>>> modify
>>>>>> the
>>>>>> Row headers. Also, I just want to have a facility of changing the
>>>>>> color
>>>>>> of
>>>>>> Row headers, so can i extend some class for this and provide colors
>>>>>> that
>>>>>> i
>>>>>> need?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Mustufa
>>>>>>
>>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>>> Mustufa Kasidwala wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I have some queries on Grid:
>>>>>>>> 1. Is it possible to change the color of cells in Row headers? How
>>>>>>>> ?
>>>>>>>> 2. Is it possible to change the width of Row headers or make the
>>>>>>>> row
>>>>>>>> header resizable?
>>>>>>> Hi,
>>>>>>>
>>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>>> anything
>>>>>>> you need in the header cell:
>>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>>> don't
>>>>>>> know for sure, if it exists.
>>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure
>>>>>>> of
>>>>>>> the
>>>>>>> API to do that, sorry.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Stanislav
>>>>>>>
>>>>
>>
>>
Re: Questions on Nebula Grid [message #65260 is a reply to message #65113] Fri, 03 July 2009 10:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Hi,

Any idea when this will be fixed? Actually we are planning to use Nebula
Grid for our project and fixing this bug is important to us.

--
Thanks,

Mustufa
"Mustufa Kasidwala" <m.kasid@gmail.com> wrote in message
news:h22ank$i9q$1@build.eclipse.org...
> Bug 281644 submitted for this and a patch is attached.
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h229l8$3np$1@build.eclipse.org...
>> 1. Right Click on the project
>> 2. Team > Create Patch
>> 3. Save to file system
>> 4. Attach to bug
>>
>> Mustufa Kasidwala schrieb:
>>> Hi,
>>>
>>> "attach a patch which you can create within eclipse."
>>> can you explain what steps i need to do for this? i made changes in two
>>> files, should i attach these two files?
>>>
>>> Sorry if this sounds like a stupid question...
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>> news:h2288o$91a$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> Please file a bug against Nebula > Grid through
>>>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>>>> patch which you can create within eclipse.
>>>>
>>>> Please cc me on the bug and post the bug id here.
>>>>
>>>> Tom
>>>>
>>>> Mustufa Kasidwala schrieb:
>>>>> Thanks Tom,
>>>>>
>>>>> I downloaded the code from CVS and i can see the method
>>>>> 'setItemHeaderWidth'
>>>>> added in Grid.java. It wasn't visible in the binary that i was using.
>>>>> I
>>>>> may
>>>>> be using an old one.
>>>>>
>>>>> For setting background/foreground colors in row headers, i tried it
>>>>> out
>>>>> and
>>>>> was able to set it by making some changes in GridItem and
>>>>> DefaultRowHeaderRenderer.
>>>>>
>>>>> How to raise a bug for this? and how can i contribute? can I send/post
>>>>> the
>>>>> code and you can update it?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Mustufa
>>>>>
>>>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> The method to set the width of the row header is called
>>>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the
>>>>>> set
>>>>>> the background/foreground color for the row-header but this should be
>>>>>> easy to implement.
>>>>>>
>>>>>> So if you need this feature please file a bug and if possible create
>>>>>> a
>>>>>> patch I can integrate into the code base. This way the feature will
>>>>>> be
>>>>>> available to whole Grid community.
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>>
>>>>>> Mustufa Kasidwala schrieb:
>>>>>>> Thanks.
>>>>>>>
>>>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>> will
>>>>>>> be
>>>>>>> useful for having custom column headers, I want to know how can i
>>>>>>> modify
>>>>>>> the
>>>>>>> Row headers. Also, I just want to have a facility of changing the
>>>>>>> color
>>>>>>> of
>>>>>>> Row headers, so can i extend some class for this and provide colors
>>>>>>> that
>>>>>>> i
>>>>>>> need?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Mustufa
>>>>>>>
>>>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>>>> Mustufa Kasidwala wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> I have some queries on Grid:
>>>>>>>>> 1. Is it possible to change the color of cells in Row headers? How
>>>>>>>>> ?
>>>>>>>>> 2. Is it possible to change the width of Row headers or make the
>>>>>>>>> row
>>>>>>>>> header resizable?
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>>>> anything
>>>>>>>> you need in the header cell:
>>>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>>>> don't
>>>>>>>> know for sure, if it exists.
>>>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure
>>>>>>>> of
>>>>>>>> the
>>>>>>>> API to do that, sorry.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Stanislav
>>>>>>>>
>>>>>
>>>
>>>
>
>
Re: Questions on Nebula Grid [message #65281 is a reply to message #65260] Fri, 03 July 2009 10:10 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I'll try (but can't promise) to revist it on the weekend.

Tom

Mustufa Kasidwala schrieb:
> Hi,
>
> Any idea when this will be fixed? Actually we are planning to use Nebula
> Grid for our project and fixing this bug is important to us.
>
Re: Questions on Nebula Grid [message #65454 is a reply to message #65281] Fri, 10 July 2009 08:42 Go to previous message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

Thanks Tom,

I can see this is fixed now.

--
Thanks,

Mustufa
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h2klf5$sci$1@build.eclipse.org...
> Hi,
>
> I'll try (but can't promise) to revist it on the weekend.
>
> Tom
>
> Mustufa Kasidwala schrieb:
>> Hi,
>>
>> Any idea when this will be fixed? Actually we are planning to use Nebula
>> Grid for our project and fixing this bug is important to us.
>>
Re: Questions on Nebula Grid [message #595372 is a reply to message #64956] Wed, 24 June 2009 12:21 Go to previous message
blutkind  is currently offline blutkind Friend
Messages: 25
Registered: July 2009
Junior Member
Mustufa Kasidwala wrote:

> Hi,

> I have some queries on Grid:

> 1. Is it possible to change the color of cells in Row headers? How ?
> 2. Is it possible to change the width of Row headers or make the row header
> resizable?

Hi,

1. It is possible to set your own custom header renderer and draw anything
you need in the header cell:
grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
There may be a possibility to use a label provider for this, but I don't
know for sure, if it exists.
2. Width of row headers is definitely adjustable, but I'm not sure of the
API to do that, sorry.

Regards,
Stanislav
Re: Questions on Nebula Grid [message #595381 is a reply to message #64980] Fri, 26 June 2009 04:58 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Thanks.

I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will be
useful for having custom column headers, I want to know how can i modify the
Row headers. Also, I just want to have a facility of changing the color of
Row headers, so can i extend some class for this and provide colors that i
need?

Thanks,

Mustufa

"Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
> Mustufa Kasidwala wrote:
>
>> Hi,
>
>> I have some queries on Grid:
>
>> 1. Is it possible to change the color of cells in Row headers? How ?
>> 2. Is it possible to change the width of Row headers or make the row
>> header resizable?
>
> Hi,
>
> 1. It is possible to set your own custom header renderer and draw anything
> you need in the header cell:
> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
> There may be a possibility to use a label provider for this, but I don't
> know for sure, if it exists.
> 2. Width of row headers is definitely adjustable, but I'm not sure of the
> API to do that, sorry.
>
> Regards,
> Stanislav
>
Re: Questions on Nebula Grid [message #595392 is a reply to message #64991] Fri, 26 June 2009 07:35 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

The method to set the width of the row header is called
Grid#setItemHeaderWidth. We currently miss the implementation to the set
the background/foreground color for the row-header but this should be
easy to implement.

So if you need this feature please file a bug and if possible create a
patch I can integrate into the code base. This way the feature will be
available to whole Grid community.

Tom


Mustufa Kasidwala schrieb:
> Thanks.
>
> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will be
> useful for having custom column headers, I want to know how can i modify the
> Row headers. Also, I just want to have a facility of changing the color of
> Row headers, so can i extend some class for this and provide colors that i
> need?
>
> Thanks,
>
> Mustufa
>
> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>> Mustufa Kasidwala wrote:
>>
>>> Hi,
>>> I have some queries on Grid:
>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>> 2. Is it possible to change the width of Row headers or make the row
>>> header resizable?
>> Hi,
>>
>> 1. It is possible to set your own custom header renderer and draw anything
>> you need in the header cell:
>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>> There may be a possibility to use a label provider for this, but I don't
>> know for sure, if it exists.
>> 2. Width of row headers is definitely adjustable, but I'm not sure of the
>> API to do that, sorry.
>>
>> Regards,
>> Stanislav
>>
>
>
Re: Questions on Nebula Grid [message #595409 is a reply to message #65000] Fri, 26 June 2009 10:31 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Thanks Tom,

I downloaded the code from CVS and i can see the method 'setItemHeaderWidth'
added in Grid.java. It wasn't visible in the binary that i was using. I may
be using an old one.

For setting background/foreground colors in row headers, i tried it out and
was able to set it by making some changes in GridItem and
DefaultRowHeaderRenderer.

How to raise a bug for this? and how can i contribute? can I send/post the
code and you can update it?

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h21tnl$2kq$1@build.eclipse.org...
> Hi,
>
> The method to set the width of the row header is called
> Grid#setItemHeaderWidth. We currently miss the implementation to the set
> the background/foreground color for the row-header but this should be
> easy to implement.
>
> So if you need this feature please file a bug and if possible create a
> patch I can integrate into the code base. This way the feature will be
> available to whole Grid community.
>
> Tom
>
>
> Mustufa Kasidwala schrieb:
>> Thanks.
>>
>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>> be
>> useful for having custom column headers, I want to know how can i modify
>> the
>> Row headers. Also, I just want to have a facility of changing the color
>> of
>> Row headers, so can i extend some class for this and provide colors that
>> i
>> need?
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>> Mustufa Kasidwala wrote:
>>>
>>>> Hi,
>>>> I have some queries on Grid:
>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>> 2. Is it possible to change the width of Row headers or make the row
>>>> header resizable?
>>> Hi,
>>>
>>> 1. It is possible to set your own custom header renderer and draw
>>> anything
>>> you need in the header cell:
>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>> There may be a possibility to use a label provider for this, but I don't
>>> know for sure, if it exists.
>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>> the
>>> API to do that, sorry.
>>>
>>> Regards,
>>> Stanislav
>>>
>>
>>
Re: Questions on Nebula Grid [message #595416 is a reply to message #65040] Fri, 26 June 2009 10:35 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Please file a bug against Nebula > Grid through
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
patch which you can create within eclipse.

Please cc me on the bug and post the bug id here.

Tom

Mustufa Kasidwala schrieb:
> Thanks Tom,
>
> I downloaded the code from CVS and i can see the method 'setItemHeaderWidth'
> added in Grid.java. It wasn't visible in the binary that i was using. I may
> be using an old one.
>
> For setting background/foreground colors in row headers, i tried it out and
> was able to set it by making some changes in GridItem and
> DefaultRowHeaderRenderer.
>
> How to raise a bug for this? and how can i contribute? can I send/post the
> code and you can update it?
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h21tnl$2kq$1@build.eclipse.org...
>> Hi,
>>
>> The method to set the width of the row header is called
>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>> the background/foreground color for the row-header but this should be
>> easy to implement.
>>
>> So if you need this feature please file a bug and if possible create a
>> patch I can integrate into the code base. This way the feature will be
>> available to whole Grid community.
>>
>> Tom
>>
>>
>> Mustufa Kasidwala schrieb:
>>> Thanks.
>>>
>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>> be
>>> useful for having custom column headers, I want to know how can i modify
>>> the
>>> Row headers. Also, I just want to have a facility of changing the color
>>> of
>>> Row headers, so can i extend some class for this and provide colors that
>>> i
>>> need?
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>> Mustufa Kasidwala wrote:
>>>>
>>>>> Hi,
>>>>> I have some queries on Grid:
>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>> header resizable?
>>>> Hi,
>>>>
>>>> 1. It is possible to set your own custom header renderer and draw
>>>> anything
>>>> you need in the header cell:
>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>> There may be a possibility to use a label provider for this, but I don't
>>>> know for sure, if it exists.
>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>> the
>>>> API to do that, sorry.
>>>>
>>>> Regards,
>>>> Stanislav
>>>>
>>>
>
>
Re: Questions on Nebula Grid [message #595430 is a reply to message #65050] Fri, 26 June 2009 10:46 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Hi,

"attach a patch which you can create within eclipse."
can you explain what steps i need to do for this? i made changes in two
files, should i attach these two files?

Sorry if this sounds like a stupid question...

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h2288o$91a$1@build.eclipse.org...
> Hi,
>
> Please file a bug against Nebula > Grid through
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
> patch which you can create within eclipse.
>
> Please cc me on the bug and post the bug id here.
>
> Tom
>
> Mustufa Kasidwala schrieb:
>> Thanks Tom,
>>
>> I downloaded the code from CVS and i can see the method
>> 'setItemHeaderWidth'
>> added in Grid.java. It wasn't visible in the binary that i was using. I
>> may
>> be using an old one.
>>
>> For setting background/foreground colors in row headers, i tried it out
>> and
>> was able to set it by making some changes in GridItem and
>> DefaultRowHeaderRenderer.
>>
>> How to raise a bug for this? and how can i contribute? can I send/post
>> the
>> code and you can update it?
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>> news:h21tnl$2kq$1@build.eclipse.org...
>>> Hi,
>>>
>>> The method to set the width of the row header is called
>>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>>> the background/foreground color for the row-header but this should be
>>> easy to implement.
>>>
>>> So if you need this feature please file a bug and if possible create a
>>> patch I can integrate into the code base. This way the feature will be
>>> available to whole Grid community.
>>>
>>> Tom
>>>
>>>
>>> Mustufa Kasidwala schrieb:
>>>> Thanks.
>>>>
>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>>> be
>>>> useful for having custom column headers, I want to know how can i
>>>> modify
>>>> the
>>>> Row headers. Also, I just want to have a facility of changing the color
>>>> of
>>>> Row headers, so can i extend some class for this and provide colors
>>>> that
>>>> i
>>>> need?
>>>>
>>>> Thanks,
>>>>
>>>> Mustufa
>>>>
>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>> Mustufa Kasidwala wrote:
>>>>>
>>>>>> Hi,
>>>>>> I have some queries on Grid:
>>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>>> header resizable?
>>>>> Hi,
>>>>>
>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>> anything
>>>>> you need in the header cell:
>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>> There may be a possibility to use a label provider for this, but I
>>>>> don't
>>>>> know for sure, if it exists.
>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>>> the
>>>>> API to do that, sorry.
>>>>>
>>>>> Regards,
>>>>> Stanislav
>>>>>
>>>>
>>
>>
Re: Questions on Nebula Grid [message #595441 is a reply to message #65066] Fri, 26 June 2009 10:58 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
1. Right Click on the project
2. Team > Create Patch
3. Save to file system
4. Attach to bug

Mustufa Kasidwala schrieb:
> Hi,
>
> "attach a patch which you can create within eclipse."
> can you explain what steps i need to do for this? i made changes in two
> files, should i attach these two files?
>
> Sorry if this sounds like a stupid question...
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h2288o$91a$1@build.eclipse.org...
>> Hi,
>>
>> Please file a bug against Nebula > Grid through
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>> patch which you can create within eclipse.
>>
>> Please cc me on the bug and post the bug id here.
>>
>> Tom
>>
>> Mustufa Kasidwala schrieb:
>>> Thanks Tom,
>>>
>>> I downloaded the code from CVS and i can see the method
>>> 'setItemHeaderWidth'
>>> added in Grid.java. It wasn't visible in the binary that i was using. I
>>> may
>>> be using an old one.
>>>
>>> For setting background/foreground colors in row headers, i tried it out
>>> and
>>> was able to set it by making some changes in GridItem and
>>> DefaultRowHeaderRenderer.
>>>
>>> How to raise a bug for this? and how can i contribute? can I send/post
>>> the
>>> code and you can update it?
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> The method to set the width of the row header is called
>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the set
>>>> the background/foreground color for the row-header but this should be
>>>> easy to implement.
>>>>
>>>> So if you need this feature please file a bug and if possible create a
>>>> patch I can integrate into the code base. This way the feature will be
>>>> available to whole Grid community.
>>>>
>>>> Tom
>>>>
>>>>
>>>> Mustufa Kasidwala schrieb:
>>>>> Thanks.
>>>>>
>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will
>>>>> be
>>>>> useful for having custom column headers, I want to know how can i
>>>>> modify
>>>>> the
>>>>> Row headers. Also, I just want to have a facility of changing the color
>>>>> of
>>>>> Row headers, so can i extend some class for this and provide colors
>>>>> that
>>>>> i
>>>>> need?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Mustufa
>>>>>
>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>> Mustufa Kasidwala wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I have some queries on Grid:
>>>>>>> 1. Is it possible to change the color of cells in Row headers? How ?
>>>>>>> 2. Is it possible to change the width of Row headers or make the row
>>>>>>> header resizable?
>>>>>> Hi,
>>>>>>
>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>> anything
>>>>>> you need in the header cell:
>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>> don't
>>>>>> know for sure, if it exists.
>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure of
>>>>>> the
>>>>>> API to do that, sorry.
>>>>>>
>>>>>> Regards,
>>>>>> Stanislav
>>>>>>
>>>
>
>
Re: Questions on Nebula Grid [message #595445 is a reply to message #65091] Fri, 26 June 2009 11:17 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Bug 281644 submitted for this and a patch is attached.

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h229l8$3np$1@build.eclipse.org...
> 1. Right Click on the project
> 2. Team > Create Patch
> 3. Save to file system
> 4. Attach to bug
>
> Mustufa Kasidwala schrieb:
>> Hi,
>>
>> "attach a patch which you can create within eclipse."
>> can you explain what steps i need to do for this? i made changes in two
>> files, should i attach these two files?
>>
>> Sorry if this sounds like a stupid question...
>>
>> Thanks,
>>
>> Mustufa
>>
>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>> news:h2288o$91a$1@build.eclipse.org...
>>> Hi,
>>>
>>> Please file a bug against Nebula > Grid through
>>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>>> patch which you can create within eclipse.
>>>
>>> Please cc me on the bug and post the bug id here.
>>>
>>> Tom
>>>
>>> Mustufa Kasidwala schrieb:
>>>> Thanks Tom,
>>>>
>>>> I downloaded the code from CVS and i can see the method
>>>> 'setItemHeaderWidth'
>>>> added in Grid.java. It wasn't visible in the binary that i was using. I
>>>> may
>>>> be using an old one.
>>>>
>>>> For setting background/foreground colors in row headers, i tried it out
>>>> and
>>>> was able to set it by making some changes in GridItem and
>>>> DefaultRowHeaderRenderer.
>>>>
>>>> How to raise a bug for this? and how can i contribute? can I send/post
>>>> the
>>>> code and you can update it?
>>>>
>>>> Thanks,
>>>>
>>>> Mustufa
>>>>
>>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> The method to set the width of the row header is called
>>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the
>>>>> set
>>>>> the background/foreground color for the row-header but this should be
>>>>> easy to implement.
>>>>>
>>>>> So if you need this feature please file a bug and if possible create a
>>>>> patch I can integrate into the code base. This way the feature will be
>>>>> available to whole Grid community.
>>>>>
>>>>> Tom
>>>>>
>>>>>
>>>>> Mustufa Kasidwala schrieb:
>>>>>> Thanks.
>>>>>>
>>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>> will
>>>>>> be
>>>>>> useful for having custom column headers, I want to know how can i
>>>>>> modify
>>>>>> the
>>>>>> Row headers. Also, I just want to have a facility of changing the
>>>>>> color
>>>>>> of
>>>>>> Row headers, so can i extend some class for this and provide colors
>>>>>> that
>>>>>> i
>>>>>> need?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Mustufa
>>>>>>
>>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>>> Mustufa Kasidwala wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I have some queries on Grid:
>>>>>>>> 1. Is it possible to change the color of cells in Row headers? How
>>>>>>>> ?
>>>>>>>> 2. Is it possible to change the width of Row headers or make the
>>>>>>>> row
>>>>>>>> header resizable?
>>>>>>> Hi,
>>>>>>>
>>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>>> anything
>>>>>>> you need in the header cell:
>>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>>> don't
>>>>>>> know for sure, if it exists.
>>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure
>>>>>>> of
>>>>>>> the
>>>>>>> API to do that, sorry.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Stanislav
>>>>>>>
>>>>
>>
>>
Re: Questions on Nebula Grid [message #595508 is a reply to message #65113] Fri, 03 July 2009 10:01 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Hi,

Any idea when this will be fixed? Actually we are planning to use Nebula
Grid for our project and fixing this bug is important to us.

--
Thanks,

Mustufa
"Mustufa Kasidwala" <m.kasid@gmail.com> wrote in message
news:h22ank$i9q$1@build.eclipse.org...
> Bug 281644 submitted for this and a patch is attached.
>
> Thanks,
>
> Mustufa
>
> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
> news:h229l8$3np$1@build.eclipse.org...
>> 1. Right Click on the project
>> 2. Team > Create Patch
>> 3. Save to file system
>> 4. Attach to bug
>>
>> Mustufa Kasidwala schrieb:
>>> Hi,
>>>
>>> "attach a patch which you can create within eclipse."
>>> can you explain what steps i need to do for this? i made changes in two
>>> files, should i attach these two files?
>>>
>>> Sorry if this sounds like a stupid question...
>>>
>>> Thanks,
>>>
>>> Mustufa
>>>
>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>> news:h2288o$91a$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> Please file a bug against Nebula > Grid through
>>>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula and attach a
>>>> patch which you can create within eclipse.
>>>>
>>>> Please cc me on the bug and post the bug id here.
>>>>
>>>> Tom
>>>>
>>>> Mustufa Kasidwala schrieb:
>>>>> Thanks Tom,
>>>>>
>>>>> I downloaded the code from CVS and i can see the method
>>>>> 'setItemHeaderWidth'
>>>>> added in Grid.java. It wasn't visible in the binary that i was using.
>>>>> I
>>>>> may
>>>>> be using an old one.
>>>>>
>>>>> For setting background/foreground colors in row headers, i tried it
>>>>> out
>>>>> and
>>>>> was able to set it by making some changes in GridItem and
>>>>> DefaultRowHeaderRenderer.
>>>>>
>>>>> How to raise a bug for this? and how can i contribute? can I send/post
>>>>> the
>>>>> code and you can update it?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Mustufa
>>>>>
>>>>> "Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
>>>>> news:h21tnl$2kq$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> The method to set the width of the row header is called
>>>>>> Grid#setItemHeaderWidth. We currently miss the implementation to the
>>>>>> set
>>>>>> the background/foreground color for the row-header but this should be
>>>>>> easy to implement.
>>>>>>
>>>>>> So if you need this feature please file a bug and if possible create
>>>>>> a
>>>>>> patch I can integrate into the code base. This way the feature will
>>>>>> be
>>>>>> available to whole Grid community.
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>>
>>>>>> Mustufa Kasidwala schrieb:
>>>>>>> Thanks.
>>>>>>>
>>>>>>> I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>> will
>>>>>>> be
>>>>>>> useful for having custom column headers, I want to know how can i
>>>>>>> modify
>>>>>>> the
>>>>>>> Row headers. Also, I just want to have a facility of changing the
>>>>>>> color
>>>>>>> of
>>>>>>> Row headers, so can i extend some class for this and provide colors
>>>>>>> that
>>>>>>> i
>>>>>>> need?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Mustufa
>>>>>>>
>>>>>>> "Stanislav Vodetskyi" <blutkind99@gmail.com> wrote in message
>>>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@www.eclipse.org...
>>>>>>>> Mustufa Kasidwala wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> I have some queries on Grid:
>>>>>>>>> 1. Is it possible to change the color of cells in Row headers? How
>>>>>>>>> ?
>>>>>>>>> 2. Is it possible to change the width of Row headers or make the
>>>>>>>>> row
>>>>>>>>> header resizable?
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> 1. It is possible to set your own custom header renderer and draw
>>>>>>>> anything
>>>>>>>> you need in the header cell:
>>>>>>>> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
>>>>>>>> There may be a possibility to use a label provider for this, but I
>>>>>>>> don't
>>>>>>>> know for sure, if it exists.
>>>>>>>> 2. Width of row headers is definitely adjustable, but I'm not sure
>>>>>>>> of
>>>>>>>> the
>>>>>>>> API to do that, sorry.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Stanislav
>>>>>>>>
>>>>>
>>>
>>>
>
>
Re: Questions on Nebula Grid [message #595512 is a reply to message #65260] Fri, 03 July 2009 10:10 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I'll try (but can't promise) to revist it on the weekend.

Tom

Mustufa Kasidwala schrieb:
> Hi,
>
> Any idea when this will be fixed? Actually we are planning to use Nebula
> Grid for our project and fixing this bug is important to us.
>
Re: Questions on Nebula Grid [message #595584 is a reply to message #65281] Fri, 10 July 2009 08:42 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
Thanks Tom,

I can see this is fixed now.

--
Thanks,

Mustufa
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h2klf5$sci$1@build.eclipse.org...
> Hi,
>
> I'll try (but can't promise) to revist it on the weekend.
>
> Tom
>
> Mustufa Kasidwala schrieb:
>> Hi,
>>
>> Any idea when this will be fixed? Actually we are planning to use Nebula
>> Grid for our project and fixing this bug is important to us.
>>
Previous Topic:Row header width resizable
Next Topic:load image to Gallery very slow
Goto Forum:
  


Current Time: Tue Dec 03 18:04:17 GMT 2024

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

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

Back to the top