[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: "EditorPart selected"-event?
|
This newsgroup is deprecated. I am cross posting this followup to
eclipse.platform: please use only that newsgroup in the future.
See IPartListener (partActivated()) and IPartService. Have the view
register with the IPartService on the IWorkbenchPage in which it lives.
-Andrew
"Joachim Schoder" <jschoder@xxxxxxxx> wrote in message
news:b9aaoi$g37$1@xxxxxxxxxxxxxxxx
> Hi,
>
> I´m working on extending an existing plugin. For this I had to write
> three new views which allows the user to click to a special project. The
> problem I have now is that I have to select the file in my views when
> the editorpart is changed. The original editor does this, so I know it`s
> possible. Where/how do I have to add a listener (from a viewpart)?
>
> greetings
> Joachim
>
>