|
|
|
|
Re: linked graphic element from a model element [message #477083 is a reply to message #477082] |
Wed, 12 March 2008 17:29 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Emilien,
Have a look at the ECrossReferenceAdapter API from EMF. The CacheAdapter
that is implicitly installed on every UML model element is a specialization
of this class.
It provides, among other capabilities, fast look-up of the inverse direction
of non-navigable cross-references (such as View::element in the diagrams).
HTH,
Christian
Emilien Perico wrote:
> Working closely on the problem, I saw that there is a model reference
> foreach diagram node.
>
> As I'm interested in the reverse action, the only solution I found is to
> scan all diagrams. I don't know if there is a best way to do.
|
|
|
|
|
|
Re: linked graphic element from a model element [message #626210 is a reply to message #477082] |
Wed, 12 March 2008 17:29 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Emilien,
Have a look at the ECrossReferenceAdapter API from EMF. The CacheAdapter
that is implicitly installed on every UML model element is a specialization
of this class.
It provides, among other capabilities, fast look-up of the inverse direction
of non-navigable cross-references (such as View::element in the diagrams).
HTH,
Christian
Emilien Perico wrote:
> Working closely on the problem, I saw that there is a model reference
> foreach diagram node.
>
> As I'm interested in the reverse action, the only solution I found is to
> scan all diagrams. I don't know if there is a best way to do.
|
|
|
Powered by
FUDForum. Page generated in 0.05983 seconds