Changeset 1053

Show
Ignore:
Timestamp:
10/29/06 09:39:59 (2 years ago)
Author:
wrobell
Message:

- s/setStyle/set_style/
- s/mapUMLClass/map_uml_class/

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/branches/new-canvas/gaphor/diagram/__init__.py

    r1052 r1053  
    7575    Initialize a new diagram item. 
    7676    1. Register UML.Elements by means of the __uml__ attribute (see 
    77        mapUMLClass method). 
     77       map_uml_class method). 
    7878    2. Set items style information. 
    7979 
     
    8484        type.__init__(self, name, bases, data) 
    8585 
    86         self.mapUMLClass(data) 
    87         self.setStyle(data) 
     86        self.map_uml_class(data) 
     87        self.set_style(data) 
    8888 
    8989 
    90     def mapUMLClass(self, data): 
     90    def map_uml_class(self, data): 
    9191        """ 
    9292        Map UML class to diagram item. 
     
    105105 
    106106 
    107     def setStyle(self, data): 
     107    def set_style(self, data): 
    108108        """ 
    109109        Set item style information by merging provided information with