|
Re: Architecture of Graphiti Diagram Editor [message #1059804 is a reply to message #1059736] |
Tue, 21 May 2013 16:20 |
Hallvard Traetteberg Messages: 673 Registered: July 2009 Location: Trondheim, Norway |
Senior Member |
|
|
Matthias,
While it certainly is possible to have separate editors and open one
from the other, it may be easier for the user to work within one
multi-page editor, with one undo-stack, easier navigation etc. In
addition, having separate editors also means splitting the diagrams in
separate files.
Hallvard
On 21.05.13 06.04, Matthias N wrote:
> Hi,
> I want to create a Graphiti Editor (Diagram A) where the user can create
> several elements.
> Now when I doubleclick on an element, another Graphiti Editor (Diagram
> B) shall be opened, to model the internals.
>
> 1) I created a plug-in along with a DiagramTypeProvider and a
> DiagramType. This one is for Diagram A
>
>
> My question now is how shall the architecture of the editor look like?
>
> Should I create another plug-in with DiagramTypeProvider and DiagramType
> for Diagram B. Or can I just add another DiagramTypeProvider and
> DiagramType to my existing plug-in?
>
>
> For the sake of diagram navigation, I saw the
> "AbstractDrillDownFeature", which pretty much looks like what I want to
> achive. Would it be the right direction to go? Are there any tutorials /
> examples for similar projects?
>
> Thanks,
> Matthias
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03335 seconds