When you are developing Eclipse Plugins sometimes you need to "spy" other plugins to learn "how they do it that amazing thing". For example: what classes use the Package Explorer View? What classes are involved in each item in the packages tree? What class launch the editor that you are using right now? How can I obtain the values in a StructuredSelection? What values has the ActivePart?These and more questions are answered using Eclipse Spy plugin. This plugin opens a view showing a tree with the selected objects in the workbench (the view, the item selected in the view, the editor part, the workbench, etc.) showing the classes used in each item, and you can explore the fields and methods values to go deeper and deeper.
All values are displayed "on the fly". What you are doing is what you are seeing in the tree. The you can examine each element in the workbench to develop your plugin more easier.
Click on this link to get more detail: http://www.cumminsonline.com.ar/eclipse/eclipse-spy/index.htm
Liked it! Share this Tutorial