Erreur sur une declaration de class avec un extends
bonjour,
Je dév sous eclipse, et j'ai des erreurs que je ne comprends pas :(
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
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
}
} |
Pas de quoi fouetter un chat !
et j'ai comme erreur :
- sur le TestForm : The hierarchy of the type TestForm is inconsistent
- sur le 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
Quelqu'un a une idée SVP
Merci d'avance