Skip to main content



      Home
Home » Eclipse Projects » JFace » Issue with EditingSupport#canEdit
Issue with EditingSupport#canEdit [message #14161] Thu, 11 June 2009 04:02 Go to next message
Eclipse UserFriend
Hi,

is the celleditor activation per mouse events as showed in
Snippet021CellEditorsOnDoubleClick also feasible using EditingSupport in
place of ICellModifier? Attempting this I've experienced that differently
from ICellModifier(#canModify()) EditingSupport#canEdit() is called always
before the event handler receive the mouse events from table. Is this
issue known?

Thomas
Re: Issue with EditingSupport#canEdit [message #14211 is a reply to message #14161] Fri, 12 June 2009 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I don't see an issue there.

If you are using the 3.3 API and want to modify the activation behaviour
you'll have create your own TableViewerEditor#create and pass your
custom ColumnViewerEditorActivationStrategy.

Tom

Thomas Paradies schrieb:
> Hi,
>
> is the celleditor activation per mouse events as showed in
> Snippet021CellEditorsOnDoubleClick also feasible using EditingSupport in
> place of ICellModifier? Attempting this I've experienced that
> differently from ICellModifier(#canModify()) EditingSupport#canEdit() is
> called always before the event handler receive the mouse events from
> table. Is this issue known?
>
> Thomas
>
Re: Issue with EditingSupport#canEdit [message #14228 is a reply to message #14211] Fri, 12 June 2009 08:11 Go to previous message
Eclipse UserFriend
Tom,

thank you for your comments - yes I'm using the 3.3 API but first I've
expected the same activation behaviour as with the ICellModifier as the
default... ok, thanks to your help I'm wiser now :-)

Thomas

> Hi,

> I don't see an issue there.

> If you are using the 3.3 API and want to modify the activation behaviour
> you'll have create your own TableViewerEditor#create and pass your
> custom ColumnViewerEditorActivationStrategy.

> Tom

> Thomas Paradies schrieb:
>> Hi,
>>
>> is the celleditor activation per mouse events as showed in
>> Snippet021CellEditorsOnDoubleClick also feasible using EditingSupport in
>> place of ICellModifier? Attempting this I've experienced that
>> differently from ICellModifier(#canModify()) EditingSupport#canEdit() is
>> called always before the event handler receive the mouse events from
>> table. Is this issue known?
>>
>> Thomas
>>
Previous Topic:[Databinding] binding to objects attributes
Next Topic:Setting The Input Data Of IViewPart Subclass
Goto Forum:
  


Current Time: Sun May 11 01:29:44 EDT 2025

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

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

Back to the top