|
|
|
|
Re: Activate a Listener in my Eclipse Plugin [message #28270 is a reply to message #27166] |
Sat, 28 September 2002 14:33  |
Eclipse User |
|
|
|
I've attatched some code from CompleteClipse - the EditorService - that
listens for all editor openings in all windows in all pages. It then
notifies a simplified "EditorListener" of those openings.
How it's different from IPartService/IPartListener:
IPartService is all parts, not just editors - this pares it down to just
editors.
Handles all windows/pages, whereas part listeners are on a per-page basis.
-Andrew
"Markus" <grimar@dnet.it> wrote in message
news:amv7vr$10s$1@rogue.oti.com...
> Thank you!
>
> I am working for the university research center and we are trying to find
> out programmers habbits in order to find correlationes between their
> habbits and their error frequency. (so we use webmetrices)
>
> Do you have some samples or other tipps??
>
> Bye Markus
>
> Daniel Megert wrote:
>
> > Markus,
>
> > IPartListener tells you about pars being (de-)activated. This will *not*
> > inform you if an external editor has been opened on your file. Why are
> > you interested in editors being opened?
>
> > HTH
> > Dani
>
>
>
>
|
|
|
Re: Activate a Listener in my Eclipse Plugin [message #583424 is a reply to message #27088] |
Thu, 26 September 2002 11:18  |
Eclipse User |
|
|
|
Originally posted by: daniel_megert.oti.com
Markus,
IPartListener tells you about pars being (de-)activated. This will *not*
inform you if an external editor has been opened on your file. Why are
you interested in editors being opened?
HTH
Dani
|
|
|
Re: Activate a Listener in my Eclipse Plugin [message #583435 is a reply to message #27128] |
Thu, 26 September 2002 11:09  |
Eclipse User |
|
|
|
Thank you!
I am working for the university research center and we are trying to find
out programmers habbits in order to find correlationes between their
habbits and their error frequency. (so we use webmetrices)
Do you have some samples or other tipps??
Bye Markus
Daniel Megert wrote:
> Markus,
> IPartListener tells you about pars being (de-)activated. This will *not*
> inform you if an external editor has been opened on your file. Why are
> you interested in editors being opened?
> HTH
> Dani
|
|
|
Re: Activate a Listener in my Eclipse Plugin [message #583522 is a reply to message #27166] |
Fri, 27 September 2002 03:38  |
Eclipse User |
|
|
|
Originally posted by: daniel_megert.oti.com
Markus wrote:
>Thank you!
>
>I am working for the university research center and we are trying to find
>out programmers habbits in order to find correlationes between their
>habbits and their error frequency. (so we use webmetrices)
>
>Do you have some samples or other tipps??
>
You can browse the Eclipse code to see the part listener in action. To
find out if the resource has been changed you need to register a
resource listener (IResourceChangeListener).
HTH
Dani
|
|
|
Re: Activate a Listener in my Eclipse Plugin [message #583695 is a reply to message #27166] |
Sat, 28 September 2002 14:33  |
Eclipse User |
|
|
|
I've attatched some code from CompleteClipse - the EditorService - that
listens for all editor openings in all windows in all pages. It then
notifies a simplified "EditorListener" of those openings.
How it's different from IPartService/IPartListener:
IPartService is all parts, not just editors - this pares it down to just
editors.
Handles all windows/pages, whereas part listeners are on a per-page basis.
-Andrew
"Markus" <grimar@dnet.it> wrote in message
news:amv7vr$10s$1@rogue.oti.com...
> Thank you!
>
> I am working for the university research center and we are trying to find
> out programmers habbits in order to find correlationes between their
> habbits and their error frequency. (so we use webmetrices)
>
> Do you have some samples or other tipps??
>
> Bye Markus
>
> Daniel Megert wrote:
>
> > Markus,
>
> > IPartListener tells you about pars being (de-)activated. This will *not*
> > inform you if an external editor has been opened on your file. Why are
> > you interested in editors being opened?
>
> > HTH
> > Dani
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05429 seconds