Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/arjan/backup/gaphor/trunk/gaphor@467 a8418922-720d-0410-834f-a69b97ada669
  • Loading branch information
amolenaar committed Nov 11, 2004
1 parent d763ee1 commit 41f53ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2004-11-11 Arjan Molenaar <arjanmolenaar@hetnet.nl>

* gaphor/diagram/klass.py: save width/height when
subject.ownedAttribute and subject.ownedOperation change.

2004-11-10 Arjan Molenaar <arjanmolenaar@hetnet.nl>

* data/plugins/xmiexport/__init__.py: Added action with save dialog.
Expand Down
4 changes: 4 additions & 0 deletions gaphor/diagram/klass.py
Expand Up @@ -185,12 +185,16 @@ def on_subject_notify__ownedAttribute(self, subject, pspec=None):
"""
#log.debug('on_subject_notify__ownedAttribute')
# Filter attributes that are connected to an association:
self.preserve_property('width')
self.preserve_property('height')
self.sync_attributes()

def on_subject_notify__ownedOperation(self, subject, pspec=None):
"""Called when the ownedOperation property of our subject changes.
"""
#log.debug('on_subject_notify__ownedOperation')
self.preserve_property('width')
self.preserve_property('height')
self.sync_operations()

# Groupable
Expand Down

0 comments on commit 41f53ee

Please sign in to comment.