Knowing what diagram an element belongs to in OCL [message #1611373] |
Wed, 11 February 2015 10:19 |
Eclipse User |
|
|
|
Dear all,
I wonder if it's possible to know what elements belong to each diagram
in OCL.
My problem is that I would like to split a bigger diagram into smaller
ones, but for some constraints I would like to know the diagram where a
specific element (class, dependency, ...) is specified.
Is it possible?
Best,
Víctor
|
|
|
|
Re: Knowing what diagram an element belongs to in OCL [message #1612914 is a reply to message #1612159] |
Thu, 12 February 2015 09:25 |
Eclipse User |
|
|
|
Thanks a lot Ed.
I thought that since diagrams is just a view of the model, it would not
be easy. I'll check if it's possible to relate the elements to their
graphical representation in the diagrams.
Best,
Víctor
El 11/02/2015 a las 22:37, Ed Willink escribió:
> Hi
>
> Not really. In UML you have the overall model for which each diagram
> provides a very partial and selective view.
>
> A particular model element may appear in none or many diagrams, so there
> is no unique definition to find.
>
> Naively you have to search the diagrams for graphical appearances. It
> may be that Papyrus provides a helper API for this kind of search.
>
> Regards
>
> Ed Willink
>
>
> On 11/02/2015 10:19, "V. López" wrote:
>> Dear all,
>> I wonder if it's possible to know what elements belong to each diagram
>> in OCL.
>> My problem is that I would like to split a bigger diagram into smaller
>> ones, but for some constraints I would like to know the diagram where a
>> specific element (class, dependency, ...) is specified.
>> Is it possible?
>>
>> Best,
>>
>> Víctor
>
|
|
|
Powered by
FUDForum. Page generated in 0.03457 seconds