Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Extend CEditor via a plugin(How to ?)
Extend CEditor via a plugin [message #903564] Fri, 24 August 2012 11:03 Go to next message
Kitesurfer () is currently offline Kitesurfer ()Friend
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 Sad.
"CEditor cannot be resolved to a type".
So I imported: import org.eclipse.*; ... the error remains Sad

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 ?

Thanks in advance.

Greetz !
Re: Extend CEditor via a plugin [message #913398 is a reply to message #903564] Sat, 15 September 2012 14:17 Go to previous message
Kitesurfer () is currently offline Kitesurfer ()Friend
Messages: 84
Registered: December 2009
Member
nobody ?
Previous Topic:Overview of indexer C++11 problems?
Next Topic:cdt do not open C/C++ perspective / ubuntu
Goto Forum:
  


Current Time: Sat Dec 20 16:41:55 GMT 2014

Powered by FUDForum. Page generated in 0.13335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software