<p>Super!, Just a minor thing, all the remove methods are called removeXXX but the add methods are AddToXXX wouldn't it be more consistent to have either AddXXX or RemoveFromXXX?<br>
Ciao and thanks a lot</p>
<div class="gmail_quote">On Dec 20, 2011 6:55 PM, "Alexander Bruy" <<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
finally I push all changes to master. This include:<br>
- new methods to add/remove plugins from Raster menu<br>
addPluginToRasterMenu(QString, QAction)<br>
removePluginRasterMenu(QString, QAction)<br>
- new methods to add/remove plugin buttons from Raster toolbar<br>
addRasterToolBarIcon(QAction)<br>
removeRasterToolBarIcon(QAction)<br>
- new Vector menu and toolbar<br>
- new methods to add/remove plugins from Vector menu<br>
addPluginToVectorMenu(QString, QAction)<br>
removePluginVectorMenu(QString, QAction)<br>
- new methods to add/remove plugin buttons from Vector toolbar<br>
addVectorToolBarIcon(QAction)<br>
removeVectorToolBarIcon(QAction)<br>
- new Database toolbar<br>
- new methods to add/remove plugin buttons from Database toolbar<br>
addDatabaseToolBarIcon(QAction)<br>
removeDatabaseToolBarIcon(QAction)<br>
- core plugins reorganized and moved under appropriate menus/toolbars.<br>
There are some issues with plugins that match to several categories, e.g.<br>
Zonal Statistics plugin. Also some plugins still remain in Plugins menu.<br>
- introduced new plugin metadata entry "category". This entry currently used<br>
only in informational purposes to inform user where he should look<br>
for plugin.<br>
Placing plugin under appropriate menu remains developer task and can be done<br>
with new methods described above. If no category specified Python plugin will<br>
get default one - "Plugins".<br>
Also updated QgsPlugin class to handle this new metadata, so C++ plugins<br>
must be updated and recompiled (looks like an API break)<br>
- updated Plugin Manager to display hint based on "category" metadata<br>
<br>
Hope, I didn't break anything.<br>
<br>
--<br>
Alexander Bruy<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>