In my application, I have written a CSS extension to render a set of attributes 
on a single node in a very specialized way that cannot be done in pure CSS.  
The CSS extension returns the desired textual representation as intended.

These attributes will be edited when a user double clicks on content returned 
from the CSS extension.  I'm having trouble figuring out how to bind mouse 
clicks to the StyleValue returned by a CSS extension.

The only way that I've seen as a possibility is to replace the CSS extension 
with a ComponentFactory.  This ComponentFactory would have to return a JLabel 
that has a mouse listener registered that opens the custom dialog on a double 
click.

Is there a more straightforward approach that I'm overlooking?

Cheers,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070605/1aea06f2/attachment.htm
 

Reply via email to