[Template-Engine] Template Modelle in Modell übernehmen

Issue #496 resolved
Alexander Strübing created an issue

Voraussetzung: #495

Die neue Art Template soll aus dem TemplateBrowser heraus in ein Modell übernommen werden können. Dies soll im Ganzen geschehen. Vorgesehen sein sollte zuerst ein Mechanismus über das Kontextmenü. Drag&Drop wäre wünschenswert. Das Übernehmen entspricht nach aktueller Auffassung der vorhandenen Funktionalität “Übernehmen in Modell“, das man zwischen 2 ‘normalen’ Modellen bereits auf eine Elementauswahl anwenden kann.

Comments (13)

  1. Alexander Strübing reporter

    refs #496: Restructured Mouse Adapter for trees

    This commit only changes the code structure and not the functionality. This is the mouse adapter for the ModelBrowser and the TemplateBrowser.

    → <<cset b8bcdc340c8d>>

  2. Alexander Strübing reporter

    refs #496: Preparation to detect right click on Model Templates

    Now all kind of nodes and selections resp. clicks in the TemplateBrowser can be detected. Next step is to open an contect menu if a template node is right clicked.

    → <<cset 51a14c0a21b4>>

  3. Alexander Strübing reporter

    refs #496 WIP Copy Models & Templates in the same way

    This is work in progress. Now the Copy&Paste and the copy from model to model is the same functionality and for both actions is UNDO-REDO available. Now all graph properties of the nodes (color, alpha, icon, font, position, size,...) are copied and restored by UNDO-REDO. Things still missing: 1.) No bendpoints are copied. 2.) Edges from a copied element to an already existing element in the target model are not copied. 3.) The UserFields are not copied.

    → <<cset aca2ab60b7d1>>

  4. Log in to comment