Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Errors with extends class
Errors with extends class [message #639731] Wed, 17 November 2010 10:48 Go to next message
kkt8 Missing name is currently offline kkt8 Missing name
Messages: 23
Registered: November 2010
Junior Member
Hello
I word under eclipse and java
I've some errors that I don't understand :
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;

public class TestForm extends FormPage{

	public TestForm(FormEditor editor, String id, String title) {
		super(editor, id, title);
		// TODO Auto-generated constructor stub
	}
	public TestForm(String id, String title) {
		super(id, title);
		// TODO Auto-generated constructor stub
	}
}

So simple ... isn't it ?
And I've :
    under TestForm : The hierarchy of the type TestForm is inconsistent

    under FormPage :
    - The type org.eclipse.ui.IEditorPart cannot be resolved. It is indirectly referenced from required .class files
    - The type org.eclipse.ui.part.EditorPart cannot be resolved. It is indirectly referenced from required .class files


Do you have an idea ?
Thank in advance
Re: Errors with extends class [message #639755 is a reply to message #639731] Wed, 17 November 2010 11:08 Go to previous messageGo to next message
Eclipse User
Originally posted by: richkulp.us.NOSPAM.ibm.com

Hi,

>
> under FormPage : - The type org.eclipse.ui.IEditorPart cannot be
> resolved. It is indirectly referenced from required .class files
> - The type org.eclipse.ui.part.EditorPart cannot be resolved. It is
> indirectly referenced from required .class files

You need to have the plugin that defines IEditorPart and EditorPart in
your plugin's dependency list.

--
Thanks,
Rich Kulp
Re: Errors with extends class [message #639986 is a reply to message #639755] Thu, 18 November 2010 10:41 Go to previous message
kkt8 Missing name is currently offline kkt8 Missing name
Messages: 23
Registered: November 2010
Junior Member
YES !
it's ok !!!
Thnak
Previous Topic:conveting program to use ANT -- how can one see how Eclipse programs/projects
Next Topic:working with the AST
Goto Forum:
  


Current Time: Sat Aug 23 01:35:09 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds