我有以下类蚀类型AddEntryAction的层次结构是不一致的(JFACE)
class AddEntryAction extends Action {
public AddEntryAction() {
super("Add Entry");
setToolTipText("Add Entry");
}
public void run() {
WizardDialog dlg = new WizardDialog(MainClass.mainWindow.getShell(),
new AddEntryWizard());
dlg.open();
}
}
和行动类扩展AbstractAction其中实习生延伸eventmanager进行类。这两个父类是Eclipse的SWT/JFace库的一部分......我得到上面的类声明
The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.core.commands.common.EventManager. Fix the build path then try building this project DisplayExample Unknown Java Problem
The type org.eclipse.core.commands.common.EventManager cannot be resolved. It is indirectly referenced from required .class files MainClass.java /DisplayExample/src line 94 Java Problem
AddEntryAction是相同的源文件MainClass.java内声明下面的错误。其实,这是一个Java2s.com的例子...我有库/罐子,因为我可以看到所有这些类的编译类