Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] update schema

Changing the schema is not done all that often; so it may require a real whack to get uDig to notice. I would normally issue a catalog event (http://udig.refractions.net/confluence/display/DEV/3+Tracking+Changes) but I am not sure if the CatalogView is paying attention we may need to ensure it is listening correctly.

-- 
Jody Garnett

On Thursday, 12 May 2011 at 12:34 AM, ERNANDES, Fabrice wrote:

Hi !

 

I have got an application based on udig with my own datastore which map my data model,  and I would like to know how I can update schema of a layer in my datastore programmatically … I am looking at the method “updateSchema()” of datastore class

 

For example, my layer have 3 attributes which map 3 attributes of my model, I need to add or remove an attribute of that model programmatically (because user update my model from a view)…and I want my TableView of features in udig take in account of that change.

 

Thanks for your help

 

Fabrice

 

 

 

_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users


Back to the top