Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem with GraphicalEditor and EditorPart
Problem with GraphicalEditor and EditorPart [message #201217] Mon, 31 October 2005 11:17
Eclipse UserFriend
Originally posted by: mygsm.free.fr

Hello,

i'm beginner with GEF and so i'm trying to run examples.
I'm trying HelloGEF2.1 from
http://www.cs.technion.ac.il/~stommy/gef_page.htm

My problem is with HelloGefEditor.java

it starts with:
package org.eclipse.gef.examples.hellogef;

import org.eclipse.core.resources.IMarker;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.draw2d.FigureCanvas;
import org.eclipse.gef.DefaultEditDomain;
import org.eclipse.gef.GraphicalViewer;
import org.eclipse.gef.editparts.FreeformGraphicalRootEditPart;
import org.eclipse.gef.ui.parts.GraphicalEditor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.PartInitException;

import org.eclipse.ui.*;
import org.eclipse.ui.IEditorPart;

/**
* Sample GEF editor.
*/
public class HelloGefEditor extends GraphicalEditor
{
public HelloGefEditor()
{
System.out.println("Called GefHelloEditor() constructor");
setEditDomain(new DefaultEditDomain(this));
}
(...)

The problem is with "extends GraphicalEditor" : The type
org.eclipse.ui.part.EditorPart cannot be resolved.
I've tried to import all packages beginning with org.eclipse.ui, but it's
always the problem.

If you know how to solve my problem ....

Thanks,
mygsm
Previous Topic:How can I create new geometrical shapes?
Next Topic:Connection Label
Goto Forum:
  


Current Time: Sun Nov 03 23:52:47 GMT 2024

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

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

Back to the top