Dropdown-Toolbar-Button

Post here questions and problems related to oXygen frameworks/document types.
patrick
Posts: 96
Joined: Mon May 09, 2011 11:54 am

Dropdown-Toolbar-Button

Post by patrick »

Hi,

can you tell me how to generate an Toolbar-Button like your Validation-Button with Dropdown-Capabilities?

Best regards
Patrick
patrick
Posts: 96
Joined: Mon May 09, 2011 11:54 am

Re: Dropdown-Toolbar-Button

Post by patrick »

Edit: In an Oxygen Workspace Plugin
Radu
Posts: 8992
Joined: Fri Jul 09, 2004 5:18 pm

Re: Dropdown-Toolbar-Button

Post by Radu »

Hi Patrik,

We don't yet have such API but we'll consider adding it. I will update this forum post when we do.
But, our menu buttons extend (and add some improvements) this base class com.jidesoft.swing.JideSplitButton:

http://www.jidesoft.com/javadoc/com/jid ... utton.html

so you could use that directly. In order to compile the plugin code you will need the JIDE JAR library in the classpath, you should find it in the Oxygen lib folder.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
sorin_carbunaru
Posts: 397
Joined: Mon May 09, 2016 9:37 am

Re: Dropdown-Toolbar-Button

Post by sorin_carbunaru »

Hello,

oXygen 19.0 has just been released and it now has a ro.sync.exml.workspace.api.standalone.ui.SplitMenuButton component available in the API, that is part button and part menu.

All the best,
Sorin Carbunaru
oXygen XML
Post Reply