Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » can't extend my class to CompilationUnitEditor
can't extend my class to CompilationUnitEditor [message #98199] Tue, 23 September 2003 12:30 Go to next message
Eclipse UserFriend
Hi all,

I have read in the article at Eclipse that I can 't extend my editor to
CompilationUnitEditor as it is an internal API.
Now my question is that I need to have some of the javaeditor
functionality in my javaeditor(the one i created).How can I get this
functionality.

Any idea/pointer or example code will really be appreciated.

Thanks in advance

Syed
Re: can't extend my class to CompilationUnitEditor [message #98490 is a reply to message #98199] Wed, 24 September 2003 03:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: t_tcholakov.prosyst.bg

Yes it is internal. And still you CAN extend it.
however when testing you should include the appropriate plugins if you want
to run your editor without errors.
I've done it and it works ok for naow. I've tested it on eclipse 2.0, 21 and
3.0 and there are no chnghes in this functionality.
just override the class and set the plugin in which it stays as required.
that's all :))
"Syed" <sma_r@hotmail.com> wrote in message news:bkpsfk$hhh$1@eclipse.org...
> Hi all,
>
> I have read in the article at Eclipse that I can 't extend my editor to
> CompilationUnitEditor as it is an internal API.
> Now my question is that I need to have some of the javaeditor
> functionality in my javaeditor(the one i created).How can I get this
> functionality.
>
> Any idea/pointer or example code will really be appreciated.
>
> Thanks in advance
>
> Syed
>
Re: can't extend my class to CompilationUnitEditor [message #98594 is a reply to message #98490] Wed, 24 September 2003 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eicher.gmx.ch.nodomain

You are writing your own editor? Why don't you copy
CompilationUnitEditor and everything you need from the internal
packages? This way you won't have to worry about it changing.

"Internal" just means there is no support, and that interfaces and
behaviour can change any time - you may still use the source.

-tom

Todor Cholakov wrote:
> Yes it is internal. And still you CAN extend it.
> however when testing you should include the appropriate plugins if you want
> to run your editor without errors.
> I've done it and it works ok for naow. I've tested it on eclipse 2.0, 21 and
> 3.0 and there are no chnghes in this functionality.
> just override the class and set the plugin in which it stays as required.
> that's all :))
> "Syed" <sma_r@hotmail.com> wrote in message news:bkpsfk$hhh$1@eclipse.org...
>
>>Hi all,
>>
>>I have read in the article at Eclipse that I can 't extend my editor to
>>CompilationUnitEditor as it is an internal API.
>>Now my question is that I need to have some of the javaeditor
>>functionality in my javaeditor(the one i created).How can I get this
>>functionality.
>>
>>Any idea/pointer or example code will really be appreciated.
>>
>>Thanks in advance
>>
>>Syed
>>
>
>
>
Re: can't extend my class to CompilationUnitEditor [message #98952 is a reply to message #98490] Thu, 25 September 2003 10:02 Go to previous message
Eclipse UserFriend
How can you extend it,besides copying all all files of the plugin.

thanks
Syed

Todor Cholakov wrote:

> Yes it is internal. And still you CAN extend it.
> however when testing you should include the appropriate plugins if you want
> to run your editor without errors.
> I've done it and it works ok for naow. I've tested it on eclipse 2.0, 21 and
> 3.0 and there are no chnghes in this functionality.
> just override the class and set the plugin in which it stays as required.
> that's all :))
> "Syed" <sma_r@hotmail.com> wrote in message news:bkpsfk$hhh$1@eclipse.org...
> > Hi all,
> >
> > I have read in the article at Eclipse that I can 't extend my editor to
> > CompilationUnitEditor as it is an internal API.
> > Now my question is that I need to have some of the javaeditor
> > functionality in my javaeditor(the one i created).How can I get this
> > functionality.
> >
> > Any idea/pointer or example code will really be appreciated.
> >
> > Thanks in advance
> >
> > Syed
> >
Previous Topic:finding the JDK version of an IVMInstall
Next Topic:Support Clearcase
Goto Forum:
  


Current Time: Thu Sep 18 17:12:10 EDT 2025

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

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

Back to the top