[platform-dev] Context Aware action gets enabled, but does nothing sometimes

  • From: "Mvek" < >
  • To:
  • Subject: [platform-dev] Context Aware action gets enabled, but does nothing sometimes
  • Date: Thu, 26 Apr 2012 22:47:51 +0000

I have strange behaviour of the context aware action. I created it via a 
wizard, I choose Conditionally enabled and wrote into the combobox 
"VyrokNode", which is my node class (inherits from AbstractNode).

The action is correctly enabled and functions, when I choose some VyrokNode 
in explorer view. The problem is, it is enabled also when I open only 
Properties window (without any ExplorerView, so it is empty), or some other 
windows, I created... But this time, clicking the button (in toolbar or menu) 
does nothing, it even does not call the actionPerformed() method, so I cannot 
debug it and find out, what is in the context really...

Any ideas, why does this happen?






[platform-dev] Context Aware action gets enabled, but does nothing sometimes

Mvek 04/26/2012

[platform-dev] Context Aware action gets enabled, but does nothing sometimes

Mvek 04/26/2012

Project Features

Project Links

About this Project

Platform was started in November 2009, is owned by Antonin Nebuzelsky, and has 138 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close