[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] Re: Questions on Nebula Grid

Bug 281644 submitted for this and a patch is attached.

Thanks,

Mustufa

"Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx> wrote in message 
news:h229l8$3np$1@xxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx> wrote in message
>> news:h2288o$91a$1@xxxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxx> wrote in message
>>>> news:h21tnl$2kq$1@xxxxxxxxxxxxxxxxxxxx
>>>>> 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@xxxxxxxxx> wrote in message
>>>>>> news:3f17500f00271a8c32c3f270d53966a7$1@xxxxxxxxxxxxxxxxxx
>>>>>>> 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
>>>>>>>
>>>>
>>
>>