Permalink
Commits on Oct 15, 2010
  1. Fixed saving of model on exit.

    committed Oct 15, 2010
Commits on Sep 20, 2010
  1. Added missing layout.xml.

    committed Sep 20, 2010
  2. Fixed merge conflict that somehow made it into the repo.

    Antony N. Pavlov committed with Sep 19, 2010
Commits on Sep 15, 2010
Commits on Sep 14, 2010
  1. Loosened rules on Properties in Namespace view.

    [[#64] state:resolved]
    committed Sep 14, 2010
Commits on Sep 8, 2010
Commits on Sep 7, 2010
  1. The diagram export manager service now uses the FileDialog and

    QuestionDialog classes.
    adamboduch committed Sep 7, 2010
Commits on Sep 6, 2010
Commits on Sep 1, 2010
Commits on Aug 31, 2010
Commits on Aug 30, 2010
  1. Fixed the generalization creation in the pynsource plugin. The

    _create_generalization() method was trying to use an adapter to
    connect the generalization item to the super class and child class
    items.  This was expecting a port parameter.
    
    However, this didn't fix the problem entirely because the generalization
    items were not connected in the diagram.  I changed _create_generalization()
    to use a connect() method instead.  This method is taken from the unit tests.
    This seems to mostly resolve the issue.
    adamboduch committed Aug 30, 2010
Commits on Aug 28, 2010
  1. Only make toolbox items insensitive when no diagrams are displayed.

    [[#63] state:resolved]
    committed Aug 28, 2010
Commits on Aug 27, 2010
  1. Did some general cleanup in parse_file(). Added some documentation, U…

    …sing
    
    better variable names, removed commented-out code, better if-statement.
    adamboduch committed Aug 27, 2010
Commits on Aug 26, 2010
  1. Starting experimenting with a new ProgressGenerator class. This is in…

    …tended
    
    to read a buffer from the input and feed to to the output while yielding
    the progress percentage.
    
    It is just an experiment because it is intended to be generic enough to work
    with several input and output types.  Currently, it needs an open file
    object as input and a SAX parser as output.
    adamboduch committed Aug 26, 2010
  2. Revert "Added a new app property to the Element class. This will retu…

    …rn the"
    
    This reverts commit f384043.
    committed Aug 26, 2010
Commits on Aug 20, 2010
Commits on Aug 19, 2010
  1. Created a generic FileDialog UI class used for saving and opening files.

    This class takes a number of parameters that alter the way it is displayed
    or behaves.
    
    The selection property returns the file selection.  Accessing this property
    is what displays the dialog, tests the response, and returns the file
    selection if any.
    
    The file manager service uses this new class for displaying dialogs.
    adamboduch committed Aug 19, 2010
  2. Added a new app property to the Element class. This will return the

    Gaphor application instance if the element has been bound to a factory.
    If the application instance exists, we can use its component methods
    instead of calling zope.component directly.
    adamboduch committed Aug 19, 2010
Commits on Aug 18, 2010
  1. The pynsource plugin now uses a GTK FileChooserDialog instead of

    a FileSelection dialog.  This is a better widget for all intents
    and purposes.
    
    Fixed an issue with a non-existent execute_button.
    adamboduch committed Aug 18, 2010
  2. Improved the ElementFactory.flush() method by adding some documentation.

    Also removed some manual garbage collection and assertions as they seemed
    to serve no real purpose.
    
    The ElementFactory.lselect() method is used for element retrieval instead
    of wrapping select() in a list instance or accessing _elements directly.
    
    The Gaphor application instance, if supplied, will handle the
    ElementDeleteEvent instead of calling the _element_deleted component
    adapter directly.
    adamboduch committed Aug 18, 2010
  3. Refactored the save() method of the file manager service. The method …

    …name
    
    has changed from _save() to save().
    
    The save() method verifies orphan references in the model before saving.
    This functionality has been moved to its own method, verify_orphans().
    
    The filename validation, which makes sure the filename has a valid
    extension, has also been moved to a separate method - verify_filename().
    
    The save() method has also been cleaned up.  If there is no supplied filename,
    the method fails immediately.  It is no longer wrapped in a large if
    statement.  The try/finally statement has also been removed.
    adamboduch committed Aug 18, 2010
Commits on Aug 17, 2010
  1. Refactored the file manager service load() method. Removed the manual…

    … garbage
    
    collection.  Removed the large try except that wrapped around the entire
    method body.  Cleaned up some variables and expanded the documentation.
    adamboduch committed Aug 17, 2010
  2. Cleaned up the file manager service initialization by adding more

    documentation and using better variable names.  The initialization
    also uses the MAX_RECENT constant.
    
    Fixed the get_filename() method used by the filename property.  It
    wasn't actually returning anything.
    
    Added some documentation to the set_filename() method.
    adamboduch committed Aug 17, 2010
  3. Added a MAX_RECENT constant to the file manager service. This used by

    update_recent_files() instead of a hard-coded integer.
    adamboduch committed Aug 17, 2010