Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2801


Ignore:
Timestamp:
02/15/10 15:39:26 (14 years ago)
Author:
mkommend
Message:

added first version of OperatorGraphVisualization (ticket #867)

Location:
trunk/sources
Files:
8 added
15 edited
3 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab 3.3.sln

    r2799 r2801  
    7070    {56F9106A-079F-4C61-92F6-86A84C2D84B7} = {56F9106A-079F-4C61-92F6-86A84C2D84B7}
    7171    {DC3D7072-7999-4719-B65D-3997744D5DC1} = {DC3D7072-7999-4719-B65D-3997744D5DC1}
     72    {57F38579-409D-4DD8-AB19-3F2C4A665126} = {57F38579-409D-4DD8-AB19-3F2C4A665126}
    7273    {BF7D9494-A586-457B-8DF9-ED599F9E6A71} = {BF7D9494-A586-457B-8DF9-ED599F9E6A71}
    7374    {600287A3-8714-453E-B875-A05F3EB72315} = {600287A3-8714-453E-B875-A05F3EB72315}
     
    7576    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6} = {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}
    7677    {AB687BBE-1BFE-476B-906D-44237135431D} = {AB687BBE-1BFE-476B-906D-44237135431D}
    77     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C} = {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}
    7878    {102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B} = {102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}
    7979    {EE2034D9-6E27-48A1-B855-42D45F69A4FC} = {EE2034D9-6E27-48A1-B855-42D45F69A4FC}
     
    135135Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Netron-3.0.2672.12446", "HeuristicLab.ExtLibs\HeuristicLab.Netron\3.0.2672.12446\HeuristicLab.Netron-3.0.2672.12446\HeuristicLab.Netron-3.0.2672.12446.csproj", "{BB994448-2B21-4564-BB2E-38D8FFF8CF18}"
    136136EndProject
    137 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Routing.TSP.Views-3.3", "HeuristicLab.Routing.TSP.Views\3.3\HeuristicLab.Routing.TSP.Views-3.3.csproj", "{DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}"
     137Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Operators.Views.GraphVisualization-3.3", "HeuristicLab.Operators.Views.GraphVisualization\3.3\HeuristicLab.Operators.Views.GraphVisualization-3.3.csproj", "{57F38579-409D-4DD8-AB19-3F2C4A665126}"
     138  ProjectSection(ProjectDependencies) = postProject
     139    {BB994448-2B21-4564-BB2E-38D8FFF8CF18} = {BB994448-2B21-4564-BB2E-38D8FFF8CF18}
     140  EndProjectSection
    138141EndProject
    139142Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.CodeEditor-3.2", "HeuristicLab.CodeEditor\3.2\HeuristicLab.CodeEditor-3.2.csproj", "{489CFE09-FDF7-4C89-BAB5-BD09CADD61AD}"
     
    406409    {B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}.Release|Any CPU.Build.0 = Release|Any CPU
    407410    {B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}.Release|x64.ActiveCfg = Release|Any CPU
    408     {B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}.Release|x86.ActiveCfg = Release|Any CPU
     411    {B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}.Release|x86.ActiveCfg = Release|x86
     412    {B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}.Release|x86.Build.0 = Release|x86
    409413    {EE2034D9-6E27-48A1-B855-42D45F69A4FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    410414    {EE2034D9-6E27-48A1-B855-42D45F69A4FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    462466    {C664305E-497C-4533-A140-967DEDB05C19}.Release|Any CPU.Build.0 = Release|Any CPU
    463467    {C664305E-497C-4533-A140-967DEDB05C19}.Release|x64.ActiveCfg = Release|Any CPU
    464     {C664305E-497C-4533-A140-967DEDB05C19}.Release|x86.ActiveCfg = Release|Any CPU
     468    {C664305E-497C-4533-A140-967DEDB05C19}.Release|x86.ActiveCfg = Release|x86
     469    {C664305E-497C-4533-A140-967DEDB05C19}.Release|x86.Build.0 = Release|x86
    465470    {AB687BBE-1BFE-476B-906D-44237135431D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    466471    {AB687BBE-1BFE-476B-906D-44237135431D}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    482487    {E226881D-315F-423D-B419-A766FE0D8685}.Release|Any CPU.Build.0 = Release|Any CPU
    483488    {E226881D-315F-423D-B419-A766FE0D8685}.Release|x64.ActiveCfg = Release|Any CPU
    484     {E226881D-315F-423D-B419-A766FE0D8685}.Release|x86.ActiveCfg = Release|Any CPU
     489    {E226881D-315F-423D-B419-A766FE0D8685}.Release|x86.ActiveCfg = Release|x86
     490    {E226881D-315F-423D-B419-A766FE0D8685}.Release|x86.Build.0 = Release|x86
    485491    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    486492    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    490496    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Release|Any CPU.Build.0 = Release|Any CPU
    491497    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Release|x64.ActiveCfg = Release|Any CPU
    492     {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Release|x86.ActiveCfg = Release|Any CPU
     498    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Release|x86.ActiveCfg = Release|x86
     499    {958B43BC-CC5C-4FA2-8628-2B3B01D890B6}.Release|x86.Build.0 = Release|x86
    493500    {678E2145-8152-4E19-9646-07D439D00301}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    494501    {678E2145-8152-4E19-9646-07D439D00301}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    534541    {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Release|Any CPU.Build.0 = Release|Any CPU
    535542    {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Release|x64.ActiveCfg = Release|Any CPU
    536     {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Release|x86.ActiveCfg = Release|Any CPU
     543    {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Release|x86.ActiveCfg = Release|x86
     544    {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Release|x86.Build.0 = Release|x86
    537545    {C49CB749-8B24-4628-8003-E86475749410}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    538546    {C49CB749-8B24-4628-8003-E86475749410}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    542550    {C49CB749-8B24-4628-8003-E86475749410}.Release|Any CPU.Build.0 = Release|Any CPU
    543551    {C49CB749-8B24-4628-8003-E86475749410}.Release|x64.ActiveCfg = Release|Any CPU
    544     {C49CB749-8B24-4628-8003-E86475749410}.Release|x86.ActiveCfg = Release|Any CPU
     552    {C49CB749-8B24-4628-8003-E86475749410}.Release|x86.ActiveCfg = Release|x86
     553    {C49CB749-8B24-4628-8003-E86475749410}.Release|x86.Build.0 = Release|x86
    545554    {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    546555    {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    562571    {56F9106A-079F-4C61-92F6-86A84C2D84B7}.Release|Any CPU.Build.0 = Release|Any CPU
    563572    {56F9106A-079F-4C61-92F6-86A84C2D84B7}.Release|x64.ActiveCfg = Release|Any CPU
    564     {56F9106A-079F-4C61-92F6-86A84C2D84B7}.Release|x86.ActiveCfg = Release|Any CPU
     573    {56F9106A-079F-4C61-92F6-86A84C2D84B7}.Release|x86.ActiveCfg = Release|x86
     574    {56F9106A-079F-4C61-92F6-86A84C2D84B7}.Release|x86.Build.0 = Release|x86
    565575    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    566576    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    570580    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Release|Any CPU.Build.0 = Release|Any CPU
    571581    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Release|x64.ActiveCfg = Release|Any CPU
    572     {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Release|x86.ActiveCfg = Release|Any CPU
     582    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Release|x86.ActiveCfg = Release|x86
     583    {AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}.Release|x86.Build.0 = Release|x86
    573584    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    574585    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    578589    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Release|Any CPU.Build.0 = Release|Any CPU
    579590    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Release|x64.ActiveCfg = Release|Any CPU
    580     {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Release|x86.ActiveCfg = Release|Any CPU
     591    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Release|x86.ActiveCfg = Release|x86
     592    {96AEBBEE-4203-45F3-BCF5-7B73BF256BDA}.Release|x86.Build.0 = Release|x86
    581593    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    582594    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Debug|Any CPU.Build.0 = Debug|Any CPU
     
    586598    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Release|Any CPU.Build.0 = Release|Any CPU
    587599    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Release|x64.ActiveCfg = Release|Any CPU
    588     {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Release|x86.ActiveCfg = Release|Any CPU
    589     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    590     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
    591     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Debug|x64.ActiveCfg = Debug|Any CPU
    592     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Debug|x86.ActiveCfg = Debug|Any CPU
    593     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
    594     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Release|Any CPU.Build.0 = Release|Any CPU
    595     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Release|x64.ActiveCfg = Release|Any CPU
    596     {DF2E61C4-A76D-4315-9D0B-53A077B1AC2C}.Release|x86.ActiveCfg = Release|Any CPU
     600    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Release|x86.ActiveCfg = Release|x86
     601    {BB994448-2B21-4564-BB2E-38D8FFF8CF18}.Release|x86.Build.0 = Release|x86
     602    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
     603    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Debug|Any CPU.Build.0 = Debug|Any CPU
     604    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Debug|x64.ActiveCfg = Debug|Any CPU
     605    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Debug|x86.ActiveCfg = Debug|Any CPU
     606    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Release|Any CPU.ActiveCfg = Release|Any CPU
     607    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Release|Any CPU.Build.0 = Release|Any CPU
     608    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Release|x64.ActiveCfg = Release|Any CPU
     609    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Release|x86.ActiveCfg = Release|x86
     610    {57F38579-409D-4DD8-AB19-3F2C4A665126}.Release|x86.Build.0 = Release|x86
    597611    {489CFE09-FDF7-4C89-BAB5-BD09CADD61AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    598612    {489CFE09-FDF7-4C89-BAB5-BD09CADD61AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
  • trunk/sources/HeuristicLab 3.3/Files.txt

    r2799 r2801  
    2121HeuristicLab.Operators\3.3:HeuristicLab.Operators-3.3.dll
    2222HeuristicLab.Operators.Views\3.3:HeuristicLab.Operators.Views-3.3.dll
     23HeuristicLab.Operators.Views.GraphVisualization\3.3:HeuristicLab.Operators.Views.GraphVisualization-3.3.dll
    2324HeuristicLab.Operators.Programmable\3.3:HeuristicLab.Operators.Programmable-3.3.dll
    2425HeuristicLab.Optimizer\3.3:HeuristicLab.Optimizer-3.3.dll
  • trunk/sources/HeuristicLab 3.3/HeuristicLab 3.3.csproj

    r2643 r2801  
    3535    <ErrorReport>prompt</ErrorReport>
    3636    <WarningLevel>4</WarningLevel>
     37  </PropertyGroup>
     38  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     39    <DebugSymbols>true</DebugSymbols>
     40    <OutputPath>bin\x86\Debug\</OutputPath>
     41    <DefineConstants>DEBUG;TRACE</DefineConstants>
     42    <DebugType>full</DebugType>
     43    <PlatformTarget>x86</PlatformTarget>
     44    <ErrorReport>prompt</ErrorReport>
     45  </PropertyGroup>
     46  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     47    <OutputPath>bin\x86\Release\</OutputPath>
     48    <DefineConstants>TRACE</DefineConstants>
     49    <Optimize>true</Optimize>
     50    <DebugType>pdbonly</DebugType>
     51    <PlatformTarget>x86</PlatformTarget>
     52    <ErrorReport>prompt</ErrorReport>
    3753  </PropertyGroup>
    3854  <ItemGroup>
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.Designer.cs

    r2790 r2801  
    4949      this.initialOperatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5050      this.operatorsView = new HeuristicLab.Core.Views.OperatorSetView();
    51       this.graphView = new HeuristicLab.Core.Views.OperatorTreeView();
    5251      this.splitContainer = new System.Windows.Forms.SplitContainer();
    5352      this.graphGroupBox = new System.Windows.Forms.GroupBox();
     53      this.viewHost = new HeuristicLab.Core.Views.ViewHost();
    5454      this.operatorsContextMenuStrip.SuspendLayout();
    5555      this.splitContainer.Panel1.SuspendLayout();
     
    8282                  | System.Windows.Forms.AnchorStyles.Right)));
    8383      this.operatorsView.Caption = "Operator Set";
     84      this.operatorsView.Content = null;
    8485      this.operatorsView.Location = new System.Drawing.Point(3, 3);
    8586      this.operatorsView.Name = "operatorsView";
     
    8788      this.operatorsView.TabIndex = 0;
    8889      this.operatorsView.Load += new System.EventHandler(this.operatorsView_Load);
    89       //
    90       // graphView
    91       //
    92       this.graphView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    93                   | System.Windows.Forms.AnchorStyles.Left)
    94                   | System.Windows.Forms.AnchorStyles.Right)));
    95       this.graphView.Caption = "Operator";
    96       this.graphView.Location = new System.Drawing.Point(6, 19);
    97       this.graphView.Name = "graphView";
    98       this.graphView.Size = new System.Drawing.Size(590, 183);
    99       this.graphView.TabIndex = 0;
    10090      //
    10191      // splitContainer
     
    122112                  | System.Windows.Forms.AnchorStyles.Left)
    123113                  | System.Windows.Forms.AnchorStyles.Right)));
    124       this.graphGroupBox.Controls.Add(this.graphView);
     114      this.graphGroupBox.Controls.Add(this.viewHost);
    125115      this.graphGroupBox.Location = new System.Drawing.Point(3, 3);
    126116      this.graphGroupBox.Name = "graphGroupBox";
     
    129119      this.graphGroupBox.TabStop = false;
    130120      this.graphGroupBox.Text = "Operator &Graph";
     121      //
     122      // viewHost
     123      //
     124      this.viewHost.Content = null;
     125      this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     126      this.viewHost.Location = new System.Drawing.Point(3, 16);
     127      this.viewHost.Name = "viewHost";
     128      this.viewHost.Size = new System.Drawing.Size(596, 189);
     129      this.viewHost.TabIndex = 0;
    131130      //
    132131      // OperatorGraphView
     
    151150    protected System.Windows.Forms.ToolStripMenuItem initialOperatorToolStripMenuItem;
    152151    protected OperatorSetView operatorsView;
    153     protected OperatorTreeView graphView;
    154152    protected System.Windows.Forms.SplitContainer splitContainer;
    155153    protected System.Windows.Forms.GroupBox graphGroupBox;
     154    private ViewHost viewHost;
    156155  }
    157156}
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs

    r2790 r2801  
    2525using System.Drawing;
    2626using System.Data;
     27using System.Linq;
    2728using System.Text;
    2829using System.Windows.Forms;
     
    5455      InitializeComponent();
    5556      Caption = "Operator Graph";
     57      this.viewHost.ViewType = typeof(OperatorTreeView);
    5658    }
    5759    /// <summary>
     
    9092    protected override void OnContentChanged() {
    9193      base.OnContentChanged();
     94      Caption = "Operator Graph";
    9295      operatorsView.Content = null;
    9396      operatorsView.Enabled = false;
    94       graphView.Content = null;
    95       graphView.Enabled = false;
    96       if (Content == null) {
    97         Caption = "Operator Graph";
    98         operatorsView.Content = null;
    99         operatorsView.Enabled = false;
    100         graphView.Content = null;
    101         graphView.Enabled = false;
    102       } else {
     97      viewHost.Content = null;
     98      viewHost.Enabled = false;
     99
     100      if (Content != null) {
    103101        Caption = Content.ItemName + " (" + Content.GetType().Name + ")";
    104102        operatorsView.Content = Content.Operators;
    105103        operatorsView.Enabled = true;
    106104        MarkInitialOperator();
    107         graphView.Content = Content.InitialOperator;
    108         graphView.Enabled = true;
     105        viewHost.Content = Content.InitialOperator;
     106        viewHost.Enabled = true;
    109107      }
    110108    }
     
    148146      else {
    149147        MarkInitialOperator();
    150         graphView.Content = Content.InitialOperator;
     148        viewHost.Content = Content.InitialOperator;
    151149      }
    152150    }
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ants.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Controller.cs

    r2782 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ghosts.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446.csproj

    r2782 r2801  
    3333    <WarningLevel>4</WarningLevel>
    3434  </PropertyGroup>
     35  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     36    <DebugSymbols>true</DebugSymbols>
     37    <OutputPath>bin\x86\Debug\</OutputPath>
     38    <DefineConstants>DEBUG;TRACE</DefineConstants>
     39    <DebugType>full</DebugType>
     40    <PlatformTarget>x86</PlatformTarget>
     41    <ErrorReport>prompt</ErrorReport>
     42  </PropertyGroup>
     43  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     44    <OutputPath>bin\x86\Release\</OutputPath>
     45    <DefineConstants>TRACE</DefineConstants>
     46    <Optimize>true</Optimize>
     47    <DebugType>pdbonly</DebugType>
     48    <PlatformTarget>x86</PlatformTarget>
     49    <ErrorReport>prompt</ErrorReport>
     50  </PropertyGroup>
    3551  <ItemGroup>
    3652    <Reference Include="System" />
     
    5066  </ItemGroup>
    5167  <ItemGroup>
    52     <Compile Include="NetronForm.cs">
    53       <SubType>Form</SubType>
    54     </Compile>
    55     <Compile Include="NetronForm.Designer.cs">
    56       <DependentUpon>NetronForm.cs</DependentUpon>
    57     </Compile>
    58     <Compile Include="NetronTestApplication.cs" />
    5968    <Compile Include="NetronVisualization.cs">
    6069      <SubType>Component</SubType>
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLabNetronPlugin.cs

    r2790 r2801  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.Designer.cs

    r2781 r2801  
    1 namespace HeuristicLab.Netron {
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22namespace HeuristicLab.Netron {
    223  partial class NetronVisualization {
    324    /// <summary>
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.cs

    r2782 r2801  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.ComponentModel;
     
    1334  [ToolboxItem(true)]
    1435  public partial class NetronVisualization : DiagramControlBase {
    15     private static Size INVALID_SIZE = new Size(-1,-1);
     36    private static Size INVALID_SIZE = new Size(-1, -1);
    1637    private Size oldSize;
    1738    public NetronVisualization()
     
    4364
    4465    private void NetronVisualization_SizeChanged(object sender, EventArgs e) {
    45       if (this.oldSize == INVALID_SIZE) {
     66      //if (this.oldSize == INVALID_SIZE) {
    4667        this.View.PageSize = new Size((int)(this.Size.Width * this.Magnification.Width), (int)(this.Size.Height * this.Magnification.Height));
    47         oldSize = this.Size;
    48         return;
    49       }
     68      //  if (!this.DesignMode)
     69      //    oldSize = this.Size;
     70      //  return;
     71      //}
    5072
    51       SizeF magnificationChanges = new SizeF();
    52       magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width;
    53       magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height;
     73      //SizeF magnificationChanges = new SizeF();
     74      //magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width;
     75      //magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height;
    5476
    55       SizeF newMagnification = new SizeF();
    56       newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width;
    57       newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height;
     77      //SizeF newMagnification = new SizeF();
     78      //newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width;
     79      //newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height;
    5880
    59       this.Magnification = newMagnification;
    60       this.oldSize = this.Size;
     81      //this.Magnification = newMagnification;
     82      //this.oldSize = this.Size;
    6183    }
    6284
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/TextEditor.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446.csproj

    r2772 r2801  
    3636    </ConfigurationOverrideFile>
    3737    <DefineConstants>DEBUG;TRACE</DefineConstants>
    38     <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile>
     38    <DocumentationFile>
     39    </DocumentationFile>
    3940    <DebugSymbols>true</DebugSymbols>
    4041    <FileAlignment>4096</FileAlignment>
     
    7677    <ErrorReport>prompt</ErrorReport>
    7778    <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules>
     79  </PropertyGroup>
     80  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     81    <DebugSymbols>true</DebugSymbols>
     82    <OutputPath>bin\x86\Debug\</OutputPath>
     83    <DefineConstants>DEBUG;TRACE</DefineConstants>
     84    <BaseAddress>285212672</BaseAddress>
     85    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
     86    <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile>
     87    <FileAlignment>4096</FileAlignment>
     88    <DebugType>full</DebugType>
     89    <PlatformTarget>x86</PlatformTarget>
     90    <CodeAnalysisRules>-Microsoft.Design#CA1040;-Microsoft.Design#CA1020;-Microsoft.Design#CA1045;-Microsoft.Design#CA1033;-Microsoft.Design#CA1030;-Microsoft.Design#CA1062;-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302;-Microsoft.Globalization#CA1303;-Microsoft.Globalization#CA1306;-Microsoft.Globalization#CA1304;-Microsoft.Globalization#CA1305;-Microsoft.Globalization#CA1300;-Microsoft.Mobility#CA1600;-Microsoft.Mobility#CA1601;-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1811;-Microsoft.Performance#CA1807;-Microsoft.Performance#CA1822;-Microsoft.Portability#CA1901;-Microsoft.Portability#CA1900;-Microsoft.Security#CA2116;-Microsoft.Security#CA2117;-Microsoft.Security#CA2105;-Microsoft.Security#CA2104;-Microsoft.Security#CA2114;-Microsoft.Security#CA2123;-Microsoft.Security#CA2108;-Microsoft.Security#CA2107;-Microsoft.Security#CA2103;-Microsoft.Security#CA2109;-Microsoft.Security#CA2106;-Microsoft.Security#CA2112;-Microsoft.Security#CA2110;-Microsoft.Security#CA2120;-Microsoft.Usage#CA2214;-Microsoft.Usage#CA2208</CodeAnalysisRules>
     91    <GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
     92    <ErrorReport>prompt</ErrorReport>
     93  </PropertyGroup>
     94  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     95    <OutputPath>bin\x86\Release\</OutputPath>
     96    <DefineConstants>TRACE</DefineConstants>
     97    <BaseAddress>285212672</BaseAddress>
     98    <Optimize>true</Optimize>
     99    <FileAlignment>4096</FileAlignment>
     100    <PlatformTarget>x86</PlatformTarget>
     101    <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules>
     102    <ErrorReport>prompt</ErrorReport>
    78103  </PropertyGroup>
    79104  <ItemGroup>
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/HeuristicLabOperatorsViewsGraphVisualizationPlugin.cs.frame

    r2776 r2801  
    2929  /// Plugin class for HeuristicLab.Operators.Views plugin.
    3030  /// </summary>
    31   [Plugin("HeuristicLab.Operators.Views", "3.3.0.$WCREV$")]
    32   [PluginFile("HeuristicLab.Operators.Views-3.3.dll", PluginFileType.Assembly)]
     31  [Plugin("HeuristicLab.Operators.Views.GraphVisualization", "3.3.0.$WCREV$")]
     32  [PluginFile("HeuristicLab.Operators.Views.GraphVisualization-3.3.dll", PluginFileType.Assembly)]
    3333  [PluginDependency("HeuristicLab.Collections", "3.3")]
    3434  [PluginDependency("HeuristicLab.Core", "3.3")]
     
    3636  [PluginDependency("HeuristicLab.MainForm", "3.2")]
    3737  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.2")]
     38  [PluginDependency("HeuristicLab.Netron", "3.0")]
    3839  [PluginDependency("HeuristicLab.Operators", "3.3")]
    39   public class HeuristicLabOperatorsViewsPlugin : PluginBase {
     40  public class HeuristicLabOperatorsViewsGraphVisualizationPlugin : PluginBase {
    4041  }
    4142}
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Properties/AssemblyInfo.frame

    r2776 r2801  
    2727// set of attributes. Change these attribute values to modify the information
    2828// associated with an assembly.
    29 [assembly: AssemblyTitle("HeuristicLab.Operators.Views")]
    30 [assembly: AssemblyDescription("Views of the HeuristicLab operator classes")]
     29[assembly: AssemblyTitle("HeuristicLab.Operators.Views.GraphVisualization")]
     30[assembly: AssemblyDescription("GraphVisualization Views of the HeuristicLab operator classes")]
    3131[assembly: AssemblyConfiguration("")]
    3232[assembly: AssemblyCompany("")]
Note: See TracChangeset for help on using the changeset viewer.