Problem with GraphicalEditor and EditorPart [message #201217] |
Mon, 31 October 2005 11:17 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07570 seconds