/[ascend]/trunk/pygtk/canvas/lineinstance.py
ViewVC logotype

Contents of /trunk/pygtk/canvas/lineinstance.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1968 - (show annotations) (download) (as text)
Mon Dec 1 08:13:10 2008 UTC (14 years, 6 months ago) by jpye
File MIME type: text/x-python
File size: 355 byte(s)
Adding lines to export, but not done yet.
1
2 # This class is not yet used, but should be.
3
4 class LineInstance:
5 """
6 Class representation of the ASCEND 'ARE_THE_SAME' relationship
7 signified by a ConnectorLine on the BlockCanvas.
8 """
9
10 def __init__(self):
11 self.fromblock = None
12 self.toblock = None
13
14 def __str__(self):
15 s += ("\t%s, %s ARE_THE_SAME;\n" % (li.fromblock.name, li.toblock.name))

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22