root/gaphor/branches/gaphor-0.12/TODO

Revision 1830, 3.7 kB (checked in by wrobe..@pld-linux.org, 1 year ago)

- fixed stereotype is determined by stereotype diagram item class

attribute, no longer exist

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 For 0.10.0 and later:
2 ---------------------
3
4  === zope.component-3.4dev_r72749-py2.4.egg ===
5  - bug in zope.component package: in zope.component.globalregistry.py zope.testing is included.  This package is only a dependency for the [test] setting. zope.testing is not mandatory.
6  Use a more recent version
7
8  - add more property pages.
9     - Stereotype
10
11  - Load / save regression testing
12    !!! Create some example diagrams,
13
14  - using stereotypes
15  - reimplement the mechanism that adds already existing relationships to the
16    diagram if an item is copied to that diagram.
17
18  - components and stuff
19
20  - lot's of tests are dependent on a decently initialized main window.
21    There is no need for these actions to depend on a main window, they only
22    need a gaphas.View instance.
23
24  - Use actions only for action definitions. use Events for notification
25    between actions.
26     * use zope.component.event for centralized event notification.
27  
28 - Copy/Paste for diagramitems
29   - How to do a copy/paste? shallow copy or deep copy? -> just create a diagram
30     item item referening the same model element or also copy the model element?
31     I think we should stick with shallow copy for now.
32
33  - namedelement.py: from NamedElement
34  - items.tex: describe:
35     - __uml__
36     - __stereotype__
37
38  - In some cases (like when editing attributes) Enter should be used to
39    complete the edit action.
40
41 Older (long term ;) todo items:
42 -------------------------------
43
44 - At this point we have three event systems:
45    2. Actions - used for (pseudo) menu actions (artifical actions are triggered
46                 some times (e.g. to notify about changes in the Undo Manager)
47                 works with string based notifiers.
48    3. Zope - fairly optimized, works with interfaces and objects for a
49              change.
50
51    Actions work fine, for menu actions. Gaphor specific and should work
52    with the GTK+ menu manager classes.
53    Zope classes are quite optimized. However, mainly provides the same
54    functionality as Actions, but not as fine grained.
55    Use zope.component.events for all notification!
56
57 - Add meta data (such as text alignment) to the model file (add a meta:
58   namespace?)
59 .
60 - Fix namespace relations between Lifeline and Interaction and Message and
61   Interaction
62
63 - disable actions when editing.
64
65 - write really good test cases for undo functionality. Have some already.
66
67 - An option that shows the selected item (in the namespace view) in a diagram.
68
69 - Stereotype export and import function. Allow to export packages and import
70   them into other models.
71
72 - How to figure out if a module exists without loading it? Solved by setuptools
73
74 - Exporting diagrams to UML XMI (work in progress),
75   code, images (SVG/png), etc. - make a plugin!
76
77 - Create a good algorithm for placement of lines and maybe nodes too.
78
79 - Automatically draw relations when an item is DND-ed from the tree-view
80   to the diagram.
81
82 #- Stereotypes: check documentation page 581 (597 absolute). Fixed. An extra
83    association has been created between Stereotype and Class, Interface and
84    Package.
85
86 Diagram Items
87 =============
88 Gaphor does not need to support *all* diagram types, but at least some
89 functinality should be provided for those.
90
91 - Sequence diagram:
92   . Life line
93   . different message types
94   . Interaction
95
96 UI
97 --
98 >I would like to see
99 > some logic to align diagrams like Visio does, it's probably hard to do
100 > correct though. Also Visio has a very nice feature for bending lines in
101 > 90 degree bends by holding down shift, something like that would be very
102 > nice in Gaphor
103
104 - Lineup selected elements vertically, horizontally in context menu
105
106 - I also intend to "merge" lines (as is often used for generalizations: a
107   line with one arrow, which splits into two lines, one for each subclass)
108
109 - The text editing also needs a facelift.
110
Note: See TracBrowser for help on using the browser.