Dropdown-Toolbar-Button

Post here questions and problems related to oXygen frameworks/document types.
patrick
Posts: 96

Dropdown-Toolbar-Button

Mon May 11, 2015 1:35 pm

Hi,

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

Best regards
Patrick
patrick
Posts: 96

Re: Dropdown-Toolbar-Button

Mon May 11, 2015 1:35 pm

Edit: In an Oxygen Workspace Plugin
Radu
Posts: 5090

Re: Dropdown-Toolbar-Button

Mon May 11, 2015 3:04 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
sorin_carbunaru
Site Admin
Posts: 111

Re: Dropdown-Toolbar-Button

Thu Apr 06, 2017 12:17 pm

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests