[udig-devel] question answered

Jody Garnett jgarnett at refractions.net
Tue Mar 4 18:20:55 PST 2008


Question unanswered; still trying to figure out how to set it up so 
PolygonTools2 can both select existing polygons and create new ones....
You know it is probably a case of just support both behaviors and making 
sure only one applies at a time... time to review the sample code.

Jody

> Jody Garnett wrote:
>>> selectGeometryBehaviour.setCreateGeomOnNoneSelect(ShapeType.POLYGON);
>> This method no longer exists on SelectFeatureBehaviour; I am not 
>> quite sure what functionality replaces it. If anyone was paying 
>> attention when Jesse did this work I need some help figuring out what 
>> happened.
> Ended up answering my own question; this parameter was basically 
> needed *every* time you used a select geometry or feature behavior 
> behavior - and as such
> it was moved to the constructor.
>
> Jody
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list