In oxygen panel has attributes that are returned as Jcomponent.
authorComponent.getAdditionalEditHelper(AuthorComponentProvider.ATTRIBUTES_PANEL_ID)
Can I somehow change it, add a button for example.
Attributes panel for oxygen applet
Re: Attributes panel for oxygen applet
Hi Maxim,
We do not have API to contribute toolbar buttons to the returned attributes panel.
You can either create an additional toolbar and place it together with the Attributes component in a common panel or taking into account that the returned Attributes panel is a Swing component, iterate through it and force make modifications in the Swing components hierarchy.
I would suggest the first approach as being more robust to future changes.
Regards,
Radu
We do not have API to contribute toolbar buttons to the returned attributes panel.
You can either create an additional toolbar and place it together with the Attributes component in a common panel or taking into account that the returned Attributes panel is a Swing component, iterate through it and force make modifications in the Swing components hierarchy.
I would suggest the first approach as being more robust to future changes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com