This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to add a new entry into the context menu in our application. I want it to get enabled when a certain condition is met. I have looked up for PropertyTesters and tried to give it a shot. This is what I have come up with.
Everything seems to be fine...but somehow, that menu entry is not coming up at all. Moreover, I am not able to see my 'test' method getting hit.