Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Need help fixing "class must implement abstract method" error !!
Need help fixing "class must implement abstract method" error !! [message #64857] Thu, 13 February 2003 14:55 Go to next message
Eclipse UserFriend
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 #64884 is a reply to message #64857] Thu, 13 February 2003 20:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.planet-wagenknecht.de

"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
Re: Need help fixing "class must implement abstract method" error !! [message #64905 is a reply to message #64884] Thu, 13 February 2003 23:19 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Figure is not a child of this parent
Next Topic:initial layout & createFigure()
Goto Forum:
  


Current Time: Thu Dec 26 12:44:34 GMT 2024

Powered by FUDForum. Page generated in 0.03092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top