Skip to main content



      Home
Home » Eclipse Projects » GEF » "class must implement abstract method" error
"class must implement abstract method" error [message #80862] Sun, 25 May 2003 15:38 Go to next message
Eclipse UserFriend
Originally posted by: lbarbulo.hotmail.com

On 13.02, James wrote the following desciption of the problem he had while
trying to run the HelloGef2 example. I am also having the same problem so
it would be great if somebody posts the solution. Thanks!


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
{ }
------------------------------------------------------------ ------------
Re: "class must implement abstract method" error [message #80873 is a reply to message #80862] Mon, 26 May 2003 13:51 Go to previous message
Eclipse UserFriend
Originally posted by: jpl.remotejava.com

Leon wrote:

> On 13.02, James wrote the following desciption of the problem he had while
> trying to run the HelloGef2 example. I am also having the same problem so
> it would be great if somebody posts the solution. Thanks!


> 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()

Just add an empty implementation of this method in your example class
and it will work fine.

-JPL
Previous Topic:PaletteEntry identity
Next Topic:Connection creation
Goto Forum:
  


Current Time: Mon Jul 21 21:08:43 EDT 2025

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

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

Back to the top