Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/15 16:39:12 (9 years ago)
Author:
gkronber
Message:

#2069: reviewing and minor changes

Location:
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/BattleRunnerDialog.Designer.cs

    r13011 r13013  
    1919 */
    2020#endregion
    21 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     21namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2222  partial class BattleRunnerDialog {
    2323    /// <summary>
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/BattleRunnerDialog.cs

    r13011 r13013  
    2323using System.Windows.Forms;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     25using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2626
    27 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     27namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2828  public partial class BattleRunnerDialog : Form {
    2929    public int NrOfRounds {
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/CodeNodeView.Designer.cs

    r13011 r13013  
    1919 */
    2020#endregion
    21 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     21namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2222  partial class CodeNodeView {
    2323    /// <summary>
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/CodeNodeView.cs

    r13011 r13013  
    2323using HeuristicLab.Core.Views;
    2424using HeuristicLab.MainForm;
    25 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     25using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2626
    27 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     27namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2828  [View("CodeNode View")]
    2929  [Content(typeof(CodeNode), IsDefaultView = true)]
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/EnemyCollectionView.Designer.cs

    r13011 r13013  
    2121
    2222
    23 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     23namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2424  partial class EnemyCollectionView {
    2525    /// <summary>
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/EnemyCollectionView.cs

    r13011 r13013  
    2020#endregion
    2121
    22 using System.Windows.Forms;
     22using HeuristicLab.Core.Views;
     23using HeuristicLab.Data;
    2324using HeuristicLab.MainForm;
    24 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     25using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2526
    26 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     27namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2728  [View("EnemyCollection View")]
    2829  [Content(typeof(EnemyCollection), true)]
    29   public partial class EnemyCollectionView : Core.Views.CheckedItemListView<HeuristicLab.Data.StringValue> {
     30  public partial class EnemyCollectionView : CheckedItemListView<StringValue> {
    3031    public new EnemyCollection Content {
    3132      get { return (EnemyCollection)base.Content; }
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/Plugin.cs.frame

    r13011 r13013  
    2727using HeuristicLab.PluginInfrastructure;
    2828
    29 namespace HeuristicLab.Problems.GeneticProgramming.RoboCode.Views
     29namespace HeuristicLab.Problems.GeneticProgramming.Robocode.Views
    3030{
    3131    [Plugin("HeuristicLab.Problems.Robocode.Views", "The Robocode problem for genetic programming.", "3.3.9.$WCREV$")]
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionCodeView.Designer.cs

    r13011 r13013  
    1919 */
    2020#endregion
    21 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     21namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2222  partial class SolutionCodeView {
    2323    /// <summary>
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionCodeView.cs

    r13011 r13013  
    2525using HeuristicLab.Core.Views;
    2626using HeuristicLab.MainForm;
    27 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     27using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2828
    29 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     29namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    3030  [View("Robocode Tank Code View")]
    3131  [Content(typeof(Solution), IsDefaultView = true)]
     
    4545    protected override void OnContentChanged() {
    4646      base.OnContentChanged();
    47       if (Content == null) {
    48         programCode.Text = string.Empty;
    49       } else {
    50         programCode.Text = Interpreter.InterpretProgramTree(Content.Tree.Root, programName);
    51       }
     47      programCode.Text = Content == null ? string.Empty : Interpreter.InterpretProgramTree(Content.Tree.Root, programName);
    5248    }
    5349
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionProgramView.Designer.cs

    r13011 r13013  
    2222using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views;
    2323
    24 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     24namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2525  partial class SolutionProgramView {
    2626    private void InitializeComponent() {
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionProgramView.cs

    r13011 r13013  
    2222using HeuristicLab.Core.Views;
    2323using HeuristicLab.MainForm;
    24 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     24using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2525
    26 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     26namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2727  [View("Robocode Tank Program Tree View")]
    2828  [Content(typeof(Solution), IsDefaultView = false)]
     
    3939    protected override void OnContentChanged() {
    4040      base.OnContentChanged();
    41       if (Content == null) {
    42         graphTreeView.Content = null;
    43       } else {
    44         graphTreeView.Content = Content.Tree;
    45       }
     41      graphTreeView.Content = Content == null ? null : Content.Tree;
    4642    }
    4743  }
Note: See TracChangeset for help on using the changeset viewer.