Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » extension points in fragment
extension points in fragment [message #333044] Fri, 21 November 2008 11:21 Go to next message
Eclipse UserFriend
Hi,

I have defined some extension points in a fragment.
But I don't see those extension points in another plugins (those plugins
do have dependency on host plugin of that fragment)

Just wondering if it is the case that extension point must be defined in
plugin but not in a fragment?
Or am missing something?

Using eclipse 3.4

Thanks.
- PC
Re: extension points in fragment [message #333056 is a reply to message #333044] Fri, 21 November 2008 17:23 Go to previous messageGo to next message
Eclipse UserFriend
PC wrote:
> Hi,
>
> I have defined some extension points in a fragment.
> But I don't see those extension points in another plugins (those plugins
> do have dependency on host plugin of that fragment)
>
> Just wondering if it is the case that extension point must be defined in
> plugin but not in a fragment?
> Or am missing something?

I don't think you can define extension points in a fragment. Fragments
are more for modifying the way a given plugin behaves internally (for
instance, for JVM or OS-dependent behavior). The interface that a
plug-in exposes to other plug-ins shouldn't depend on platform.

Why does your fragment need to be a fragment? Could it be a
full-fledged plug-in of its own?
Re: extension points in fragment [message #333093 is a reply to message #333056] Tue, 25 November 2008 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Walter , converted to plugin :-)

Walter Harley wrote:
> PC wrote:
>> Hi,
>>
>> I have defined some extension points in a fragment.
>> But I don't see those extension points in another plugins (those
>> plugins do have dependency on host plugin of that fragment)
>>
>> Just wondering if it is the case that extension point must be defined
>> in plugin but not in a fragment?
>> Or am missing something?
>
> I don't think you can define extension points in a fragment. Fragments
> are more for modifying the way a given plugin behaves internally (for
> instance, for JVM or OS-dependent behavior). The interface that a
> plug-in exposes to other plug-ins shouldn't depend on platform.
>
> Why does your fragment need to be a fragment? Could it be a
> full-fledged plug-in of its own?
Re: extension points in fragment [message #1770102 is a reply to message #333093] Tue, 08 August 2017 06:55 Go to previous message
Eclipse UserFriend
Not entirely true, but the file is not called plugin.xml, but fragment.xml:

https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Fproject_wizards%2Fnew_fragment_project.htm

[Updated on: Tue, 08 August 2017 06:57] by Moderator

Previous Topic:get IFile from IDocument
Next Topic:GTK & Light Themes
Goto Forum:
  


Current Time: Wed Apr 30 23:07:26 EDT 2025

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

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

Back to the top