Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » adaptable what does it mean in eclipse pugin.xml?
adaptable what does it mean in eclipse pugin.xml? [message #142941] Fri, 09 November 2007 12:13 Go to next message
Eclipse UserFriend
Originally posted by: lgw198412.gmail.com

The following code is an extension point in plugin.xml
<objectContribution
objectClass="org.eclipse.core.resources.IProject"
adaptable="true"
id="org.apache.cactus.eclipse.ui.update">
<action
label="Update"
icon=""
class="action.actions.SampleAction"
menubarPath="additions"
enablesFor="1"
id="org.apache.cactus.eclipse.ui.UpdateAction">
</action>
</objectContribution>
</extension>

why should I use "adaptable="true""?and what's the useful of "adaptable"?
could anyone help me?
Re: adaptable what does it mean in eclipse pugin.xml? [message #142982 is a reply to message #142941] Fri, 09 November 2007 12:29 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Robbin,

So it looks like you got a little further hunting down information, but
this too is not a VE question. Use
news://news.eclipse.org/eclipse.newcomer or
news://news.eclipse.org/eclipse.platform for general questions not
specifically about VE. As far as I know, the adaptable indicates that
something that is able to adapt itself to be a project should also be
considered as a target for your action.


robbin wrote:
> The following code is an extension point in plugin.xml
> <objectContribution
> objectClass="org.eclipse.core.resources.IProject"
> adaptable="true"
> id="org.apache.cactus.eclipse.ui.update">
> <action
> label="Update"
> icon=""
> class="action.actions.SampleAction"
> menubarPath="additions"
> enablesFor="1"
> id="org.apache.cactus.eclipse.ui.UpdateAction">
> </action>
> </objectContribution>
> </extension>
>
> why should I use "adaptable="true""?and what's the useful of
> "adaptable"? could anyone help me?
Re: adaptable what does it mean in eclipse pugin.xml? [message #616872 is a reply to message #142941] Fri, 09 November 2007 12:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Robbin,

So it looks like you got a little further hunting down information, but
this too is not a VE question. Use
news://news.eclipse.org/eclipse.newcomer or
news://news.eclipse.org/eclipse.platform for general questions not
specifically about VE. As far as I know, the adaptable indicates that
something that is able to adapt itself to be a project should also be
considered as a target for your action.


robbin wrote:
> The following code is an extension point in plugin.xml
> <objectContribution
> objectClass="org.eclipse.core.resources.IProject"
> adaptable="true"
> id="org.apache.cactus.eclipse.ui.update">
> <action
> label="Update"
> icon=""
> class="action.actions.SampleAction"
> menubarPath="additions"
> enablesFor="1"
> id="org.apache.cactus.eclipse.ui.UpdateAction">
> </action>
> </objectContribution>
> </extension>
>
> why should I use "adaptable="true""?and what's the useful of
> "adaptable"? could anyone help me?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to add an Item to a popmenu?
Next Topic:Open Source Software Research
Goto Forum:
  


Current Time: Fri Apr 26 13:33:30 GMT 2024

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

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

Back to the top