Skip to main content



      Home
Home » Newcomers » Newcomers » Problemes with plugin.xml properties
Problemes with plugin.xml properties [message #248844] Wed, 13 February 2008 10:30 Go to next message
Eclipse UserFriend
Hello,

I am having a hard time undertanding what seems to be a basic concept in
plugin.xml files ...
Some attributes are of the form xxx:yyy and I do not know how it works.

For instance, when using the progress view, one must use the following
syntax :
<view
name="Progress View"
icon="icons/progress.png"
category="org.eclipse.ui"
class="org.eclipse.ui.ExtensionFactory:progressView"
id="org.eclipse.ui.views.ProgressView">
</view>

I also saw an action with the following class :
class=" org.eclipse.ui.internal.actions.ModifyWorkingSetDelegate:fal se "

or here, more complicated, in a workingSet :
elementAdapterClass=" org.eclipse.ui.BasicWorkingSetElementAdapter:org.eclipse.cor e.resources.IResource;adapt=true "

Is there somewhere on eclipse's site an explanation on how this works.
For instance, if I wanted to define my own ExtensionFactory ?
Or what is the consequence for the action class to have the ":false" ?

Is this a general common behavior ?

Any tip would be useful,
Thx in advancce.
Jean
Re: Problemes with plugin.xml properties [message #248944 is a reply to message #248844] Thu, 14 February 2008 01:06 Go to previous messageGo to next message
Eclipse UserFriend
The use of the ':' ties in with the IExecutableExtension interface
as supported by
IConfigurationElement.createExecutableExtension(String). The ';' is
most likely specific to the code supporting that particular
extension point.

http://help.eclipse.org/stable/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/runtime/IExecutableExte nsion.html
http://help.eclipse.org/stable/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/runtime/IConfigurationE lement.html

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Re: Problemes with plugin.xml properties [message #248954 is a reply to message #248944] Thu, 14 February 2008 04:24 Go to previous message
Eclipse UserFriend
Thx a lot.
Jean
Previous Topic:How to automatically build jar files in Eclipse
Next Topic:Number of reported bugs - Eclipse versions
Goto Forum:
  


Current Time: Sat Sep 13 17:24:42 EDT 2025

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

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

Back to the top