Author Topic: Source Directories and UML Packages  (Read 2285 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Source Directories and UML Packages
« on: October 03, 2006, 08:13:17 pm »
In another topic (Packages, Namespaces & groupings 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]
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Source Directories and UML Packages
« Reply #1 on: November 05, 2007, 11:41:36 pm »
[size=13]Packages, Namespaces & groupings[/size] has additional, related information.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Source Directories and UML Packages
« Reply #2 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
No, you can't have it!