on insert of an image i need to show a custom swing to add more properties to image

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
vishwavaranasi
Posts: 10
Joined: Fri Feb 28, 2020 4:02 pm

on insert of an image i need to show a custom swing to add more properties to image

Post by vishwavaranasi » Mon May 18, 2020 11:43 am

Hi team ,

we have a requirement where we need to listen a user try to adds an image to xml document, and allows them to edit or some more options by shown a swing component where choose for more options and then insert the image?

is there any listener API available and example to look in?


Thanks,
vishwa

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

Re: on insert of an image i need to show a custom swing to add more properties to image

Post by Radu » Mon May 18, 2020 1:05 pm

Hi,

How exactly does the end user insert an image reference in the XML document? What type of XML vocabulary are you customizing? Is it a vocabulary for which Oxygen already has support like DITA, HTML or DocBook or a custom one?
Why don't you add a custom toolbar action so that all end users would use your action to add the image?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply