Skip to main content


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: 87
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: 87
Registered: December 2009
Member
nobody ?
Previous Topic:Overview of indexer C++11 problems?
Next Topic:Unknown symbol __uint128_t
Goto Forum:
  


Current Time: Thu Oct 03 23:36:13 GMT 2024

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

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

Back to the top