propertyTester class not generated

Tell us what you think about our book and report any errata. Sample chapters are available at http://www.qualityeclipse.com/

(Note: Previous Editions were called "Eclipse: Building Commercial Quality Plugins")

Moderators: Eric Clayberg, Dan Rubel propertyTester class not generated

Postby Leon_Starr » Thu Mar 19, 2009 10:37 pm

Hi, I'm running into trouble after it says "click on the label to the left of the property field...." near the end of, p 226

When I do it, the Java new class wizard generates this:
package com.qualityeclipse.com.favorites;

public class FavoritesTester {

Not what the book predicts when it says "should look something like this:". I'm new to Java, but I am guessing that the superclass field in the wizard was supposed to have "org.eclipse.core.expressions.PropertyTester". Tried that by clicking on the Browse button next to the field, but it could not find this class. I have added org.eclipse.core.expressions in the dependency tab, but no luck. I'm sure I'm just missing something obvious. Help appreciated!
- Leon

(I did some further investigation and copied the source from the corresponding book compare code and I do get a java error saying that the org.eclipse.core.expressions.PropertyTester class cannot be resolved. But org...expressions is in the dependency tab! Confused.

Ah, I added it to my build path and the class can be resolved now. Did I miss something in the book, or was I just supposed to know to do this?
Eclipse 3.4.2 / Book: 3rd Edition / Mac OS X 10.5.6
Posts: 1
Joined: Thu Mar 19, 2009 10:16 pm

Return to Book: Eclipse Plug-Ins (3rd Edition)

Who is online

Users browsing this forum: No registered users and 1 guest