Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/17/15 08:48:41 (9 years ago)
Author:
bburlacu
Message:

#1772: Merged trunk and worked on the graph view.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphChart.cs

    r11881 r12208  
    6666      }
    6767      set {
     68        if (value == null || value == SelectedGraphNode)
     69          return;
    6870        SelectedVisualNode = GetMappedNode(value);
    6971        UpdateSelectedVisualNode();
     
    9092    protected VisualGenealogyGraphNode SelectedVisualNode { get; set; }
    9193
    92     private VisualGenealogyGraphNode GetMappedNode(IGenealogyGraphNode node) {
     94    public VisualGenealogyGraphNode GetMappedNode(IGenealogyGraphNode node) {
    9395      VisualGenealogyGraphNode v;
    9496      nodeMap.TryGetValue(node, out v);
     
    9698    }
    9799
    98     private VisualGenealogyGraphArc GetMappedArc(IGenealogyGraphNode source, IGenealogyGraphNode target) {
     100    public VisualGenealogyGraphArc GetMappedArc(IGenealogyGraphNode source, IGenealogyGraphNode target) {
    99101      VisualGenealogyGraphNode visualSource, visualTarget;
    100102      nodeMap.TryGetValue(source, out visualSource);
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphView.Designer.cs

    r11852 r12208  
    2626    private void InitializeComponent() {
    2727      this.splitContainer = new System.Windows.Forms.SplitContainer();
    28       this.genealogyGraphChart = new HeuristicLab.EvolutionTracking.Views.GenealogyGraphChart();
    2928      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
    3029      this.groupBox = new System.Windows.Forms.GroupBox();
     30      this.openNew_CheckBox = new System.Windows.Forms.CheckBox();
    3131      this.lockGraph_checkBox = new System.Windows.Forms.CheckBox();
    3232      this.simpleLineages_checkBox = new System.Windows.Forms.CheckBox();
    3333      this.trace_checkBox = new System.Windows.Forms.CheckBox();
    34       this.openNew_CheckBox = new System.Windows.Forms.CheckBox();
     34      this.genealogyGraphChart = new HeuristicLab.EvolutionTracking.Views.GenealogyGraphChart();
    3535      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
    3636      this.splitContainer.Panel1.SuspendLayout();
     
    5959      this.splitContainer.TabIndex = 0;
    6060      //
    61       // genealogyGraphChart
    62       //
    63       this.genealogyGraphChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    64             | System.Windows.Forms.AnchorStyles.Left)
    65             | System.Windows.Forms.AnchorStyles.Right)));
    66       this.genealogyGraphChart.BackColor = System.Drawing.SystemColors.Control;
    67       this.genealogyGraphChart.GenealogyGraph = null;
    68       this.genealogyGraphChart.Location = new System.Drawing.Point(0, 0);
    69       this.genealogyGraphChart.LockGenealogy = false;
    70       this.genealogyGraphChart.Name = "genealogyGraphChart";
    71       this.genealogyGraphChart.ScaleOnResize = true;
    72       this.genealogyGraphChart.SimpleLineages = false;
    73       this.genealogyGraphChart.Size = new System.Drawing.Size(689, 738);
    74       this.genealogyGraphChart.TabIndex = 0;
    75       this.genealogyGraphChart.TraceFragments = false;
    76       this.genealogyGraphChart.UpdateEnabled = true;
    77       //
    7861      // viewHost
    7962      //
     
    10184      this.groupBox.Location = new System.Drawing.Point(3, 4);
    10285      this.groupBox.Name = "groupBox";
    103       this.groupBox.Size = new System.Drawing.Size(411, 44);
     86      this.groupBox.Size = new System.Drawing.Size(602, 44);
    10487      this.groupBox.TabIndex = 1;
    10588      this.groupBox.TabStop = false;
    10689      this.groupBox.Text = "Genealogy Options";
     90      //
     91      // openNew_CheckBox
     92      //
     93      this.openNew_CheckBox.AutoSize = true;
     94      this.openNew_CheckBox.Location = new System.Drawing.Point(485, 19);
     95      this.openNew_CheckBox.Name = "openNew_CheckBox";
     96      this.openNew_CheckBox.Size = new System.Drawing.Size(111, 17);
     97      this.openNew_CheckBox.TabIndex = 1;
     98      this.openNew_CheckBox.Text = "Open in new view";
     99      this.openNew_CheckBox.UseVisualStyleBackColor = true;
    107100      //
    108101      // lockGraph_checkBox
     
    142135      this.trace_checkBox.CheckedChanged += new System.EventHandler(this.trace_checkBox_CheckedChanged);
    143136      //
    144       // openNew_CheckBox
     137      // genealogyGraphChart
    145138      //
    146       this.openNew_CheckBox.AutoSize = true;
    147       this.openNew_CheckBox.Location = new System.Drawing.Point(237, 20);
    148       this.openNew_CheckBox.Name = "openNew_CheckBox";
    149       this.openNew_CheckBox.Size = new System.Drawing.Size(111, 17);
    150       this.openNew_CheckBox.TabIndex = 1;
    151       this.openNew_CheckBox.Text = "Open in new view";
    152       this.openNew_CheckBox.UseVisualStyleBackColor = true;
     139      this.genealogyGraphChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     140            | System.Windows.Forms.AnchorStyles.Left)
     141            | System.Windows.Forms.AnchorStyles.Right)));
     142      this.genealogyGraphChart.BackColor = System.Drawing.SystemColors.Control;
     143      this.genealogyGraphChart.GenealogyGraph = null;
     144      this.genealogyGraphChart.Location = new System.Drawing.Point(0, 0);
     145      this.genealogyGraphChart.LockGenealogy = false;
     146      this.genealogyGraphChart.Name = "genealogyGraphChart";
     147      this.genealogyGraphChart.ScaleOnResize = true;
     148      this.genealogyGraphChart.SelectedGraphNode = null;
     149      this.genealogyGraphChart.SimpleLineages = false;
     150      this.genealogyGraphChart.Size = new System.Drawing.Size(689, 738);
     151      this.genealogyGraphChart.TabIndex = 0;
     152      this.genealogyGraphChart.TraceFragments = false;
     153      this.genealogyGraphChart.UpdateEnabled = true;
    153154      //
    154155      // GenealogyGraphView
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/HeuristicLab.EvolutionTracking.Views-3.4.csproj

    r12155 r12208  
    2424    <WarningLevel>4</WarningLevel>
    2525    <Prefer32Bit>false</Prefer32Bit>
     26    <UseVSHostingProcess>false</UseVSHostingProcess>
    2627  </PropertyGroup>
    2728  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     
    128129  <ItemGroup>
    129130    <None Include="HeuristicLab.snk" />
     131    <None Include="Plugin.cs.frame" />
    130132  </ItemGroup>
    131133  <ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.