Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Issue with EditingSupport#canEdit
Issue with EditingSupport#canEdit [message #14161] Thu, 11 June 2009 08:02 Go to next message
Thomas Paradies is currently offline Thomas ParadiesFriend
Messages: 2
Registered: July 2009
Junior Member
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 09:42 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 12:11 Go to previous message
Thomas Paradies is currently offline Thomas ParadiesFriend
Messages: 2
Registered: July 2009
Junior Member
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: Thu Apr 25 08:31:26 GMT 2024

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

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

Back to the top