examples of cut/copy/paste of domain objects in TableViewer [message #654659] |
Wed, 16 February 2011 15:21 |
Henno Vermeulen Messages: 126 Registered: July 2009 |
Senior Member |
|
|
I have searched google for some time, but I cannot find a good example on how to implement cut/copy/paste for domain objects.
I have a TableViewer in which each row corresponds to a domain object (a ProductOrderLine); the input is a List<ProductOderLine>. The user can select multiple ProductOrderLines and should be able to reorder and duplicate them by using cut/copy/paste, ctrl-x, ctrl-c and ctrl-v.
Also being able to use drag and drop would be great but this is not a requirement.
Can anyone point me in the right direction or provide a link to an example/tutorial?
(I am using Eclipse RCP)
[Updated on: Wed, 16 February 2011 15:23] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02133 seconds