Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » cut-n-paste from TreeViewer??? or something similar???
cut-n-paste from TreeViewer??? or something similar??? [message #509221] Thu, 21 January 2010 17:08 Go to next message
Martin Thompson is currently offline Martin ThompsonFriend
Messages: 51
Registered: July 2009
Member
Are there any replacements for the JFace TableViewer component that provide
the ability to cut and paste from the table into text files or Excel???

I know... we're not Microsoft!

BUT... this is a valid request from the users of the application that I
wrote and the previous version (VB-based) provided this funtcionality...

Regards,
Martin
Re: cut-n-paste from TreeViewer??? or something similar??? [message #509222 is a reply to message #509221] Thu, 21 January 2010 17:10 Go to previous messageGo to next message
Martin Thompson is currently offline Martin ThompsonFriend
Messages: 51
Registered: July 2009
Member
I meant TableViewer in the Subject line... sorry...

"Martin Thompson" wrote in message
news:hja1ms$eus$1@build.eclipse.org...
> Are there any replacements for the JFace TableViewer component that
> provide the ability to cut and paste from the table into text files or
> Excel???
>
> I know... we're not Microsoft!
>
> BUT... this is a valid request from the users of the application that I
> wrote and the previous version (VB-based) provided this funtcionality...
>
> Regards,
> Martin
>

[Updated on: Thu, 04 March 2010 16:04]

Report message to a moderator

Re: cut-n-paste from TreeViewer??? or something similar??? [message #509485 is a reply to message #509222] Fri, 22 January 2010 15:02 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Look at the clipboard functionality.

http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.h tml
http://www.eclipse.org/articles/Article-Workbench-DND/drag_d rop.html

You'll need to figure out what Transfer types are accepted by Excel and come
up with a way to encode your data.

Brian.

Martin Thompson wrote:
> I meant TableViewer in the Subject line... sorry...
>
> "Martin Thompson" <thompsma@aecl.ca> wrote in message
> news:hja1ms$eus$1@build.eclipse.org...
>> Are there any replacements for the JFace TableViewer component that
>> provide the ability to cut and paste from the table into text files or
>> Excel???
>>
>> I know... we're not Microsoft!
>>
>> BUT... this is a valid request from the users of the application that I
>> wrote and the previous version (VB-based) provided this funtcionality...
>>
>> Regards,
>> Martin
>>
>
>
Re: cut-n-paste from TreeViewer??? or something similar??? [message #509714 is a reply to message #509485] Mon, 25 January 2010 02:52 Go to previous message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
I can recomment to use the HTMLTransfer with a HTML table.

Enrico

"Brian de Alwis" <bsd@acm.org.invalid> schrieb im Newsbeitrag
news:PM00047DC21A16419B@chiclet.hotel-bc.com...
> Look at the clipboard functionality.
>
> http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.h tml
> http://www.eclipse.org/articles/Article-Workbench-DND/drag_d rop.html
>
> You'll need to figure out what Transfer types are accepted by Excel and
> come
> up with a way to encode your data.
>
> Brian.
>
> Martin Thompson wrote:
>> I meant TableViewer in the Subject line... sorry...
>>
>> "Martin Thompson" <thompsma@aecl.ca> wrote in message
>> news:hja1ms$eus$1@build.eclipse.org...
>>> Are there any replacements for the JFace TableViewer component that
>>> provide the ability to cut and paste from the table into text files or
>>> Excel???
>>>
>>> I know... we're not Microsoft!
>>>
>>> BUT... this is a valid request from the users of the application that I
>>> wrote and the previous version (VB-based) provided this funtcionality...
>>>
>>> Regards,
>>> Martin
>>>
>>
>>
Previous Topic:Re: Problem with ColumnViewerEditorActivationListener in a TableViewer
Next Topic:Realm object problem while trying to create WritableList from two threads
Goto Forum:
  


Current Time: Fri Apr 19 23:34:57 GMT 2024

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

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

Back to the top