Add Popup Items in the Contextual menu in the Data Source Explorer

Post here questions and problems related to oXygen frameworks/document types.
Gerardo
Posts: 8
Joined: Thu Jun 17, 2021 11:58 pm

Add Popup Items in the Contextual menu in the Data Source Explorer

Post by Gerardo » Tue Jun 22, 2021 6:33 am

Hi there,

Is it possible to add a Popup Item in the contextual menu in the Data Source Explorer?

image.png
image.png (38.01 KiB) Viewed 166 times

Thanks

Gerardo

Radu
Posts: 7538
Joined: Fri Jul 09, 2004 5:18 pm

Re: Add Popup Items in the Contextual menu in the Data Source Explorer

Post by Radu » Tue Jun 22, 2021 8:50 am

Hi Gerardo,

I'm afraid we do not have any API available to add contextual menu items to the Data Source Explorer view. Also we do not have API to retrieve a list of selected resources in the same view.
Can you give us more details about your use case?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Gerardo
Posts: 8
Joined: Thu Jun 17, 2021 11:58 pm

Re: Add Popup Items in the Contextual menu in the Data Source Explorer

Post by Gerardo » Tue Jun 29, 2021 8:16 pm

Hi Radu,

We were just considering to let users call some functionality to modify dita files from the Data Source Explorer view, but now that we already know that it is not possible we will reconsider our options. Probably inserting the menu in the project view's contextual menu will be our best bet.

Thanks!

Gerardo

Radu
Posts: 7538
Joined: Fri Jul 09, 2004 5:18 pm

Re: Add Popup Items in the Contextual menu in the Data Source Explorer

Post by Radu » Wed Jun 30, 2021 7:14 am

Hi Gerardo,

The Oxygen project does not allow adding remote data source connections to it.
How about if you add those actions to a toolbar, contextual or a main menu and make them available when a DITA topic is opened?
Or did you want the actions to be batch, to be able to execute them on multiple DITA files without opening them?
What kind of data source connection are you using in our Data Source Explorer view? Is it Webdav or Sharepoint, Exist DB or something else?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply