Re[nbui] freshing a Node's Actions
northm <[email protected]> Thu, 4 Sep 2008 10:02:16 -0700 (PDT)
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
I have run into a situation where the actions I wish to be availble on a node are dependent on other things going on in my code. Node.getActions(bool) will provide the correct Action[] for what I want, but I can't seem to get the Node to update its self by calling the method again. I'm guessing it's a firePropertyChange, but which property? NodeListener seems to only deal with the addition and removal of children, and object deletion. The node is in the same explorer-style view, regardless of the state of my program, so using the context boolean argument of Node.getActions doesn't seem to be relevant. Any help or ideas would be appreciated! -- View this message in context: http://www.nabble.com/Refreshing-a-Node%27s-Actions-tp19315183p19315183.html Sent from the Netbeans - UI mailing list archive at Nabble.com.