Re: Strongly typed list

2009-08-18 Thread هاني الموصلي
I think i found a good managable solution. Actually it is trivial but may help (I used it now). When i wnat to access the list then i assign the object which i want to access to a variable ex: 1)x=AutomataBranch() 2)x=self.cfgAutomata[i] The first line is used only to make the IDE knows that x is

Strongly typed list

2009-08-17 Thread هاني الموصلي
Hello, I am using eclips for python and i am facing a problem. I have many classes with many properties and want a list of objects from one of my declared classes. The problem is:When i am accessing any item from the list, the IDE does not know it's type because in python we do not declare the vari