Eclipse+Jython Problem

Thomas nex8 at gmx.net
Sun May 25 21:41:08 EDT 2003


Hello!

I am using Eclipse´s SWT/Jface library in a Jython program and
experience the following problem:

The class WizardPage should be derived. Although the constructor of
WizardPage is protected, it should be possible to call it with
WizardPage.__init__(self, str). But I always get the error:
"WizardPage has no attribute __init__ ".
I also have a similar problem with the Wizard class, which is also not
directly usable in Jython.

from org.eclipse.jface.wizard import WizardPage

class DPage(WizardPage):
	
	def __init__(self, str):
		WizardPage.__init__(self, str)


Any ideas?

Thomas




More information about the Python-list mailing list