title: The hierarchy of the type AddEntryAction is inconsistent (Jface)
body: <p>i have the following class in eclipse</p>
  <pre><code>class AddEntryAction extends Action {
    public AddEntryAction() {
      super(&quot;Add Entry&quot;);
      setToolTipText(&quot;Add Entry&quot;);
    }
    public void run() {
      WizardDialog dlg = new WizardDialog(MainClass.mainWindow.getShell(),
          new AddEntryWizard());
      dlg.open();
    }
  }
  </code></pre>
  <p>and Action class extends AbstractAction which intern extends EventManager class. Both these parent classes are part of the eclipse SWT/jface libraries... I get the following error on the above class declaration</p>
  <blockquote>
  <p>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</p>
  <p>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</p>
  </blockquote>
  <p>AddEntryAction is declared within the same source file MainClass.java. Actually, this is an example from <a href="http://www.java2s.com/Code/JavaAPI/org.eclipse.jface.viewers/TableViewersetInputObjectinputs.htm" rel="nofollow noreferrer">Java2s.com</a> ... I have the libraries/jars because i can see the compiles classes of all these clases</p>