Page 1 of 1

Dropdown-Toolbar-Button

Posted: Mon May 11, 2015 1:35 pm
by patrick
Hi,

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

Best regards
Patrick

Re: Dropdown-Toolbar-Button

Posted: Mon May 11, 2015 1:35 pm
by patrick
Edit: In an Oxygen Workspace Plugin

Re: Dropdown-Toolbar-Button

Posted: Mon May 11, 2015 3:04 pm
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/jidesoft/swing/JideSplitButton.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

Re: Dropdown-Toolbar-Button

Posted: Thu Apr 06, 2017 12:17 pm
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