Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Very basic 3.0 questions
Very basic 3.0 questions [message #252086] Sat, 12 June 2004 15:06 Go to next message
Eclipse UserFriend
Originally posted by: alex.schroeder.gmx.net

Hello all,

I'm on the way of porting some 2.1 based plugins to 3.0 and stumbled over
some things were I found nothing obvious in the documentation:

1) My existing plugin derives of AbstractUIPlugin. That's there also in 3.0,
but its constructor uses the new deprecated IPluginDescriptor.
What's best done to avoid that deprecation warnings (and the use of the
deprecated interface at all ...)

2) The plugin did make use of the install URL (to use relative paths in
lookup of lots of icons). Getting that URL touches again that deprecated
IPluginDescriptor. There is described in the docs that "it is replaced by
equivalents in Bundle or Platform" but actually
I didn't get exactly the point - or just overlooked something, So where do I
get that install URL now best from?

If I overlooked some obvious point in the documentation, it's fine if you
would point that out

Thanks
Alex
Re: Very basic 3.0 questions [message #252094 is a reply to message #252086] Sat, 12 June 2004 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex.schroeder.gmx.net

Forget about point 2, I figured it out from an earlier post:

Platform.find(Platform.getBundle(ID), new Path(relativePath))

was the answer.

Remains however what is done with AbstractUIPlugin ...

Cheers
Alex
Re: Very basic 3.0 questions [message #252102 is a reply to message #252094] Sat, 12 June 2004 17:43 Go to previous messageGo to next message
Eclipse UserFriend
Alexander Schröder schrieb:
> Remains however what is done with AbstractUIPlugin ...

Remove the plugindescriptor (to have no argument in the constructor) and
replace the dependency to ...runtime.compatibility with a dependency to
....runtime.

Ciao, Michael.
Re: Very basic 3.0 questions [message #252144 is a reply to message #252086] Sun, 13 June 2004 04:03 Go to previous message
Eclipse UserFriend
Originally posted by: ilias.lazaridis.com

Alexander Schröder wrote:
> Hello all,
>
> I'm on the way of porting some 2.1 based plugins to 3.0 and stumbled over
> some things were I found nothing obvious in the documentation:
>
> 1) My existing plugin derives of AbstractUIPlugin. That's there also in 3.0,
> but its constructor uses the new deprecated IPluginDescriptor.
> What's best done to avoid that deprecation warnings (and the use of the
> deprecated interface at all ...)
>
> 2) The plugin did make use of the install URL (to use relative paths in
> lookup of lots of icons). Getting that URL touches again that deprecated
> IPluginDescriptor. There is described in the docs that "it is replaced by
> equivalents in Bundle or Platform" but actually
> I didn't get exactly the point - or just overlooked something, So where do I
> get that install URL now best from?
>
> If I overlooked some obvious point in the documentation, it's fine if you
> would point that out

possibly this one:

Eclipse 3.0 Adoption Guide
http://www.eclipsepowered.org/archives/2004/06/01/eclipse-30 -adoption-guide/


> Thanks
> Alex
>
>


--
http://www.lazaridis.com
Previous Topic:Going first line after saving in an editor
Next Topic:GTK or Motif for KDE desktop?
Goto Forum:
  


Current Time: Sat Jun 07 10:13:04 EDT 2025

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

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

Back to the top