[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: Changing the OpenDiagramBehaviour
|
Hello Alex,
see below.
Alex Shatalin schrieb:
> Hello Dennis,
>
>> Or is the only chance to write a dynamic template (I never used them
> You can use dynamic templates or modify generated code.
>
>> My intention: I have an object (referencing object, non-containment),
>> which should open the correct diagram (from the referenced object) by
>> double click.
> What's wrong with using "related diagrams" property from .gmfmap model?
Sorry, I think my description wasn't detailed enough. I have multiple
objects with OpenDiagramBehaviours. Everything works great. Additionally
I have another object which is referencing one of the multiple objects.
When I want to create an OpenDiagramBehaviour for the object (which
references another object) I need the editor id and the diagram kind
from every OpenDiagramBehaviour, to take the correct diagram editor. I
can't take the "related diagrams" feature, because I have multiple
diagram types.
Thanks for the advice to take dynamic templates.
Dennis