|
Re: Access to UML Primitive Types [message #476315 is a reply to message #476309] |
Wed, 11 February 2009 11:23 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hello John,
You can choose primitive type String, because UML Primitive types library
was loaded.
BTW, UML Primitive types library is loaded by default on diagram creation.
I guess, you accidentally unloaded this library; there are many ways to unload
the library - delete all primitive type imports from Secondary Diagram Node,
for example.
So, what you can do now in order to allow String, Interger and other pritimitive
types to be chosen?
Just load it:
1) Call 'Load Resource...' action from the context menu of the diagram,
2) Then type ''platform:/plugin/org.eclipse.uml2.uml.resources/libraries/ UMLPrimitiveTypes.library.uml'
at the opened dialog.
Best wishes,
Tanya.
> I have a project that contains two UML Models, each of which has a
> single class diagram. As far as I can recall I created both models and
> class diagrams in the same way but when I add a property to a class in
> one diagram I can choose the UML primitive type String as the type of
> the property but in the other one I can't, I am limited to things
> defined in that class diagram.
>
> What controls access to the UML primitive types?
>
> John Colgrave
>
|
|
|
Re: Access to UML Primitive Types [message #623597 is a reply to message #476309] |
Wed, 11 February 2009 11:23 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hello John,
You can choose primitive type String, because UML Primitive types library
was loaded.
BTW, UML Primitive types library is loaded by default on diagram creation.
I guess, you accidentally unloaded this library; there are many ways to unload
the library - delete all primitive type imports from Secondary Diagram Node,
for example.
So, what you can do now in order to allow String, Interger and other pritimitive
types to be chosen?
Just load it:
1) Call 'Load Resource...' action from the context menu of the diagram,
2) Then type ''platform:/plugin/org.eclipse.uml2.uml.resources/libraries/ UMLPrimitiveTypes.library.uml'
at the opened dialog.
Best wishes,
Tanya.
> I have a project that contains two UML Models, each of which has a
> single class diagram. As far as I can recall I created both models and
> class diagrams in the same way but when I add a property to a class in
> one diagram I can choose the UML primitive type String as the type of
> the property but in the other one I can't, I am limited to things
> defined in that class diagram.
>
> What controls access to the UML primitive types?
>
> John Colgrave
>
|
|
|
Powered by
FUDForum. Page generated in 0.03097 seconds