Changeset 43

Show
Ignore:
Timestamp:
02/20/02 05:08:05 (7 years ago)
Author:
arjanmol
Message:

Added a buch of relationships.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gaphor/ChangeLog

    r40 r43  
     12002-02-20  Arjan Molenaar  <arjanmolenaar@hetnet.nl> 
     2 
     3        * utils/genUML.py: Changed to make use of the aggregation attribute. 
     4        * gaphor/UML/Element.py: Backup the internal dictionary if no 
     5        presentations are attached to the item. 
     6        * gaphor/UML/__init__.py: Added changes for new genUML.py script. 
     7        * gaphor/diagram/diagramitems.defs:  
     8        * gaphor/ui/diagramview.py: 
     9        Added items for Dependency, Include, Extend and Realization. 
     10        * gaphor/diagram/diagramitems.override:  
     11        * gaphor/diagram/generalization.[ch]: Rely on Relationship. 
     12        * gaphor/diagram/model-element.c: Added rules for Dependency and 
     13        Realization. 
     14        * gaphor/diagram/relationship.[ch]: made it work. 
     15        * gaphor/diagram/usecase.c: Added rules for Include and Extend. 
     16        * gaphor/diagram/extend.c:  
     17        * gaphor/diagram/extend.h:  
     18        * gaphor/diagram/include.c:  
     19        * gaphor/diagram/include.h:  
     20        * gaphor/diagram/realization.c:  
     21        * gaphor/diagram/realization.h:  
     22        * gaphor/diagram/dependency.c:  
     23        * gaphor/diagram/dependency.h: 
     24        New files. 
     25        * gaphor/diagram/itemstorage.py: Storage rules for new elements. 
     26 
    1272002-02-14  Arjan Molenaar  <arjanmolenaar@hetnet.nl> 
    228 
  • trunk/gaphor/doc/relationships.txt

    r42 r43  
    4242  case we should look for another existing assocaition or create a new one) 
    4343-  
     44 
     45Note: 
     46 
     47Some kinds of relations are repreesented by a line in a diagram, but have no 
     48direct mapping to some model element (e.g. a comment line which connects a 
     49comment to a model element). How do we determine if such a relation needs 
     50to be removed or can stay? For comment lines we could check all representations 
     51of the comment and see if one of the annotedElement's is in a diagram. If the 
     52count is 2 or more, the relationship should remain intact. 
     53