Hei Carl, I think it is possible, but i am also not sure. If you start with parsing what happens in the "save selected datasets" function you may find a way. The layer would probably be the currently selected one.
You find the corresponding plugin when you use one of the language properties files and look for the name of the function. I.e. search for the string "Save Selected Datasets" in the file jump_en.properties to obtain the path of the corresponding plugin class. Stefan Carl Grönniger (entera) wrote: > i've totally forgotten my question :-) > > is it possible to save the layer with a simple function from a plugin? ( > layer.saveall() or something like that?) > if you are editing the schema and attributes of a layer, the plugin > should save the changes, not save by clicking mouse-menu... > > carl > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > ------------------------------------------------------------------------ > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel