[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Re: Provided and required interfaces of port
|
Hi,
I do not know about the default EMF editor behavior, but I can state that at
least implementation of the PortImpl#getProvideds()/getRequireds() works
correctly.
Trying to show provided/required links from ports at the class/component
diagram I faced the problem with listener, but I was able to solve it
registering listeners directly for the port's type (and its super types if
any).
Regards,
Michael
"Patrick" <Patrick.Tessier@xxxxxx> wrote in message
news:a193793f8f7cc6f64ca0896f7b9c9973$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
> I would like to know if the UML eclipse project put automatically provided
> and required interfaces of ports?
>
> For instance I'have a class Type1 that implements ProvidedInterface1 and
> depends of RequiredInterface1.
> When I create a port port1 and then I affect the type1, I don't see
> required={RequiredInterface1} and provided={ProvidedInterface1}.
>
> More over the attribute required and provided are readonly so I can't
> create a listener that add this information.
>
>