On Jan 5, 2009, at 3:27 PM, Thomas Mortagne wrote:
How do you get the different macro categories
("Presentstion",
"Development") ? Is it an enum or each macro can define its category
with a custom String in its descriptor ? And in that case is "Code"
means you know the content will be code because it's a macro of
category "Development" or just "Code" is the label for any macro
(in
that case I would prefer "Content") ?
I think we need to add the notion of category in the rendering for
macros with the ability to specify several categories for a given macro.
Thanks
-Vincent
On Mon, Jan 5, 2009 at 3:11 PM, Jean-Vincent Drean <jv(a)xwiki.com>
wrote:
> Hi,
>
> I've made a mockup for the macro dialog in the WYSIWYG editor :
>
http://incubator.myxwiki.org/xwiki/bin/download/Mockups/WebHome/MacroDialog…
>
> I've assumed that using a tree to browse macros was :
> - Scalable.
> - Consistent with link dialogs.
> Shout if you think about another way of displaying them.
>
> Note that the second dialog is generated dynamically and will vary a
> lot according to macros needs (see 2 bis), its layout must remain as
> simple as possible.
>
> Here's my +1.
>
> JV.