Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table SWT and Selection
Table SWT and Selection [message #453079] Wed, 30 March 2005 05:14 Go to next message
Eclipse UserFriend
Hello,

When I select an editable cell of an SWT Table, I have noticed that I'm
directly in a edition mode of this cell. I have looked the source code
and it seems to be the default behavior.
The default behavior I know about Table (in general) is that I have to
make a double click in the cell to enter in the edition mode and a
simple click just select the full line.
So it seems that the SWT Table has the opposite behavior I used to know.

Is is the normal implementation it has been decided for it or should it
be a bug ?

Can anyone give me helpful informations ?

Thanks for help.
Thomas.
Re: Table SWT and Selection [message #454901 is a reply to message #453079] Mon, 02 May 2005 01:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wohlgemuth.ucdavis.edu

hi I have the same problem and dealing with this since a couple of days. But
also found no solution to go arround. I think its not a bug. Its just a
feature because its pretty common to edit with one click in unix based
operated systems.

g.

Thomas FRIOL wrote:

> Hello,
>
> When I select an editable cell of an SWT Table, I have noticed that I'm
> directly in a edition mode of this cell. I have looked the source code
> and it seems to be the default behavior.
> The default behavior I know about Table (in general) is that I have to
> make a double click in the cell to enter in the edition mode and a
> simple click just select the full line.
> So it seems that the SWT Table has the opposite behavior I used to know.
>
> Is is the normal implementation it has been decided for it or should it
> be a bug ?
>
> Can anyone give me helpful informations ?
>
> Thanks for help.
> Thomas.
Re: Table SWT and Selection [message #454935 is a reply to message #454901] Tue, 03 May 2005 01:49 Go to previous message
Eclipse UserFriend
I might not be understanding the real problem, as if you change the
MouseDown event type to MouseDoubleClick in

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet124.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

then you get doubleclick-to-edit-cell. Did I misunderstand the problem?

Emil

"Gert Wohlgemuth" <wohlgemuth@ucdavis.edu> wrote in message
news:d557cb$i6k$1@news.eclipse.org...
> hi I have the same problem and dealing with this since a couple of days.
> But
> also found no solution to go arround. I think its not a bug. Its just a
> feature because its pretty common to edit with one click in unix based
> operated systems.
>
> g.
>
> Thomas FRIOL wrote:
>
>> Hello,
>>
>> When I select an editable cell of an SWT Table, I have noticed that I'm
>> directly in a edition mode of this cell. I have looked the source code
>> and it seems to be the default behavior.
>> The default behavior I know about Table (in general) is that I have to
>> make a double click in the cell to enter in the edition mode and a
>> simple click just select the full line.
>> So it seems that the SWT Table has the opposite behavior I used to know.
>>
>> Is is the normal implementation it has been decided for it or should it
>> be a bug ?
>>
>> Can anyone give me helpful informations ?
>>
>> Thanks for help.
>> Thomas.
>
Previous Topic:How to know if application already running?
Next Topic:dragable Composite
Goto Forum:
  


Current Time: Sun Nov 09 19:49:59 EST 2025

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

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

Back to the top