lp:~gtg-contributors/gtg/plugin-api-refactor
This branch contains a refactorization of the API for plugins to the GTG GTK+ user interface. Revisions 841 & onwards are relevant.
Because it is a refactorization, it probably breaks things. Note the "experimental" status.
Some of the goals of this branch:
* Provide a class (GtgPlugin), to be subclassed by plugins, that provides defaults for all *required* plugin behaviours. [done]
* Any object (UI element or anything else) that plugins might want to interface with will subclass PluginAPI. [done]
* The ViewManager manages views. The PluginManager manages plugins. [done]
* PluginAPI doesn't duplicate the new DBus client code, which plugins are welcome to use directly. [not done]
* PluginAPI provides simplified access to GTG functions, that isn't already used elsewhere in GTG.gtk. [not done]
* Use signals where possible to trigger plugin actions. [not done]
Comments, suggestions and testing are all very welcome.
- Get this branch:
- bzr branch lp:~gtg-contributors/gtg/plugin-api-refactor
Branch merges
Related bugs
Bug #529520: gtg-refactor : plugin API is broken and should follow the refactorisation | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 842. By Paul Natsuo Kishimoto
-
* Edit the 'Hellow World' plugin to provide a model of the desired API.
* PluginAPI now subclassed by TaskEditor, TaskBrowser.
* Lists of plugin APIs no longer kept; only the PluginEngine has a list
of plugins.
* New class GtgPlugin to be subclassed by actual plugins.
* Some reference and argument changes to avoid passing things around
unnecessarily. - 839. By Bryce Harrington
-
Merge branch by Volodymyr Floreskul to move due date when start date changed
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~gtg/gtg/old-trunk