atom feed2 messages in org.netbeans.graph.usershover question
FromSent OnAttachments
David HavrdaApr 20, 2007 1:37 pm 
David KasparApr 22, 2007 8:19 am 
Subject:hover question
From:David Havrda (Dave@Sun.COM)
Date:Apr 20, 2007 1:37:37 pm
List:org.netbeans.graph.users

In order to get the TwoStateHoverProvider to work correctly it appears from the documentation that I need to set the scenes hover provider to the one I register for a widget. However since I have other widgets that I would like to behave as they did before when the default hover was being used I have a problem. It seems as though now the hover has overriden for all of my widgets. Should this be the case? Am I doing something wrong?

Scene:

getActions().addAction(hoverAction);

My widget I want to work as default hover:

getActions().addAction(createObjectHoverAction());

My widget I want to change the color of when hover is happening:

connection.getActions().addAction(hoverAction);

hoverAction is my own provider which implements the TwoStateHoverProvider

-dave