Hi Marty,

have you a "<PackageImport> UML Primitive Types" in your Model 
automatically generated in the outline?

Try to open the .uml file of your profile and validate from it.
To do this: When openned your uml model, select the <Profile> element, 
click on 'UML Editor' menu and choose 'Validate'.
Normally, you will not have this error.

Regards,
Laura.



[email protected] a écrit :
> Hi,
>
> I created a model and a class A. In A I have to define a property , 
> "property1" and its type, for example Integer.
> So I imported UML Primitive Type and I define the "Propery1" type 
> selecting Type -> UMLPrimitiveType::Integer. I saved it and it makes 
> me OK.
>
> so...
>
> I click on "validate the model" button, it makes me: *The model is not 
> valid*. Rason: Root diagnostic
>   /A PackageImport is needed from modelloDprova or one of its parents 
> to UMLPrimitiveTypes, because of the Property relation between Class1 
> and Integer/ .
>
>  --->
>
> I don't know if, even in this case, to know if my model is correct or 
> not, it's enough to save and not click on "validate the model" button!
>
> I'm very sorry, I'm boring but it's importat that I create a correct 
> diagram!
> Thanx a lot
> Marty
>
>
>
> 2009/5/11 <[email protected] 
> <mailto:[email protected]>>
>
>     Don't worry about those errors, I have also these warnings/errors with
>     my profiles but then the profile is absolutely correct.
>
>     regards,
>     laura.
>
>     [email protected]
>     <mailto:[email protected]> a écrit :
>     > Thanx a lot,
>     >
>     > I created a profile in this way: New -> UML Model with TOPCASED ->
>     > profile template ->Finish.
>     > So I create 1 stereotype that extended the Metaclass Class. I
>     save it
>     > and it makes me OK.
>     >
>     > ....but I see on the top on the right side, that there is a button
>     > "Validate the model"! I cliked it but it makes me error!!
>     >
>     > Maybe it's enough to save to know if my profile is correct or not..
>     >
>     >
>     > Thanx a million!
>     > Marty
>     >
>     > 2009/5/11 <[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >
>     >     Hello,
>     >
>     >     did you create the metaclass to define the type of elements
>     you can
>     >     apply your stereotypes?
>     >     If you have your stereotype and the metaclass, don't forget
>     to click
>     >     'OK' in the dialog asking you to 'Define your profile'.
>     Normally, this
>     >     action is enough to know if your profile is correct or not.
>     >
>     >     regards,
>     >     Laura.
>     >
>     >
>     >
>     >     [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>> a écrit :
>     >     > Hi,
>     >     > I am using version: 2.5.0, I have to create a new profile
>     with some
>     >     > new stereotypes.
>     >     > I create a new profile, but when I create a new stereotype
>     and click
>     >     > on validate model it makes me an error..
>     >     > My question is.. when I create a new profile I don't have to
>     >     click on
>     >     > validate model to know if my profile is correct???
>     >     >
>     >     > Thanx a lot
>     >     > Marty
>     >     >
>     >    
>     ------------------------------------------------------------------------
>     >     >
>     >     > _______________________________________________
>     >     > Topcased-users mailing list
>     >     > [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     >
>     http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>     >
>     >
>     >     _______________________________________________
>     >     Topcased-users mailing list
>     >     [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Topcased-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>
>     _______________________________________________
>     Topcased-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Topcased-users mailing list
> [email protected]
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to