Attributes panel for oxygen applet

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 35
Joined: Fri Nov 11, 2011 10:34 am

Attributes panel for oxygen applet

Post by maxim.kovalev » Fri Nov 25, 2011 4:57 pm

In oxygen panel has attributes that are returned as Jcomponent.
Can I somehow change it, add a button for example.

Posts: 7331
Joined: Fri Jul 09, 2004 5:18 pm

Re: Attributes panel for oxygen applet

Post by Radu » Fri Nov 25, 2011 5:28 pm

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.

Radu Coravu
<oXygen/> XML Editor

Post Reply