Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] setting a property

Hi,

I want to set a property (in plugin.xml) on a tool so that it only gets
activated on a specific layer.
I found LayerSelectionProperty in package
net.refractions.udig.project.ui.operations, which I think does the job
for me. But the problem is, that I cannot init it with the right
property-values. I do not know the ID of this property-extension.

How is the mapping done from propertyId to the implemented
property-class (is there a catalog available or something). 
Can you give me an example/hint to init the property properly on a
layer?

I tried to figure out how it works on a geometry-property, but I failed
:-(
How is the mapping:
net.refractions.udig.project.ui.GeometryType -->
net.refractions.udig.project.ui.internal.tool.display.GeometryProperty
done?

cheers,
Rudi



Back to the top