2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Resolver Hook with isInstance()

  • Subject: [QF-Test] Resolver Hook with isInstance()
  • From: "Michael Werner" <michael.werner@?.com>
  • Date: Mon, 12 Nov 2007 16:10:25 +0100



I am trying to write a Resolver Hook, in the Form



def getName(obj):


                        return return JButton.getActionCommand()


                        return “TODO: JPanel”


resolvers.addNameResolver("JButtons", getName,"javax.swing.JButton")

resolvers.addNameResolver("JPanel", getName,"javax.swing.JPanel")




But, this does not Work. The Hooks all work, if I use them alone, without the obj.isInstance() condition.


Has anyone an idea what is wrong there?







Michael Werner  




Ericsson GmbH



Gerberstr. 33

71522, Backnang, Germany,



Email  : Michael.Werner@?.com


Ericsson GmbH.
Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 33012. Geschäftsführer: Dr. Stefan Kindt, Carsten Ahrens. Aufsichtsratsvorsitzender: Jef Keustermans


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.