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 07:13 Go to next message
Eclipse User
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 07:29 Go to previous message
Eclipse User
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 07:29 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25931
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?
Previous Topic:How to add an Item to a popmenu?
Next Topic:Open Source Software Research
Goto Forum:
  


Current Time: Mon Jul 28 22:44:57 EDT 2014

Powered by FUDForum. Page generated in 0.01696 seconds