copy/cut multiple cells in table [message #464276] |
Sun, 20 November 2005 09:32 |
Eclipse User |
|
|
|
Originally posted by: ng.felicis.org
Hello together,
is there a way one can copy/cut multiple cells in a table instead of only
once at a time? I think this behaviour is implemented in Swing, but I
couldn't figure out if it is possible with SWT, too. I know that Steve
Northover wrote in his book about SWT "A Table Is Not a Spreadsheet", but
nevertheless such functionality would be of great benefit.
Is it possible to do that? If not, is it planned to be supported in future
versions of SWT?
Martin
|
|
|
Re: copy/cut multiple cells in table [message #464278 is a reply to message #464276] |
Sun, 20 November 2005 09:44 |
Eclipse User |
|
|
|
Originally posted by: friederich.kupzog.de
Hi Martin,
probably you can implement this yourself quite easily. Look at the
snippets for clipboard http://www.eclipse.org/swt/snippets/. You can
listen to ctrl-c events and other copy commands and fill the clipboard
yourself.
Hope this helps,
Friederich
Martin Röhricht wrote:
> Hello together,
>
> is there a way one can copy/cut multiple cells in a table instead of only
> once at a time? I think this behaviour is implemented in Swing, but I
> couldn't figure out if it is possible with SWT, too. I know that Steve
> Northover wrote in his book about SWT "A Table Is Not a Spreadsheet", but
> nevertheless such functionality would be of great benefit.
> Is it possible to do that? If not, is it planned to be supported in future
> versions of SWT?
>
> Martin
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk
|
|
|
Re: copy/cut multiple cells in table [message #464286 is a reply to message #464278] |
Sun, 20 November 2005 17:10 |
Lorenz Maierhofer Messages: 88 Registered: July 2009 |
Member |
|
|
Hi,
As Friedrich said, this should be fairly easy to implement.
KTable does what you want, and maybe the code in KTableActionHandler
helps you.
Lorenz
Friederich Kupzog wrote:
> Hi Martin,
>
> probably you can implement this yourself quite easily. Look at the
> snippets for clipboard http://www.eclipse.org/swt/snippets/. You can
> listen to ctrl-c events and other copy commands and fill the clipboard
> yourself.
>
> Hope this helps,
> Friederich
>
> Martin Röhricht wrote:
>
>> Hello together,
>>
>> is there a way one can copy/cut multiple cells in a table instead of only
>> once at a time? I think this behaviour is implemented in Swing, but I
>> couldn't figure out if it is possible with SWT, too. I know that Steve
>> Northover wrote in his book about SWT "A Table Is Not a Spreadsheet", but
>> nevertheless such functionality would be of great benefit.
>> Is it possible to do that? If not, is it planned to be supported in
>> future
>> versions of SWT?
>>
>> Martin
>
>
>
|
|
|
Re: copy/cut multiple cells in table [message #464290 is a reply to message #464278] |
Sun, 20 November 2005 18:25 |
Eclipse User |
|
|
|
Originally posted by: ng.felicis.org
Hi Friederich,
Friederich Kupzog wrote:
> probably you can implement this yourself quite easily. Look at the
> snippets for clipboard http://www.eclipse.org/swt/snippets/. You can
> listen to ctrl-c events and other copy commands and fill the clipboard
> yourself.
I will give it a shot and let you all know if any problems arise. Thanks for
the hint with the clipboard.
Martin
|
|
|
Powered by
FUDForum. Page generated in 0.03296 seconds