开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜