I am writing an Eclipse editor plugin and my editor class extends AbstractTextEditor
. However, I get the error: "The hierarchy of the type MyTextEditor is inconsistent".
Hence, I am wondering whether I forgot some package import. I imported the packages of AbstractTextEditor
's parent classes, but the error remains. I guess I either forgot a package or the error is caused by something else... These are the packages I imported so far:
org.eclipse.ui
org.eclipse.ui.part
org.eclipse.ui.texteditor