Jacques,
that is the most lazy approach, but the most effective to quickly use
topcased to produce UML diagrams with non primitive data types. The correct
approach is to create the profile for all the JDK data types, in the case of
java, but that would take a lot of time to do.

Raphael
In terms of importing datatypes from a JAVA jar file, or from a C++ lib
file, etc, into the model resources, should topcased really do it? As far as
i known topcased uses eclipse UML2 system to do this management, and this
should be a feature of the eclipse UML2(Tools?)

Cheers,
André Lopes


On Thu, Dec 4, 2008 at 8:57 PM, Raphael FAUDOU <
[EMAIL PROTECTED]> wrote:

>  Hi Jacques,
>
> this works but is too long if you want to use many types of the JDK...
> I think we need to give the user the possibility to import types directly
> coming from any .jar library (containing jave sources).
> regards
> raphaël
>
>
> Jacques LESCOT a écrit :
>
> What about creating a DataType and referencing an existing Java class ...
>
> André Lopes a écrit :
>
> Hi Jacques,
>
> I am aware of that, but, correct me if i'm wrong, that is to import only
> primitive types:
>
>    1. *UML*: Boolean,Integer,String,Unlimited Natural
>    2. *Package*: choose types to import from the *ECorePrimitiveTypes*, from
>    the *JavaPrimitiveTypes *and from the *UMLPrimitiveTypes* libraries.
>
>
> What i really want is to import/use to/in my project the UML definition of
> some JDK Java Classes. Do i have to download the classes source code and
> generate the *UML from JAVA.* I think i'm missing something, in my opinion
> this should be one key feature on this tool because of it's capabilities to
> generate *UML from JAVA* and to generate *JAVA from UML*.
>
> Cheers,
> André Lopes
>
>
>
> On Thu, Dec 4, 2008 at 4:29 PM, Jacques LESCOT <[EMAIL PROTECTED]> wrote:
>
>
>
>   You have the choice between two ways to use the predefined Primitive Types
> in UML :
>
>    1. In the Outline, " * Right Click > Load Resource ...* " and then
>    enter "*pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml*"
>    2. Select a Package element in the Outline and then " *Right Click >
>    Import Primitive Types ... * "
>
> Regards,
> Jacques
>
> André Lopes a écrit :
>
> Hi all,
>
> I'm trying to create a class diagram were i have some properties that are
> Java objects, such as Vector, String, Integer, Object, etc, so when adding a
> property to a class, i have to define it's type, for instance, as
> java.lang.String or as java.util.Vector, depending on the property i'm
> defining. My problem starts here, i can't find any library that defines all
> these objects in the same way that the UML file
> JavaPrimitiveTypes.library.uml define the java primitive types(int,
> char,boolean,...). So how can i use java objects to define properties type
> in a TopCased class diagram?
>
> Cheers,
> André Lopes
>
>
>
> ------------------------------
>
> _______________________________________________
> Topcased-users mailing [EMAIL 
> PROTECTED]://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>
> --
>   [image: Anyware Technologies] <http://www.anyware-tech.com> 
> <http://www.anyware-tech.com>    *Jacques
> LESCOT*
>  Project Manager
> Eclipse Technical [EMAIL PROTECTED]
> Standard : +33(0)5 61 00 52 90
> Direct : +33(0)5 61 00 06 60
> Mobile : +33(0)6 74 49 23 34
> Fax : +33(0)5 61 00 51 46   *Anyware Technologies
> * Lake Park
> ZAC de l'Hers - Allée du Lac
> BP 87216
> 31672 Labège Cedex
> Francewww.anyware-tech.com      This message and any attachments (the 
> "Message")
> are confidential and intended solely for the addressees.
> Any unauthorized modification, edition, use or dissemination is prohibited.
>
> Neither Anyware Technologies nor its headquarters Wavecom shall be liable
> for the Message if altered, changed, falsified or edited, diffused without
> authorization.
>
> _______________________________________________
> Topcased-users mailing [EMAIL 
> PROTECTED]://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>        ------------------------------
>
> _______________________________________________
> Topcased-users mailing [EMAIL 
> PROTECTED]://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>
> --
>   [image: Anyware Technologies] <http://www.anyware-tech.com>    *Jacques
> LESCOT*
>  Project Manager
> Eclipse Technical Expert
> [EMAIL PROTECTED]
> Standard : +33(0)5 61 00 52 90
> Direct : +33(0)5 61 00 06 60
> Mobile : +33(0)6 74 49 23 34
> Fax : +33(0)5 61 00 51 46   *Anyware Technologies
> * Lake Park
> ZAC de l'Hers - Allée du Lac
> BP 87216
> 31672 Labège Cedex
> France
> www.anyware-tech.com      This message and any attachments (the "Message")
> are confidential and intended solely for the addressees.
> Any unauthorized modification, edition, use or dissemination is prohibited.
>
> Neither Anyware Technologies nor its headquarters Wavecom shall be liable
> for the Message if altered, changed, falsified or edited, diffused without
> authorization.
>
> ------------------------------
>
> _______________________________________________
> Topcased-users mailing [EMAIL 
> PROTECTED]://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
>
> --
>
>     [image: Image Signature IOC] <http://www.atosorigin.fr/> *Raphaël
> FAUDOU*
>  *Responsable cellule Innovation / bureau méthodes *
> *Head of Innovation & Method Definition *
> Atos Origin Midi Pyrénnées
>
> Tel     : +33 (0)5 61 39 75 35
> Tel     : +33 (0)6 10 53 50 44
> Mail   : [EMAIL PROTECTED]   Immeuble AEROPOLE 4 5 avenue
> Albert DURAND - 31700 BLAGNAC
>
>   P Avant d'imprimer cet e-mail, pensez à l'environnement. Ce message et
> les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses
> destinataires. Il peut également être protégé par le secret professionnel.
> Si vous recevez ce message par erreur, merci d'en avertir immédiatement
> l'expéditeur et de le détruire. L'intégrité du message ne pouvant être
> assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être
> recherchée quant au contenu de ce message. Bien que les meilleurs efforts
> soient faits pour maintenir cette transmission exempte de tout virus,
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
> P Please consider your environmental responsibility before printing this
> e-mail. This e-mail and the documents attached are confidential and
> intended solely for the addressee; it may also be privileged. If you receive
> this e-mail in error, please notify the sender immediately and destroy it.
> As its integrity cannot be secured on the Internet, the Atos Origin group
> liability cannot be triggered for the message content. Although the sender
> endeavours to maintain a computer virus-free network, the sender does not
> warrant that this transmission is virus-free and will not be liable for any
> damages resulting from any virus transmitted.
>
> _______________________________________________
> 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