Home » Modeling » UML2 Tools » Use of UML Primitive Types
Use of UML Primitive Types [message #474422] |
Wed, 28 May 2008 06:03  |
Eclipse User |
|
|
|
Hello all,
i have a problem cooncerning the usage of uml primitive types in my class
model. I've created it with the uml2 class-diagram edior. I modeled a clas
with only one attribute, which i want to type as UMLPrimitive String. But i
had no access to the UMLPrimitiveTypes. I remember, that i had used these
types in a class model a long time ago, but know, there are not available.
I think this depends on the missing Import of the UMLMetamodel profile or
something similiar, but i'm not quite sure whether a) this is correct and b)
if oit is, how to solve the problem.
Thanks for any hint.
Timothy
|
|
| |
Re: Use of UML Primitive Types [message #474424 is a reply to message #474422] |
Wed, 28 May 2008 11:59   |
Eclipse User |
|
|
|
Hi Timothy,
UMLPrimitiveTypes library should be loaded by default. Boolean, String, UnlimitedNatural
and Integer are be imported automatically in every newly-created diagram.They
are shown in the left-top of the diagram in the secondary diagram node. Compartment
for element imports is collapsed by default now(it was expanded before).
But if one expand it, these four elements should be displayed.
Timothy, if compartment is expanded, is there anything in it? If not, is
there anything in error log? Could you please also tell me what UML2Tools
build do you use?
Thank you,
Tatiana.
> Hello all,
>
> i have a problem cooncerning the usage of uml primitive types in my
> class model. I've created it with the uml2 class-diagram edior. I
> modeled a clas with only one attribute, which i want to type as
> UMLPrimitive String. But i had no access to the UMLPrimitiveTypes. I
> remember, that i had used these types in a class model a long time
> ago, but know, there are not available.
>
> I think this depends on the missing Import of the UMLMetamodel profile
> or something similiar, but i'm not quite sure whether a) this is
> correct and b) if oit is, how to solve the problem.
>
> Thanks for any hint.
> Timothy
|
|
|
Re: Use of UML Primitive Types [message #474426 is a reply to message #474424] |
Thu, 29 May 2008 05:40   |
Eclipse User |
|
|
|
Hi all,
thanks for reply. I've reload the Profile by "Load Ressource" functionality
like Felix said.
One questions concering pathmaps:
I load the resource by adding
pathmap://UML_LIBRARY/UMLPrimitiveTypes.library.uml
IMHO, that points to a special plugin (org.eclipse.uml2.resources). But, if
i want to load an own type library, e.g. C# Types or something else,
how to locate this? Or even better: to what directory does pathmap refer? To
the current workspace?
Thanks a lot. Bit by bit my startproblems with this wonderful but
complicated emf/ecore are melting :)
Timothy
"Tatiana Fesenko" <tatiana.fesenko@borland.com> schrieb im Newsbeitrag
news:6785c5264cb38ca8f03a6e7b9bf@news.eclipse.org...
> Hi Timothy,
>
> UMLPrimitiveTypes library should be loaded by default. Boolean, String,
> UnlimitedNatural and Integer are be imported automatically in every
> newly-created diagram.They are shown in the left-top of the diagram in the
> secondary diagram node. Compartment for element imports is collapsed by
> default now(it was expanded before). But if one expand it, these four
> elements should be displayed. Timothy, if compartment is expanded, is
> there anything in it? If not, is there anything in error log? Could you
> please also tell me what UML2Tools build do you use?
> Thank you,
> Tatiana.
>
>> Hello all,
>>
>> i have a problem cooncerning the usage of uml primitive types in my
>> class model. I've created it with the uml2 class-diagram edior. I
>> modeled a clas with only one attribute, which i want to type as
>> UMLPrimitive String. But i had no access to the UMLPrimitiveTypes. I
>> remember, that i had used these types in a class model a long time
>> ago, but know, there are not available.
>>
>> I think this depends on the missing Import of the UMLMetamodel profile
>> or something similiar, but i'm not quite sure whether a) this is
>> correct and b) if oit is, how to solve the problem.
>>
>> Thanks for any hint.
>> Timothy
>
>
|
|
|
Re: Use of UML Primitive Types [message #474432 is a reply to message #474426] |
Thu, 05 June 2008 11:16  |
Eclipse User |
|
|
|
Hello Everybody!
IŽm having almost the same doubt...
I have my own PrimitiveTypes and I want to use just them when I compile my
Plug-in.
I have an file called uml.ecore. This uml.ecore has a class called
TypedElemet with a property called type. I want to fill this property type
with only my PrimitiveTypes.
What should I do?!?
Thanks,
Raphael
|
|
|
Re: Use of UML Primitive Types [message #619829 is a reply to message #474422] |
Wed, 28 May 2008 08:36  |
Eclipse User |
|
|
|
Timothy Marc wrote:
> Hello all,
>
> i have a problem cooncerning the usage of uml primitive types in my class
> model. I've created it with the uml2 class-diagram edior. I modeled a clas
> with only one attribute, which i want to type as UMLPrimitive String. But i
> had no access to the UMLPrimitiveTypes. I remember, that i had used these
> types in a class model a long time ago, but know, there are not available.
>
> I think this depends on the missing Import of the UMLMetamodel profile or
> something similiar, but i'm not quite sure whether a) this is correct and b)
> if oit is, how to solve the problem.
>
> Thanks for any hint.
> Timothy
You can load the model library that contains the primitive types by doing
Load Resource... pathmap:// and a path I don't remember any more.
However you could also create your own primitive types that would simply have
the same "meaning" as the UML ones. In the tree editor you can just do "UML
Editor -> generate -> UMP Primitive Types, which will do the work for you.
Felix
|
|
|
Re: Use of UML Primitive Types [message #619831 is a reply to message #474422] |
Wed, 28 May 2008 11:59  |
Eclipse User |
|
|
|
Hi Timothy,
UMLPrimitiveTypes library should be loaded by default. Boolean, String, UnlimitedNatural
and Integer are be imported automatically in every newly-created diagram.They
are shown in the left-top of the diagram in the secondary diagram node. Compartment
for element imports is collapsed by default now(it was expanded before).
But if one expand it, these four elements should be displayed.
Timothy, if compartment is expanded, is there anything in it? If not, is
there anything in error log? Could you please also tell me what UML2Tools
build do you use?
Thank you,
Tatiana.
> Hello all,
>
> i have a problem cooncerning the usage of uml primitive types in my
> class model. I've created it with the uml2 class-diagram edior. I
> modeled a clas with only one attribute, which i want to type as
> UMLPrimitive String. But i had no access to the UMLPrimitiveTypes. I
> remember, that i had used these types in a class model a long time
> ago, but know, there are not available.
>
> I think this depends on the missing Import of the UMLMetamodel profile
> or something similiar, but i'm not quite sure whether a) this is
> correct and b) if oit is, how to solve the problem.
>
> Thanks for any hint.
> Timothy
|
|
|
Re: Use of UML Primitive Types [message #619835 is a reply to message #474424] |
Thu, 29 May 2008 05:40  |
Eclipse User |
|
|
|
Hi all,
thanks for reply. I've reload the Profile by "Load Ressource" functionality
like Felix said.
One questions concering pathmaps:
I load the resource by adding
pathmap://UML_LIBRARY/UMLPrimitiveTypes.library.uml
IMHO, that points to a special plugin (org.eclipse.uml2.resources). But, if
i want to load an own type library, e.g. C# Types or something else,
how to locate this? Or even better: to what directory does pathmap refer? To
the current workspace?
Thanks a lot. Bit by bit my startproblems with this wonderful but
complicated emf/ecore are melting :)
Timothy
"Tatiana Fesenko" <tatiana.fesenko@borland.com> schrieb im Newsbeitrag
news:6785c5264cb38ca8f03a6e7b9bf@news.eclipse.org...
> Hi Timothy,
>
> UMLPrimitiveTypes library should be loaded by default. Boolean, String,
> UnlimitedNatural and Integer are be imported automatically in every
> newly-created diagram.They are shown in the left-top of the diagram in the
> secondary diagram node. Compartment for element imports is collapsed by
> default now(it was expanded before). But if one expand it, these four
> elements should be displayed. Timothy, if compartment is expanded, is
> there anything in it? If not, is there anything in error log? Could you
> please also tell me what UML2Tools build do you use?
> Thank you,
> Tatiana.
>
>> Hello all,
>>
>> i have a problem cooncerning the usage of uml primitive types in my
>> class model. I've created it with the uml2 class-diagram edior. I
>> modeled a clas with only one attribute, which i want to type as
>> UMLPrimitive String. But i had no access to the UMLPrimitiveTypes. I
>> remember, that i had used these types in a class model a long time
>> ago, but know, there are not available.
>>
>> I think this depends on the missing Import of the UMLMetamodel profile
>> or something similiar, but i'm not quite sure whether a) this is
>> correct and b) if oit is, how to solve the problem.
>>
>> Thanks for any hint.
>> Timothy
>
>
|
|
|
Re: Use of UML Primitive Types [message #619971 is a reply to message #474426] |
Thu, 05 June 2008 11:16  |
Eclipse User |
|
|
|
Hello Everybody!
IŽm having almost the same doubt...
I have my own PrimitiveTypes and I want to use just them when I compile my
Plug-in.
I have an file called uml.ecore. This uml.ecore has a class called
TypedElemet with a property called type. I want to fill this property type
with only my PrimitiveTypes.
What should I do?!?
Thanks,
Raphael
|
|
|
Goto Forum:
Current Time: Wed Jul 23 11:23:00 EDT 2025
Powered by FUDForum. Page generated in 0.08592 seconds
|