Changeset 1099
- Timestamp:
- 12/07/06 03:13:56 (2 years ago)
- Files:
-
- gaphor/branches/new-canvas/TODO (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/branches/new-canvas/TODO
r1098 r1099 1 1 2 For 0.9.0: 3 ---------- 2 4 - text position of folded InterfaceItem (should be below circle) 3 5 - extra margin around operations in ClassItem 4 6 - join/fork node text editing 5 7 - text placement for action nodes. 8 - implement ObjectNode and flow items 9 10 For 0.10.0 and later: 11 --------------------- 6 12 7 13 - Undo functionality … … 23 29 between actions. 24 30 25 ======== stereotypes branch ========= 26 - namedelement.py: from NamedElement 27 - items.tex: describe: 28 - __uml__ 29 - __stereotype__ 30 - __fixed_stereotype__ 31 ===== end of stereotypes branch ===== 31 - namedelement.py: from NamedElement 32 - items.tex: describe: 33 - __uml__ 34 - __stereotype__ 35 - __fixed_stereotype__ 32 36 33 ======= 0.8.0 ======== 34 - load uml2.gaphor and open other file or split flows and undo/redo. 35 exception is raised. seems to be related to diagram item unlinking. 36 37 Traceback (most recent call last): 38 File "build/lib/gaphor/diagram/diagramitem.py", line 163, in disconnect 39 ids = self.__handler_to_id[key] 40 KeyError: (<bound method association.__on_unlink of <gaphor.UML.properties.association object at 0x3034e030>>, <gaphor.UML.uml2.ControlFlow object at 0x3083b150>) 41 42 ======= End of 0.8.0 ======== 43 44 As always, there is much to do... 37 Older (long term ;) todo items: 38 ------------------------------- 45 39 46 40 - At this point we have three event systems: 47 1. GObject - used by GTK+, should be restricted to the GUI48 41 2. Actions - used for (pseudo) menu actions (artifical actions are triggered 49 42 some times (e.g. to notify about changes in the Undo Manager) … … 52 45 change. 53 46 54 GObject will stay as long as we use GTK+. Restrict it's influence to the GUI.55 (to much management overhead)56 47 Actions work fine, for menu actions. Gaphor specific and should work 57 48 with the GTK+ menu manager classes. 58 49 Zope classes are quite optimized. However, mainly provides the same 59 50 functionality as Actions, but not as fine grained. 60 61 - Check association removal when connected to a class.62 51 63 52 - Add meta data (such as text alignment) to the model file (add a meta: … … 70 59 Should use meta-classes for registration too (define __abstract__ or\something to prevent registration). 71 60 72 #- Store application state:73 #- last opened files74 #- open/closed status of diagram toolbox75 #- window size76 #- reset tool option77 78 #- When Stereotype has no submenu items, grey it out. Same goes for "Export"79 menu. This will be handled by the UIManager in the near future.80 81 61 - disable actions when editing. 82 62 … … 87 67 - Stereotype export and import function. Allow to export packages and import 88 68 them into other models. 89 90 #- Create distinctive icons for Include and Extend relationships (use cases).91 69 92 70 - How to figure out if a module exists without loading it? … … 122 100 Previous conclusion: keep using the gaphor.misc.action code 123 101 124 #- Storing last open files or having a quick-list of most important 125 directories or so would be great 126 Problem: the existing <Placeholder> stuff works only on construction time. 127 For this we need a menu that can change during the life of the application. 128 129 #- Make associations look nice with usecases: 130 . No arrows at the end 131 . Disable popup menu for navigability and composition 132 133 #- Automatically draw relations when an item is DND-ed from the tree-view 102 - Automatically draw relations when an item is DND-ed from the tree-view 134 103 to the diagram. 135 104 136 #- confirmation window when creating a new model. 137 138 #- Copy/Paste for diagramitems 105 - Copy/Paste for diagramitems 139 106 - in order to make copy/paste work, the load/save functions should be 140 107 generatlised to allow a subset to be saved/loaded (which is needed … … 145 112 on the canvas and make the uml element visible again. 146 113 147 #- Undo/redo functionality 148 149 #- Make text selected when starting to edit it: fixed in DiaCanvas2 114 - Undo/redo functionality 150 115 151 116 #- Stereotypes: check documentation page 581 (597 absolute). Fixed. An extra 152 117 association has been created between Stereotype and Class, Interface and 153 118 Package. 154 155 #- Set up a plugin architecture. Since the internals of gaphor are pretty156 modular, plugins should not be that hard. I'm very happy with the new one157 it is easy to program, yet powerful (due to the XML description file, which158 allows gaphor to check several dependencies upfront.159 119 160 120 Diagram Items … … 187 147 - The text editing also needs a facelift. 188 148 189 #- Alert a user when deleting the last reference to an object (Are you190 sure you want to remove all the selected elements from the model?)191
