[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Extending a View from another plug-in

Very frustrated.

I'm trying to build a simple RCP.  There are two plug-ins.

When I created the first plug-in, I selected "Yes" when asked "Would you like to create a rich client application". I successfully created a simple view which lists the contents of the users home directory. So far so good.

Next, I decided to experiemnt with using multiple plug-ins rather than putting all my code into one plug-in.

So, I created another plugin, this time selecting "No" when asked if I would like to create a rich client application. In the plugin I created the following class:

public class ViewPart1 extends ViewPart {
	public void createPartControl(Composite parent) {
	}

	public void setFocus() {
	}
}

In my original plug-in, I added the dependency for the new plugin and changed my view to extend ViewPart1 instead of ViewPart. When I run the app now, I get:

java.lang.NoClassDefFoundError: org/projectalisa/imageeditor/ui/ViewPart1

What am I doing wrong???