[Uml-devel] [Bug 55243] packages should replace folders

Oliver Kellogg Oliver.Kellogg at t-online.de
Thu Oct 16 22:54:02 UTC 2003


Luis De la Parra Blum wrote:
>
> I think we have to think of something that acts as a namespace...
> the UMLDoc should have a "package" named _global_ and all UMLObjects should
>  be 
> children ( directly or indirectly ) of this thing.
> The only object which has the UMLDoc as parent is this global package.
> Inside the _global_ you can define classes or other packages, etc.
> and exactly this structure/hierarchy is what I'd like to see in the listview.
>

That's almost what packages do in the current cvs-umbrello (I
recently made them nestable like folders), minus the "global"
package. (Anyway, this global namespace can exist just in
concept; perhaps we don't need a real representation in the
listview.)

> maybe we need two "views" . one which shows the object hierarchy ( a tree of 
> "namespaces" ( a class is in the namespace of its package, an operation in 
> the namespace of its class, and a parameter on the namespace of its operation 
> )
> The diagrams would have to go on a separate folder, at the same level with
>  the 
> _global_ folder

Interesting idea.
The way it currently works is, packages are always namespaces
in the programming language sense, and folders are just for
visually grouping together (or hiding away) diagrams, UML
objects, etc.; packages and folders can be intermixed.

>
> we could have another view where the users can create folders and accomodate 
> classes and diagrams together as they like.
>

For diagrams, no problem.
For classes, this requires the user to keep his mind straight
that although a class appears in one folder, it might be the
child of another package.

--Oliver





More information about the umbrello-devel mailing list