예제 #1
0
    def save(self, save_func):
        """Store the show- properties *before* the width/height properties,
		otherwise the classes will unintentionally grow due to "visible"
		attributes or operations."""

        self.save_property(save_func, "show-attributes")
        self.save_property(save_func, "show-operations")
        ClassifierItem.save(self, save_func)
예제 #2
0
파일: klass.py 프로젝트: dieterv/gaphor
 def save(self, save_func):
     """Store the show- properties *before* the width/height properties,
     otherwise the classes will unintentionally grow due to "visible"
     attributes or operations."""
     
     self.save_property(save_func, 'show-attributes')
     self.save_property(save_func, 'show-operations')
     ClassifierItem.save(self, save_func)