Beispiel #1
0
        public void ShowDiagramSelectedElements()
        {
            var model    = ModelEditor.Generate(ModelEditor.GetSelected(Editor.Context.CurrentCanvas));
            var diagrams = new List <string>();

            diagrams.Add(model);

            ShowDiagramsWindow(diagrams, "Diagram (Selected Elements)");
        }
Beispiel #2
0
 private void GenerateModelFromSelected_Click(object sender, RoutedEventArgs e)
 {
     this.TextModel.Text = ModelEditor.Generate(ModelEditor.GetSelected(Editor.Context.CurrentCanvas));
 }