Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Paolo F Cantoni on October 03, 2006, 08:13:17 pm

Title: Source Directories and UML Packages
Post by: Paolo F Cantoni on October 03, 2006, 08:13:17 pm
In another topic (Packages, Namespaces & groupings  (http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=suggestions;action=display;num=1159930170) I propose that one way out of the UML package being a namespace and not a folder is to provide "Grouping Only" packages below (and above) the Namespace packages.

With platform specific languages that are namespace based (such as C++, C# etc), this means that there is often an enclosing package.

At present, when you select such a package in the browser and request to Import Source Directory, the dialog retains a "sticky" value form the last time it was run.

My suggestion is to utilise the Filename attribute of the enclosing package.  If there is a value there that parses to a directory, then Import Source Directory would take the value it found there as the Root Directory for the import.  This could be controlled by a check box on the dialog
  • Take Root Directory from package Filename[/b][/font].

    Thoughts?  Votes?

    Paolo
    [size=0]©2006 Paolo Cantoni, -Semantica-[/size]
Title: Re: Source Directories and UML Packages
Post by: Paolo F Cantoni on November 05, 2007, 11:41:36 pm
[size=13]Packages, Namespaces & groupings[/size] (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.pl?board=suggestions;action=display;num=1159930170;start=0#4) has additional, related information.

Paolo
Title: Re: Source Directories and UML Packages
Post by: «Midnight» on November 06, 2007, 03:53:18 am
Yes! Certainly add my vote.

This is YA good implementation effect of the Grouping Package concept.

David