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 » 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
Joined: Mon May 09, 2011 11:54 am

Re: Dropdown-Toolbar-Button

Post by patrick » Mon May 11, 2015 1:35 pm

Edit: In an Oxygen Workspace Plugin

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

Re: Dropdown-Toolbar-Button

Post by Radu » 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/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
Site Admin
Posts: 248
Joined: Mon May 09, 2016 9:37 am

Re: Dropdown-Toolbar-Button

Post by sorin_carbunaru » 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

Post Reply