Midwest Book Review said
Eclipse has become a dominant force in applications and its success rests largely on its generous plug-in applications which extend its abilities to developers. That's why the second updated edition Eclipse: Building Commercial-Quality Plug-Ins is key to any advanced programming collection specializing in Java or Eclipse: it's been revised to incorporate Eclipse 3.1 and 3.2 APIs, and offers both a quick introduction and a step-by-step reference for experienced Eclipse users to take the next advanced steps. Any programmer seeking an advanced Eclipse 'bible' of detail must have this.
Thomas Maurer said
I am writing Eclipse plug-ins for almost two years now and owned this book almost from the beginning. Looking back I must say that the book helped me get started and let me believe "it's possible". As probably many others I was a little intimidated at first by the vast possibilities of the framework.
Now that I am much more experienced I must say that whenever I look into the book it leaves me a little bit disappointed. It only adds little value to the "Platform Plug-in Developer Guide" which is part of the online documentation and already covers a lot.
The book goes into details and code very quickly without explaining the concepts very well. I still use the book every now and then for finding some nuggets not covered elsewhere and sometimes I get lucky but not too often.
Shall you buy this book? If you are a beginner and if you like to learn by programming a sample plug-in then yes. The more proficient you get the more the book will lose its value and you will use other sources of information.
AA said
If you're planning to write an eclipse plugin, this is THE book to read. The authors have done a fantastic job. Kudos.
Now a few suggestions.
The examples in the book can now be imported in the form of an eclipse plugin. This is great but the examples take a huge leap. For example, chapter 6 introduces you to the concept of views and shows you how to build a simple view with a table and a hard coded set of values. The example in chapter 7 is a huge leap in complexity. It would have been nice to have an example that shows you how to wire events to mouse clicks in the basic "One, Two, Three" view. Instead, the example in chapter 7 tries to do too much. As such, I can only give a limited time to reading the book and going through the examples. The jump in the complexity of the examples from chapter 6 to chapter 7 is like going from "hello world" to socket programming.
Again, my review is based on the perspective of someone who is writing eclipse plugins as productivity tools for my project, not as commercial products that I plan to sell. I may not be the right audience for your fantastic book but I suspect there are a lot of people like me who want to write plugins as productivity tools. Since your book is THE best book on eclipse plugins, I'm sure they'll be referring to it too.
Another thing: Part of the examples from chapter 7 don't seem to work. Specifically, the "add to favorites" button on the toolbar doesn't work because the selection object is of the type TextSelection and not IStructuredSelection. Maybe I'm doing something wrong.
Update: After having actually written a decent eclipse plugin, I have a list of suggestions for people who're just getting started.
1. Eclipse Corner is a very good resource for tips on writing eclipse plugins.
2. If you can't figure out how something is done, try looking for code on google codesearch. For example, lang:java eclipse ASTRewrite
3. If you're using Ganymede, you can see how things are done in the eclipse source code. For example, if you want to see the code that implements the outline view, select the outline view and hit Alt-Shift-F1. This will bring up the plugin spy. It will have a link to the source code that implements the outline view. Of course, the real code for the outline view is buried in a deep hierarchy but you get the general idea.
Mule said
This is a good guide for developing Eclipse plugins. Since most online documentation for Eclipse is garbage, this will get you up and running in much less time. It doesn't answer all questions but is a handy reference.
R. Mallampati said
I got the book on time and the condition of the book was new as promised. Couldn't ask for more.
Cheers!
Comments