List Info

Thread: svnPropertyTypes extension point




svnPropertyTypes extension point
user name
2006-11-10 15:54:07
Hello Mark, 

	I have tried as much as I could but I couldn't make it work
so
far. I picked up the example from there but it didn't work.
See my
plugin.xml bellow:

<?xml version="1.0"
encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
	<extension
        
point="org.tigris.subversion.subclipse.core.svnProperty
Types">
	    <svnPropertyTypes
			type="String"
			fileOrFolder="both"
			allowRecurse = "false"
			name="olavo">
			<description>
				olavo
			</description>
	    </svnPropertyTypes>
	</extension>
</plugin>

Do you have an idea of what could be missing?

	Thanks,

========================================
Olavo Lira

-----Original Message-----
From: Mark Phippard [mailto:markpsoftlanding.com] 
Sent: Friday, November 10, 2006 8:48 AM
To: devsubclipse.tigris.org
Subject: Re: [Subclipse-dev] svnPropertyTypes extension
point

"LIRA Olavo" <Olavo.LIRAgemalto.com> wrote on
11/09/2006 07:01:37 PM:

>    I'm newbie in the list and I would like to make a
plug-in to
> extend the properties in the combo-box for the
"set properties", could
> anyone give me an example of how will look like the
"plugin.xml" to
> include my own custom pre-define properties?
> 
> I tried something like this, but it didn't work...
> 
> <?xml version="1.0"
encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
> 
>    <extension
>
point="org.tigris.subversion.subclipse.core.svnProperty
Types">
>       <category
>             name="MyProperties"
>             id="com.test.svn.properties">
>       </category>
>       <svnPropertyTypes
>             type="String"
>             fileOrFolder="folder"
>             allowRecurse = "false"
>             name="myProperty">
>          <description>
> myProperty 
> True / False
>    </description>
>       </svnPropertyTypes>
>    </extension>
> 
> </plugin>

Use the UI plugin as your model.  I am not sure what that
<category> 
section is, that could be causing problems?  Also your
example would
only 
show up when adding a property to a folder. 

Here is an example boolean property from the UI plugin:

<svnPropertyTypes
      type="Boolean"
      fileOrFolder="folder"
      allowRecurse = "false"
      name="bugtraq:number">
      <description>
bugtraq:number
Set to &quot;true&quot; if your issue tracking
system has issues which
can 
only be numbers.
      </description>
</svnPropertyTypes> 

Mark

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubclipse.tigris.org
For additional commands, e-mail: dev-helpsubclipse.tigris.org

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubclipse.tigris.org
For additional commands, e-mail: dev-helpsubclipse.tigris.org

svnPropertyTypes extension point
user name
2006-11-10 15:56:20
"LIRA Olavo" <Olavo.LIRAgemalto.com> wrote on
11/10/2006 10:54:07 AM:

>    I have tried as much as I could but I couldn't make
it work so
> far. I picked up the example from there but it didn't
work. See my
> plugin.xml bellow:
> 
> <?xml version="1.0"
encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
>    <extension
>         
point="org.tigris.subversion.subclipse.core.svnProperty
Types">
>        <svnPropertyTypes
>          type="String"
>          fileOrFolder="both"
>          allowRecurse = "false"
>          name="olavo">
>          <description>
>             olavo
>          </description>
>        </svnPropertyTypes>
>    </extension>
> </plugin>
> 
> Do you have an idea of what could be missing?

I wonder if you have to do something to force your plugin to
load?  Maybe 
Eclipse just isn't loading it?  Also, did you set the
Subclipse plugins in 
the dependencies?

Mark


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubclipse.tigris.org
For additional commands, e-mail: dev-helpsubclipse.tigris.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )