Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » extension points in fragment
extension points in fragment [message #333044] Fri, 21 November 2008 16:21 Go to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
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 22:23 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
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 16:43 Go to previous messageGo to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
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 10:55 Go to previous message
Kees Pieters is currently offline Kees PietersFriend
Messages: 10
Registered: October 2015
Junior Member
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 10:57]

Report message to a moderator

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


Current Time: Tue Apr 16 10:48:11 GMT 2024

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

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

Back to the top