3 Aug
2009
3 Aug
'09
5:10 p.m.
On Aug 3, 2009, at 6:27 PM, Asiri Rathnayake wrote:
While the "every plugin could declare to be in a given category" is easily casted to the Macro world, I am not sure how to translate the "every plugin is free to add new categories".
How about like this:
* Each macro has a getCategory() method.
I guess you mean Macro Descriptor and not Macro. [snip] Idea: Macro Descriptors could use a Configuration component to get the default category for the macro, thus overridable in xwiki's configuration mechanism (xwiki.properties, XWikiPreferences, etc). -Vincent