Home » Modeling » UML2 » Problems with creating simple UML2 class diagram
| |
Re: Problems with creating simple UML2 class diagram [message #478003 is a reply to message #478002] |
Mon, 24 November 2008 15:11 |
Milan Milanovich Messages: 201 Registered: July 2009 |
Senior Member |
|
|
Yes Kenn, that's right. Thank you.
--
Milan
Kenn Hussey wrote:
> Milan,
> I assume you're using the UML2 Tools component? If so, please direct your
> question to the eclipse.modeling.mdt.uml2tools newsgroup (copied).
> Kenn
> "Milan Milanovich" <milanmilanovich@yahoo.com> wrote in message
> news:2f918f1afe7fde060fa0e23cd164112c$1@www.eclipse.org...
>> Hi,
>>
>> I need to create simple UML2 diagram with Eclipse Ganymede UML2 (2.2.1)
>> plug-in. But, I have two problems. First, I cannot find Date and Double as
>> Primitive types ? Second, when I draw association between two classes, I
>> cannot change names of their association ends ?
>>
>> --
>> Thx, Milan
>>
|
|
| |
Re: Problems with creating simple UML2 class diagram [message #478006 is a reply to message #478005] |
Mon, 24 November 2008 20:47 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hello Milan,
> First, I cannot find Date and Double as Primitive types ?
There are at least two libraries, where Date and Double are defined, - Java
Primitive Types and XML Primitive Types. In order to import them into your
diagram:
1) Load required library (e.g. JavaPrimitiveTypes):
Invoke 'Load resource' action from the context menu of the diagram, choose
library file, e.g. org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
2) Create element import element using ElementImport palette entry. In the
label-inplace type JavaPrimitiveTypes::Date or use code-assist.
> Second, when I draw association
> between two classes, I cannot change names of their association ends ?
You can change a name of an association end directly in the diagram editor
using label-inplaces, source/target ends are names 'src' and 'dst' by default.
Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the properties
view.
Please, let me know if you have any other questions or problems.
Best wishes,
Tanya.
>
> --
> Thx, Milan
|
|
|
Re: Problems with creating simple UML2 class diagram [message #478009 is a reply to message #478006] |
Mon, 24 November 2008 22:17 |
Milan Milanovich Messages: 201 Registered: July 2009 |
Senior Member |
|
|
Dear Tanya,
thank you on answer.
Tatiana Fesenko wrote:
> Hello Milan,
>> First, I cannot find Date and Double as Primitive types ?
> There are at least two libraries, where Date and Double are defined, - Java
> Primitive Types and XML Primitive Types. In order to import them into your
> diagram:
> 1) Load required library (e.g. JavaPrimitiveTypes):
> Invoke 'Load resource' action from the context menu of the diagram, choose
> library file, e.g.
org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
I tried this, but I just have org.eclipse.uml2.uml.resources.jar in my
eclipse/plugins directory, I cannot access JavaPrimitiveType.library.uml
file in "Load resource" way ?
> 2) Create element import element using ElementImport palette entry. In the
> label-inplace type JavaPrimitiveTypes::Date or use code-assist.
>> Second, when I draw association
>> between two classes, I cannot change names of their association ends ?
> You can change a name of an association end directly in the diagram editor
> using label-inplaces, source/target ends are names 'src' and 'dst' by
default.
> Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the
properties
> view.
O.K. I found it.
--
Best regards, Milan
> Please, let me know if you have any other questions or problems.
> Best wishes,
> Tanya.
>>
>> --
>> Thx, Milan
|
|
| | |
Re: Problems with creating simple UML2 class diagram [message #478012 is a reply to message #478009] |
Mon, 24 November 2008 22:47 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Milan,
'Load Resource...' dialog processes URIs, thus just type 'platform:/plugin/org.eclipse.uml2.uml.resources/libraries/E corePrimitiveTypes.library.uml'
string and that will help.
Tanya.
> Dear Tanya,
>
> thank you on answer.
>
> Tatiana Fesenko wrote:
>
>> Hello Milan,
>>
>>> First, I cannot find Date and Double as Primitive types ?
>>>
>> There are at least two libraries, where Date and Double are defined,
>> - Java
>> Primitive Types and XML Primitive Types. In order to import them into
>> your
>> diagram:
>> 1) Load required library (e.g. JavaPrimitiveTypes):
>> Invoke 'Load resource' action from the context menu of the diagram,
>> choose
>> library file, e.g.
> org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
>
> I tried this, but I just have org.eclipse.uml2.uml.resources.jar in my
> eclipse/plugins directory, I cannot access
> JavaPrimitiveType.library.uml file in "Load resource" way ?
>
>> 2) Create element import element using ElementImport palette entry.
>> In the label-inplace type JavaPrimitiveTypes::Date or use
>> code-assist.
>>
>>> Second, when I draw association
>>> between two classes, I cannot change names of their association ends
>>> ?
>> You can change a name of an association end directly in the diagram
>> editor using label-inplaces, source/target ends are names 'src' and
>> 'dst' by
>>
> default.
>
>> Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the
>>
> properties
>
>> view.
>>
> O.K. I found it.
>
> --
> Best regards, Milan
>> Please, let me know if you have any other questions or problems.
>>
>> Best wishes,
>> Tanya.
>>> --
>>> Thx, Milan
|
|
| | | | | | | | | | |
Re: Problems with creating simple UML2 class diagram [message #627220 is a reply to message #478002] |
Mon, 24 November 2008 15:11 |
Milan Milanovich Messages: 201 Registered: July 2009 |
Senior Member |
|
|
Yes Kenn, that's right. Thank you.
--
Milan
Kenn Hussey wrote:
> Milan,
> I assume you're using the UML2 Tools component? If so, please direct your
> question to the eclipse.modeling.mdt.uml2tools newsgroup (copied).
> Kenn
> "Milan Milanovich" <milanmilanovich@yahoo.com> wrote in message
> news:2f918f1afe7fde060fa0e23cd164112c$1@www.eclipse.org...
>> Hi,
>>
>> I need to create simple UML2 diagram with Eclipse Ganymede UML2 (2.2.1)
>> plug-in. But, I have two problems. First, I cannot find Date and Double as
>> Primitive types ? Second, when I draw association between two classes, I
>> cannot change names of their association ends ?
>>
>> --
>> Thx, Milan
>>
|
|
| |
Re: Problems with creating simple UML2 class diagram [message #627223 is a reply to message #478005] |
Mon, 24 November 2008 20:47 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hello Milan,
> First, I cannot find Date and Double as Primitive types ?
There are at least two libraries, where Date and Double are defined, - Java
Primitive Types and XML Primitive Types. In order to import them into your
diagram:
1) Load required library (e.g. JavaPrimitiveTypes):
Invoke 'Load resource' action from the context menu of the diagram, choose
library file, e.g. org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
2) Create element import element using ElementImport palette entry. In the
label-inplace type JavaPrimitiveTypes::Date or use code-assist.
> Second, when I draw association
> between two classes, I cannot change names of their association ends ?
You can change a name of an association end directly in the diagram editor
using label-inplaces, source/target ends are names 'src' and 'dst' by default.
Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the properties
view.
Please, let me know if you have any other questions or problems.
Best wishes,
Tanya.
>
> --
> Thx, Milan
|
|
|
Re: Problems with creating simple UML2 class diagram [message #627226 is a reply to message #478006] |
Mon, 24 November 2008 22:17 |
Milan Milanovich Messages: 201 Registered: July 2009 |
Senior Member |
|
|
Dear Tanya,
thank you on answer.
Tatiana Fesenko wrote:
> Hello Milan,
>> First, I cannot find Date and Double as Primitive types ?
> There are at least two libraries, where Date and Double are defined, - Java
> Primitive Types and XML Primitive Types. In order to import them into your
> diagram:
> 1) Load required library (e.g. JavaPrimitiveTypes):
> Invoke 'Load resource' action from the context menu of the diagram, choose
> library file, e.g.
org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
I tried this, but I just have org.eclipse.uml2.uml.resources.jar in my
eclipse/plugins directory, I cannot access JavaPrimitiveType.library.uml
file in "Load resource" way ?
> 2) Create element import element using ElementImport palette entry. In the
> label-inplace type JavaPrimitiveTypes::Date or use code-assist.
>> Second, when I draw association
>> between two classes, I cannot change names of their association ends ?
> You can change a name of an association end directly in the diagram editor
> using label-inplaces, source/target ends are names 'src' and 'dst' by
default.
> Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the
properties
> view.
O.K. I found it.
--
Best regards, Milan
> Please, let me know if you have any other questions or problems.
> Best wishes,
> Tanya.
>>
>> --
>> Thx, Milan
|
|
| | |
Re: Problems with creating simple UML2 class diagram [message #627229 is a reply to message #478009] |
Mon, 24 November 2008 22:47 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Milan,
'Load Resource...' dialog processes URIs, thus just type 'platform:/plugin/org.eclipse.uml2.uml.resources/libraries/E corePrimitiveTypes.library.uml'
string and that will help.
Tanya.
> Dear Tanya,
>
> thank you on answer.
>
> Tatiana Fesenko wrote:
>
>> Hello Milan,
>>
>>> First, I cannot find Date and Double as Primitive types ?
>>>
>> There are at least two libraries, where Date and Double are defined,
>> - Java
>> Primitive Types and XML Primitive Types. In order to import them into
>> your
>> diagram:
>> 1) Load required library (e.g. JavaPrimitiveTypes):
>> Invoke 'Load resource' action from the context menu of the diagram,
>> choose
>> library file, e.g.
> org.eclipse.uml2.uml.resources/libraries/JavaPrimitiveType.l ibrary.uml
>
> I tried this, but I just have org.eclipse.uml2.uml.resources.jar in my
> eclipse/plugins directory, I cannot access
> JavaPrimitiveType.library.uml file in "Load resource" way ?
>
>> 2) Create element import element using ElementImport palette entry.
>> In the label-inplace type JavaPrimitiveTypes::Date or use
>> code-assist.
>>
>>> Second, when I draw association
>>> between two classes, I cannot change names of their association ends
>>> ?
>> You can change a name of an association end directly in the diagram
>> editor using label-inplaces, source/target ends are names 'src' and
>> 'dst' by
>>
> default.
>
>> Alternatively, you can edit them in SourceEnd/TargetEnd tabs of the
>>
> properties
>
>> view.
>>
> O.K. I found it.
>
> --
> Best regards, Milan
>> Please, let me know if you have any other questions or problems.
>>
>> Best wishes,
>> Tanya.
>>> --
>>> Thx, Milan
|
|
| | | | | | | | | |
Goto Forum:
Current Time: Fri Sep 20 08:12:26 GMT 2024
Powered by FUDForum. Page generated in 0.07639 seconds
|