Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Controller.cs @ 2781

Last change on this file since 2781 was 2781, checked in by mkommend, 14 years ago

added netron specific extensions (ticket #867)

File size: 592 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Netron.Diagramming.Core;
6
7namespace HeuristicLab.Netron {
8  public class Controller : ControllerBase {
9
10    public const string TextToolName = "Text Tool";
11    public const string TextEditorToolName = "Text Editor Tool";
12
13    public Controller(IDiagramControl surface)
14      : base(surface) {
15    }
16
17    public override bool ActivateTextEditor(ITextProvider textProvider) {
18      TextEditor.GetEditor(textProvider);
19      TextEditor.Show();
20      return true;
21    } 
22  }
23}
Note: See TracBrowser for help on using the repository browser.