How to us Parameterized Class from the UML stencil?

L

Lev Reznikov

Hi All,

I am designing a small feature to a SW system in Visio 2007 Pro using UML.
I have ran into a problem, when trying to describe C++ template/Java
generics by Parameterized Class:
Let us assume that I am trying to add an attribute of type
java.util.ArrayList<String> to a class named Class1.
So I created a Parameterized Class named ArrayList with a Template Parameter
named E of unspecified type. When I added a new attribute to my Class1, in
the Type combo box all existing in my model classes were listed - but
ArrayList.

What am I doing wrong and how should I be doing it? :)

Thanking you all in advance for your replies.

-- Best regards,
 
M

Maitre Bart

I have the same problem too.
Did you find any solution yet?



Lev Reznikov wrote:

How to us Parameterized Class from the UML stencil?
27-Oct-09

Hi All,

I am designing a small feature to a SW system in Visio 2007 Pro using UML.
I have ran into a problem, when trying to describe C++ template/Java
generics by Parameterized Class:
Let us assume that I am trying to add an attribute of type
java.util.ArrayList<String> to a class named Class1.
So I created a Parameterized Class named ArrayList with a Template Parameter
named E of unspecified type. When I added a new attribute to my Class1, in
the Type combo box all existing in my model classes were listed - but
ArrayList.

What am I doing wrong and how should I be doing it? :)

Thanking you all in advance for your replies.

-- Best regards,

Previous Posts In This Thread:

How to us Parameterized Class from the UML stencil?
Hi All,

I am designing a small feature to a SW system in Visio 2007 Pro using UML.
I have ran into a problem, when trying to describe C++ template/Java
generics by Parameterized Class:
Let us assume that I am trying to add an attribute of type
java.util.ArrayList<String> to a class named Class1.
So I created a Parameterized Class named ArrayList with a Template Parameter
named E of unspecified type. When I added a new attribute to my Class1, in
the Type combo box all existing in my model classes were listed - but
ArrayList.

What am I doing wrong and how should I be doing it? :)

Thanking you all in advance for your replies.

-- Best regards,


Submitted via EggHeadCafe - Software Developer Portal of Choice
Using VSTO Add-In To Automate Frequent Excel 2007 Tasks
http://www.eggheadcafe.com/tutorial...60-39a86ccab5d6/using-vsto-addin-to-auto.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top