Page 1 of 1

Attributes panel for oxygen applet

Posted: Fri Nov 25, 2011 4:57 pm
by maxim.kovalev
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.

Re: Attributes panel for oxygen applet

Posted: Fri Nov 25, 2011 5:28 pm
by Radu
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