Open, close and editing events [message #461576] |
Fri, 12 January 2007 13:49  |
Eclipse User |
|
|
|
Hi,
I'm new to developing Eclipse plugins and I'm trying to figure out how I can
hook in and listen for "open" and "close" events of editors. What I want to
know is simply when a file (any file) gets opened into a editor (any editor)
and when it gets closed. I would also wanna know when the user starts
editing the file (modifying text).
Q1:
Which listeners are appropriate to use for this and where do I hook them in?
Q2:
Is IPartListener the way to go for the open and close events and is the
ModifyListener the way to go for the editing?
I know that there exists a IResourceChangeListener but that event only
triggers on save, I want to know "live" when a modification is done to a
file.
Thanks in advance
Andr
|
|
|
|
Powered by
FUDForum. Page generated in 0.02783 seconds