Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] Sapphire XML editor with Wizard service

Yes, this is possible. You can register a custom action handler for add along with a filter to remove the handlers provided by the system. In your action handler, you get reference to the context model element and can manipulate it as you see fit. To gather user input, you can use a custom wizard or one defined via sapphire.

See gallery sample for examples of custom actions and handlers. See ezbug sample for example of a wizard implemented via sapphire.

Konstantin Komissarchik
Senior Development Manager
Eclipse Tools Group
Oracle

On May 27, 2011, at 12:26, Nagarajan Murugesan <nagarajan.m@xxxxxxxxx> wrote:

> Hi,
> is it possible to use wizards in combination with sapphire XML editor. Example, I have a below xml structure
> 
> -> Root Node
> ...... Item1
> -------------child_node1
> -------------child_node2
> -------------child_node3
> ...... Item2
> -------------child_node1
> -------------child_node2
> -------------child_node3
> 
> In the current master detail editor, using "sapphire.add"  we should be able to add the necessary nodes and configure those. Is it possible to create whole "item1" and its children structure using an wizard? meaning instead of user adding child nodes one by one and configuring each by selecting each of those independently, kind of providing wizard.
> 
> Thanks,
> -Naga
> 


Back to the top