Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » copy/cut multiple cells in table
copy/cut multiple cells in table [message #464276] Sun, 20 November 2005 09:32 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Error with TreeViewer
Next Topic:Dragging a file from your application to your desktop or windows explorer
Goto Forum:
  


Current Time: Fri Aug 23 20:34:14 GMT 2019

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

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

Back to the top