Kitesurfer () Messages: 84 Registered: December 2009
Member
Hello,
I have a plugin which is used for extensions as txt (and some more). The plugin extends the AbstractDecoratedTextEditor ("public class MyEditor extends AbstractDecoratedTextEditor").
This works oke.
Now I need to extend the extension C. I've installed the CDT-addon; why do things from scratch if the community already did that great job for C/C++ !.
I see in debug that the editor is named CEditor. So my (simple :-)thought was: extend the CEditor !
So I did: "public class MyCEditor extends CEditor" ... but that doesn't work .
"CEditor cannot be resolved to a type".
So I imported: import org.eclipse.*; ... the error remains
Does anybody know how to solve this ? ... or has anybody a clue how to extend CEditor in the same way as I extended the AbstractDecoratedTextEditor ?