[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Outline, hierarchicaly, Diagram input a subelement

Hello

I have a Model A that can contains also a Model A an so one.
- A
    - A
        - A
Now I would like to show in the DiagramEditor everything that contains the 
first Model A. But the sub Model A should displayed as a black box. After I 
double clicked in the outline View on the sub Model A, the Editor should now 
show the content of the sub Model A and no more the content of the Model A.

I would like to have a hierarchically model and I would like to step in to 
it and step out.

What I have to do to have this behaviour?

I am tried following things:
- Add a EditPartFactory and create a TreeEditPart. Override the method 
getDragTracker, and performRequest. So I can detect the double click. My 
problem is to set a subelement on the DiagramEditor.
- I tried to configure it on the gmfmap file. But on it I have no Idea what 
I have to do.

Thank you for your help

Urs