Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to listen to EMF clipboard?
How to listen to EMF clipboard? [message #417051] Mon, 25 February 2008 11:24 Go to next message
Eclipse UserFriend
Originally posted by: anakkapan_k.nomagicasia.com

I want to listen to the change in EMF clipboard, the clipboard that I copy
to or paste from it using CopyToClipboardCommand and
PasteFromClipboardCommand. Which listener should I use and how can I attach
the listener to the clipboard?
Re: How to listen to EMF clipboard? [message #417054 is a reply to message #417051] Mon, 25 February 2008 12:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Anakkapan,

There's no listener for that. But since commands are used to set it,
you could listen to the command stack for when a command is executed and
then check the clipboard afterwards...


Anakkapan K. wrote:
> I want to listen to the change in EMF clipboard, the clipboard that I copy
> to or paste from it using CopyToClipboardCommand and
> PasteFromClipboardCommand. Which listener should I use and how can I attach
> the listener to the clipboard?
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:CommandStack in IEditingDomainProvider
Next Topic:Using Model Listeners / Adapters in AbstractPropertySections
Goto Forum:
  


Current Time: Sat Apr 27 02:21:02 GMT 2024

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

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

Back to the top