Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Extension point no extensible is same plugin ?
Extension point no extensible is same plugin ? [message #137307] Mon, 29 September 2003 06:00 Go to next message
Eclipse UserFriend
I've create an extension point in my plugin (under development).
It's seems that I can't extends this point in same plugin, plugin.xml
parser
barks "Unknown Extension Point:..."

It is a limitation of the plugin engin ?

Arnaud.
Re: Extension point no extensible is same plugin ? [message #137590 is a reply to message #137307] Mon, 29 September 2003 15:02 Go to previous messageGo to next message
Eclipse UserFriend
No. Maybe you might have misspelt your extension point name.
For e.g.
<extension-point id="statuschangelisteners" name="XYZ Change Status
Listener"

schema="schema/statuslistener.exsd"/>


<extension

point="xyz.statuschangelisteners">

<statuschangelistener

class="xyz.views.MyStatusChangeListener">

</statuschangelistener>

</extension>

xyz is the name of the plugin

HTH, Balaji



"Arnaud" <ademuyser@fr.ibm.com> wrote in message
news:bl8vr3$cbn$1@eclipse.org...
> I've create an extension point in my plugin (under development).
> It's seems that I can't extends this point in same plugin, plugin.xml
> parser
> barks "Unknown Extension Point:..."
>
> It is a limitation of the plugin engin ?
>
> Arnaud.
>
Re: Extension point no extensible is same plugin ? [message #137746 is a reply to message #137590] Tue, 30 September 2003 04:22 Go to previous messageGo to next message
Eclipse UserFriend
Thanks a lot Balaji !

I'd just to know the extension must start attribute point with the plugin
id 'xyz' before name.

In addition extension-point id seems to no support '.' character in their
names.

Thanks.

Balaji wrote:

> No. Maybe you might have misspelt your extension point name.
> For e.g.
> <extension-point id="statuschangelisteners" name="XYZ Change Status
> Listener"

> schema="schema/statuslistener.exsd"/>


> <extension

> point="xyz.statuschangelisteners">

> <statuschangelistener

> class="xyz.views.MyStatusChangeListener">

> </statuschangelistener>

> </extension>

> xyz is the name of the plugin

> HTH, Balaji



> "Arnaud" <ademuyser@fr.ibm.com> wrote in message
> news:bl8vr3$cbn$1@eclipse.org...
> > I've create an extension point in my plugin (under development).
> > It's seems that I can't extends this point in same plugin, plugin.xml
> > parser
> > barks "Unknown Extension Point:..."
> >
> > It is a limitation of the plugin engin ?
> >
> > Arnaud.
> >
Re: Extension point no extensible is same plugin ? [message #137924 is a reply to message #137746] Tue, 30 September 2003 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO--SPAM.us.ibm.com

It would be helpful to append the definition of the extension point and
the usage of the extension point and the header element from your
plugin.xml so that we can see if there is semantic error here.

Rich
Re: Extension point no extensible is same plugin ? [message #138051 is a reply to message #137746] Tue, 30 September 2003 12:41 Go to previous messageGo to next message
Eclipse UserFriend
I am curious, why would you want the plugin that provides the extension
point to extend itself via an extension in the plugin.xml? Couldn't you just
code it to do this without declaring it as an extension?

"Arnaud" <ademuyser@fr.ibm.com> wrote in message
news:blbegs$poa$1@eclipse.org...
> Thanks a lot Balaji !
>
> I'd just to know the extension must start attribute point with the plugin
> id 'xyz' before name.
>
> In addition extension-point id seems to no support '.' character in their
> names.
>
> Thanks.
>
> Balaji wrote:
>
> > No. Maybe you might have misspelt your extension point name.
> > For e.g.
> > <extension-point id="statuschangelisteners" name="XYZ Change Status
> > Listener"
>
> > schema="schema/statuslistener.exsd"/>
>
>
> > <extension
>
> > point="xyz.statuschangelisteners">
>
> > <statuschangelistener
>
> > class="xyz.views.MyStatusChangeListener">
>
> > </statuschangelistener>
>
> > </extension>
>
> > xyz is the name of the plugin
>
> > HTH, Balaji
>
>
>
> > "Arnaud" <ademuyser@fr.ibm.com> wrote in message
> > news:bl8vr3$cbn$1@eclipse.org...
> > > I've create an extension point in my plugin (under development).
> > > It's seems that I can't extends this point in same plugin, plugin.xml
> > > parser
> > > barks "Unknown Extension Point:..."
> > >
> > > It is a limitation of the plugin engin ?
> > >
> > > Arnaud.
> > >
>
>
Re: Extension point no extensible is same plugin ? [message #138402 is a reply to message #138051] Wed, 01 October 2003 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Andre_Weinand.oti.com

On 30.9.2003 18:41 Uhr, in article blcbck$p56$1@eclipse.org, "Kevin"
<supreme_java_guru_1@yahoo.com> wrote:

> I am curious, why would you want the plugin that provides the extension
> point to extend itself via an extension in the plugin.xml? Couldn't you just
> code it to do this without declaring it as an extension?

That's one of Eclipse's fundamental design principles:
Whenever we open up an implementation (by creating a new extension point) so
that others can provide their own extensions, we play by the same rules and
use that extension point ourselves. There should be no first class
citizens...
--andre
Re: Extension point no extensible is same plugin ? [message #138704 is a reply to message #138402] Wed, 01 October 2003 23:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

"Andre Weinand" <Andre_Weinand@oti.com> wrote in message
news:BBA09CB5.1E9E5%Andre_Weinand@oti.com...
> That's one of Eclipse's fundamental design principles:
> Whenever we open up an implementation (by creating a new extension point)
so
> that others can provide their own extensions, we play by the same rules
and
> use that extension point ourselves. There should be no first class
> citizens...

But adherence isn't 100%, is it? Does Eclipse (the team) have a count of the
instances where Eclipse (the software) violates the rule? No measure, no
management.

Bob Foster
Re: Extension point no extensible is same plugin ? [message #139180 is a reply to message #138704] Thu, 02 October 2003 16:51 Go to previous message
Eclipse UserFriend
Originally posted by: Andre_Weinand.oti.com

On 2.10.2003 5:39 Uhr, in article blg5mk$rc5$1@eclipse.org, "Bob Foster"
<bob@objfac.com> wrote:

> "Andre Weinand" <Andre_Weinand@oti.com> wrote in message
> news:BBA09CB5.1E9E5%Andre_Weinand@oti.com...
>> That's one of Eclipse's fundamental design principles:
>> Whenever we open up an implementation (by creating a new extension point)
> so
>> that others can provide their own extensions, we play by the same rules
> and
>> use that extension point ourselves. There should be no first class
>> citizens...
>
> But adherence isn't 100%, is it? Does Eclipse (the team) have a count of the
> instances where Eclipse (the software) violates the rule? No measure, no
> management.

Sure, for this rule: 0

--andre
Previous Topic:Help
Next Topic:How to browse JDK Java Documentation from Eclipse
Goto Forum:
  


Current Time: Sat Jun 07 16:03:04 EDT 2025

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

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

Back to the top