CellEditor in the TableViewer is not enabling the context menu [message #40777] |
Mon, 08 October 2007 09:47  |
Eclipse User |
|
|
|
Hello,
In my GridTableViewer I have used Editing support API to get the required
widgets in the column.
In one column I am returning the DialogCellEditor.but I have given my
context menu on right click so when i am selecting that cell i am getting
my button but not getting my context menu in rightclick.
Thanks
Debasis
|
|
|
|
Re: CellEditor in the TableViewer is not enabling the context menu [message #40838 is a reply to message #40807] |
Wed, 10 October 2007 02:30  |
Eclipse User |
|
|
|
hi,
I'm not I sure I get this right but you have assigned a context-menu on
the viewer but instead the editor is activated on right click?
If that's the case then this is a regression in 3.3 and 3.3.1 we are
going to fix in 3.3.2
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=203316).
You can fix this your own by providing your own
ColumnViewerEditorActivationStrategy strategy as described in the bug
report.
Tom
Chris Gross schrieb:
> Hi Debasis,
>
> The DialogCellEditor is placing its control in the cell and thus its
> getting the right click and not the underlying grid. This is the case
> with any cell editor. You might be able to assign your menu to the
> editor. If that doesn't work then I would follow up in the RCP
> newsgroup as this is more of a generic JFace viewer issue.
>
> Regards,
> -Chris
>
> DebasisMishra wrote:
>> Hello,
>> In my GridTableViewer I have used Editing support API to get the
>> required widgets in the column.
>>
>> In one column I am returning the DialogCellEditor.but I have given my
>> context menu on right click so when i am selecting that cell i am
>> getting my button but not getting my context menu in rightclick.
>>
>>
>>
>>
>>
>> Thanks
>> Debasis
>>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: CellEditor in the TableViewer is not enabling the context menu [message #585155 is a reply to message #40777] |
Tue, 09 October 2007 12:48  |
Eclipse User |
|
|
|
Hi Debasis,
The DialogCellEditor is placing its control in the cell and thus its
getting the right click and not the underlying grid. This is the case
with any cell editor. You might be able to assign your menu to the
editor. If that doesn't work then I would follow up in the RCP
newsgroup as this is more of a generic JFace viewer issue.
Regards,
-Chris
DebasisMishra wrote:
> Hello,
> In my GridTableViewer I have used Editing support API to get the
> required widgets in the column.
>
> In one column I am returning the DialogCellEditor.but I have given my
> context menu on right click so when i am selecting that cell i am
> getting my button but not getting my context menu in rightclick.
>
>
>
>
>
> Thanks
> Debasis
>
|
|
|
Re: CellEditor in the TableViewer is not enabling the context menu [message #585166 is a reply to message #40807] |
Wed, 10 October 2007 02:30  |
Eclipse User |
|
|
|
hi,
I'm not I sure I get this right but you have assigned a context-menu on
the viewer but instead the editor is activated on right click?
If that's the case then this is a regression in 3.3 and 3.3.1 we are
going to fix in 3.3.2
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=203316).
You can fix this your own by providing your own
ColumnViewerEditorActivationStrategy strategy as described in the bug
report.
Tom
Chris Gross schrieb:
> Hi Debasis,
>
> The DialogCellEditor is placing its control in the cell and thus its
> getting the right click and not the underlying grid. This is the case
> with any cell editor. You might be able to assign your menu to the
> editor. If that doesn't work then I would follow up in the RCP
> newsgroup as this is more of a generic JFace viewer issue.
>
> Regards,
> -Chris
>
> DebasisMishra wrote:
>> Hello,
>> In my GridTableViewer I have used Editing support API to get the
>> required widgets in the column.
>>
>> In one column I am returning the DialogCellEditor.but I have given my
>> context menu on right click so when i am selecting that cell i am
>> getting my button but not getting my context menu in rightclick.
>>
>>
>>
>>
>>
>> Thanks
>> Debasis
>>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.05664 seconds