Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Problems with interfaces and associations
Problems with interfaces and associations [message #471772] Wed, 10 October 2007 13:27 Go to next message
Eclipse UserFriend
Originally posted by: tofri.upb.de

Hi,
I try to build a small UML class editor and I only need a subset of the
UML Specification. I use UML2Tools as a draft but now I have two problems:

- the labels of created associations contains the same text in the
textfield of name, src and dest.

- drawing required interface. If I select the tool I can not draw the
"line" between a class and an interface. Providing interfaces works well!

Did anyone have some ideas to solve my problems?
Thanks a lot
Tobias
Re: Problems with interfaces and associations [message #471773 is a reply to message #471772] Thu, 11 October 2007 16:20 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello Tobias,

> - the labels of created associations contains the same text in the
> textfield of name, src and dest.

Check createAssociationName_XXX_Parser() methods in the UMLParserProvider
class.
In UML2Tools, there are different (handcoded) implementation for different
association labels.

> - drawing required interface. If I select the tool I can not draw the
> "line" between a class and an interface. Providing interfaces works
> well!

It is hard to identify the problem without more details.
Checking the log and/or debugging the UsageCreateCommand#doDefaultElementCreation
should probably help,
but there are no manual code written for this case so it is expected
to work in reduced editor.

Regards,
Michael

> Hi,
> I try to build a small UML class editor and I only need a subset of
> the
> UML Specification. I use UML2Tools as a draft but now I have two
> problems:
> - the labels of created associations contains the same text in the
> textfield of name, src and dest.
>
> - drawing required interface. If I select the tool I can not draw the
> "line" between a class and an interface. Providing interfaces works
> well!
>
> Did anyone have some ideas to solve my problems?
> Thanks a lot
> Tobias
Re: Problems with interfaces and associations [message #609317 is a reply to message #471772] Thu, 11 October 2007 16:20 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello Tobias,

> - the labels of created associations contains the same text in the
> textfield of name, src and dest.

Check createAssociationName_XXX_Parser() methods in the UMLParserProvider
class.
In UML2Tools, there are different (handcoded) implementation for different
association labels.

> - drawing required interface. If I select the tool I can not draw the
> "line" between a class and an interface. Providing interfaces works
> well!

It is hard to identify the problem without more details.
Checking the log and/or debugging the UsageCreateCommand#doDefaultElementCreation
should probably help,
but there are no manual code written for this case so it is expected
to work in reduced editor.

Regards,
Michael

> Hi,
> I try to build a small UML class editor and I only need a subset of
> the
> UML Specification. I use UML2Tools as a draft but now I have two
> problems:
> - the labels of created associations contains the same text in the
> textfield of name, src and dest.
>
> - drawing required interface. If I select the tool I can not draw the
> "line" between a class and an interface. Providing interfaces works
> well!
>
> Did anyone have some ideas to solve my problems?
> Thanks a lot
> Tobias
Previous Topic:Problems with interfaces and associations
Next Topic:small extension to compD
Goto Forum:
  


Current Time: Thu Mar 28 19:30:43 GMT 2024

Powered by FUDForum. Page generated in 0.03120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top