Page 1 of 1

oxygen 11: adding contextual menu in "outline" toolbar

Posted: Tue Nov 17, 2009 10:23 pm
by guna@ebscohost.com
Hi,
I have a requirement to have a contextual menu item in the "outline" tool bar. The user selects an element in outline toolbar, then do right click and select my contextual menu.

can you guide me,
1)how to add contextual menu item on a outline tool bar?
2)how to trigger corresponding configuration.

Thanks

Re: oxygen 11: adding contextual menu in "outline" toolbar

Posted: Wed Nov 18, 2009 11:19 am
by sorin_ristache
Hello,

Do you edit XML documents in Author mode or in Text mode? In Author mode you can configure custom actions in the document type that corresponds to the edited document but such an action can be added in the current version only to the toolbar of the editor or to the contextual menu of the editor (see Author tab of the dialog for editing a document type). We will consider enhancing the configuration of a custom action in Author mode for allowing it to be added to the contextual menu of the Outline view.


Regards,
Sorin

Re: oxygen 11: adding contextual menu in "outline" toolbar

Posted: Thu Feb 11, 2010 5:30 pm
by Radu
Hi Guna,

In Oxygen 11.2 you will be able to overwrite two customization methods in the ExtensionsBundle

Code: Select all


createAuthorBreadCrumbCustomizer()
and

Code: Select all


createAuthorOutlineCustomizer()
This will give you access to the pop-up menus available on the Author breadcrumb and outline tree.

You will also have an AuthorOutlineAccess to get access to the selected nodes.

Regards,
Radu

Re: oxygen 11: adding contextual menu in "outline" toolbar

Posted: Thu Feb 11, 2010 10:09 pm
by guna@ebscohost.com
can you provide a sample code?

Re: oxygen 11: adding contextual menu in "outline" toolbar

Posted: Fri Feb 12, 2010 9:32 am
by Radu
Hi,

Sample code will be found in the Author SDK Simple Documentation Framework when Oxygen 11.2 will be released (at the end of March).

Regards,
Radu