开发者

How to pass object from editor to property sheet in eclipse plugin development?

开发者 https://www.devze.com 2022-12-09 03:19 出处:网络
I have an editor, this is suppose to interact with property sheet and outline views. I us开发者_Python百科ed Iselectionprovider interface to achieve this, but I am not able to do interaction between t

I have an editor, this is suppose to interact with property sheet and outline views. I us开发者_Python百科ed Iselectionprovider interface to achieve this, but I am not able to do interaction between the editor and views.

Please give me some sample code snippets for this.


Type Alt+Shift+F1 right in the middle of your Java editor.
That will display the class of that editor:org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor

You will have then ton of example of listener between that editor and various other views, like that org.eclipse.jface.util.PropertyChangeEvent.

In short, Plug-in Spy is your friend for this kind of code exploration.

0

精彩评论

暂无评论...
验证码 换一张
取 消