Using EZPlugin
As we go through the book, we’ll talk more about the Java language, and explain what all the bits and pieces in HelloWorld.java actually do. But about half of this code isn’t really important to us right now. What’s more, it’s always going to be exactly the same for each plugin we use. We’re going to move it out of the way so you won’t have to keep looking at it in every single plugin that we work with.
In the downloaded code, I’ve included a special library called EZPlugin. I moved all the stuff that’s going to be the same for all plugins into EZPlugin.java. That’s going to make our next plugins much smaller and easier to read.
All of the other plugins (past HelloWorld) depend on EZPlugin, so we’ll need to build it before ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access