| Home » Eclipse Projects » Nebula » Questions on Nebula Grid
 Goto Forum:| 
| Questions on Nebula Grid [message #64956] | Mon, 22 June 2009 08:27  |  | 
| Eclipse User  |  |  |  |  | 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 #64991 is a reply to message #64980] | Fri, 26 June 2009 00:58   |  | 
| Eclipse User  |  |  |  |  | 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 03:35   |  | 
| Eclipse User  |  |  |  |  | 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 06:31   |  | 
| Eclipse User  |  |  |  |  | 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 06:35   |  | 
| Eclipse User  |  |  |  |  | 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 06:46   |  | 
| Eclipse User  |  |  |  |  | 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 06:58   |  | 
| Eclipse User  |  |  |  |  | 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 07:17   |  | 
| Eclipse User  |  |  |  |  | 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 06:01   |  | 
| Eclipse User  |  |  |  |  | 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 #65454 is a reply to message #65281] | Fri, 10 July 2009 04:42  |  | 
| Eclipse User  |  |  |  |  | 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 08:21  |  | 
| Eclipse User  |  |  |  |  | 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 00:58  |  | 
| Eclipse User  |  |  |  |  | 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 03:35  |  | 
| Eclipse User  |  |  |  |  | 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 06:31  |  | 
| Eclipse User  |  |  |  |  | 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 06:35  |  | 
| Eclipse User  |  |  |  |  | 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 06:46  |  | 
| Eclipse User  |  |  |  |  | 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 06:58  |  | 
| Eclipse User  |  |  |  |  | 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 07:17  |  | 
| Eclipse User  |  |  |  |  | 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 06:01  |  | 
| Eclipse User  |  |  |  |  | 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 06:10  |  | 
| Eclipse User  |  |  |  |  | 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 04:42  |  | 
| Eclipse User  |  |  |  |  | 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.
 >>
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 07:01:03 EDT 2025 
 Powered by FUDForum . Page generated in 0.06345 seconds |