Need help fixing "class must implement abstract method" error !! [message #64857] |
Thu, 13 February 2003 14:55 |
Eclipse User |
|
|
|
Originally posted by: james48310.hotmail.com
Hello,
Im trying to run the HelloGef2 example found on the webpage
http://eclipsewiki.swiki.net/50#logicexamplestandalone
but I get the error:
Class must implement the inherited abstract method
org.eclipse.gef.editparts.AbstractEditPart.createEditPolicie s()
The code where the error is found is posted below.
HelloConnectionEditPart.java
------------------------------------------------------------ -----------
package org.eclipse.gef.examples.hellogef2;
import org.eclipse.draw2d.IFigure;
import org.eclipse.gef.editparts.AbstractConnectionEditPart;
public class HelloConnectionEditPart extends AbstractConnectionEditPart
{ }
------------------------------------------------------------ ------------
thanks for any help!
|
|
|
|
Re: Need help fixing "class must implement abstract method" error !! [message #64905 is a reply to message #64884] |
Thu, 13 February 2003 23:19 |
Eclipse User |
|
|
|
Originally posted by: james48310.hotmail.com
Gunnar Wagenknecht wrote:
> \\\"James\\\" <james48310@hotmail.com> schrieb im Newsbeitrag
> news:b2gbl5$1c2$1@rogue.oti.com...
> > Class must implement the inherited abstract method
> > org.eclipse.gef.editparts.AbstractEditPart.createEditPolicie s()
> There is an abstract method defined in AbstractEditPart which your EditPart
> must implement.
> Cu, Gunnar
How do I do that? I tried making this change...
public class HelloConnectionEditPart extends AbstractConnectionEditPart
implements AbstractEditPart {}
..but that doesnt work.
|
|
|
Powered by
FUDForum. Page generated in 0.03079 seconds