Skip to main content


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 15:48 Go to next message
kkt8 Mising name is currently offline kkt8 Mising nameFriend
Messages: 27
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 16:08 Go to previous messageGo to next message
Eclipse UserFriend
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 15:41 Go to previous message
kkt8 Mising name is currently offline kkt8 Mising nameFriend
Messages: 27
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: Thu Apr 25 23:59:01 GMT 2024

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

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

Back to the top