Changeset 1099

Show
Ignore:
Timestamp:
12/07/06 03:13:56 (2 years ago)
Author:
arjanmol
Message:

more TODO updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/branches/new-canvas/TODO

    r1098 r1099  
    11 
     2For 0.9.0: 
     3---------- 
    24 - text position of folded InterfaceItem (should be below circle) 
    35 - extra margin around operations in ClassItem 
    46 - join/fork node text editing 
    57 - text placement for action nodes. 
     8 - implement ObjectNode and flow items 
     9 
     10For 0.10.0 and later: 
     11--------------------- 
    612 
    713 - Undo functionality 
     
    2329   between actions. 
    2430 
    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__ 
    3236 
    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... 
     37Older (long term ;) todo items: 
     38------------------------------- 
    4539 
    4640- At this point we have three event systems: 
    47    1. GObject - used by GTK+, should be restricted to the GUI 
    4841   2. Actions - used for (pseudo) menu actions (artifical actions are triggered 
    4942                some times (e.g. to notify about changes in the Undo Manager) 
     
    5245             change. 
    5346 
    54    GObject will stay as long as we use GTK+. Restrict it's influence to the GUI. 
    55    (to much management overhead) 
    5647   Actions work fine, for menu actions. Gaphor specific and should work 
    5748   with the GTK+ menu manager classes. 
    5849   Zope classes are quite optimized. However, mainly provides the same 
    5950   functionality as Actions, but not as fine grained. 
    60  
    61 - Check association removal when connected to a class. 
    6251 
    6352- Add meta data (such as text alignment) to the model file (add a meta: 
     
    7059  Should use meta-classes for registration too (define __abstract__ or\something to prevent registration). 
    7160 
    72 #- Store application state: 
    73   #- last opened files 
    74   #- open/closed status of diagram toolbox 
    75   #- window size 
    76   #- reset tool option 
    77  
    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  
    8161- disable actions when editing. 
    8262 
     
    8767- Stereotype export and import function. Allow to export packages and import 
    8868  them into other models. 
    89  
    90 #- Create distinctive icons for Include and Extend relationships (use cases). 
    9169 
    9270- How to figure out if a module exists without loading it? 
     
    122100  Previous conclusion: keep using the gaphor.misc.action code 
    123101 
    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 
    134103  to the diagram. 
    135104 
    136 #- confirmation window when creating a new model. 
    137  
    138 #- Copy/Paste for diagramitems 
     105- Copy/Paste for diagramitems 
    139106  - in order to make copy/paste work, the load/save functions should be 
    140107    generatlised to allow a subset to be saved/loaded (which is needed 
     
    145112    on the canvas and make the uml element visible again. 
    146113 
    147 #- Undo/redo functionality 
    148  
    149 #- Make text selected when starting to edit it: fixed in DiaCanvas2 
     114- Undo/redo functionality 
    150115 
    151116#- Stereotypes: check documentation page 581 (597 absolute). Fixed. An extra 
    152117   association has been created between Stereotype and Class, Interface and 
    153118   Package. 
    154  
    155 #- Set up a plugin architecture. Since the internals of gaphor are pretty 
    156    modular, plugins should not be that hard. I'm very happy with the new one 
    157    it is easy to program, yet powerful (due to the XML description file, which 
    158    allows gaphor to check several dependencies upfront. 
    159119 
    160120Diagram Items 
     
    187147- The text editing also needs a facelift. 
    188148 
    189 #- Alert a user when deleting the last reference to an object (Are you 
    190   sure you want to remove all the selected elements from the model?) 
    191