True hl3AddParameter Creates a Parameters.Add(..) statement Parameters.Add(new $ParameterType$Parameter<$ParameterDataType$>("$ParameterName$", "$ParameterDescription$")); True True HeuristicLab Imported 06.01.2013 True True InCSharpStatement 4.0 True list("Lookup,Value,ValueLookup,ScopeTreeLookup,Scope,Operator,OptionalValue,ConstrainedValue,OptionalConstrainedValue,FixedValue") 0 True constant("IntValue") 1 True 2 True constant("Please provide a description!") 3 True hl3BackwardsCompatibility Adds the backwardscompatibility tag and provides a region to mark backwards compatible code (this can be removed when going to a different major or minor version) // BackwardsCompatibility$currentversion$ #region Backwards compatible code, remove with $nextversion$ #endregion True True HeuristicLab Imported 06.01.2013 True True InCSharpFile 4.0 True constant("3.3") 0 True constant("3.4") 1 True hl3CloneMethod Inserts the clone method that uses the cloning constructor to create a new instance public override IDeepCloneable Clone(Cloner cloner) { return new $Classname$(this, cloner); } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True typeName() -1 0 True hl3CloningConstructor Adds a cloning constructor to a class $ConstructorVisibility$ $Classname$($Classname$ original, Cloner cloner) : base(original, cloner) { } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True list("private,protected") 0 True typeName() -1 1 True hl3DefineEvent Creates an event and according OnEventFired method to notify event listeners public event EventHandler $EventName$; $Modifier$ void On$EventName$() { var handler = $EventName$; if (handler != null) handler(this, EventArgs.Empty); } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True 0 True list("private,protected virtual") 1 True hl3DefineGenericEvent public event EventHandler<EventArgs<$ArgsType$>> $EventName$; $Modifier$ void On$EventName$($ArgsType$ args) { var handler = $EventName$; if (handler != null) handler(this, new EventArgs<$ArgsType$>(args)); } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True 0 True 1 True list("private,protected virtual") 2 True hl3DefineParameter Defines a parameter property as well as the corresponding Parameters.Add() statement which can be copied to the constructor. $ParameterVisibility$ I$ParameterType$Parameter<$ParameterDataType$> $ParameterName$Parameter { get { return (I$ParameterType$Parameter<$ParameterDataType$>)Parameters["$ParameterName$"]; } } // Parameters.Add(new $ParameterType$Parameter<$ParameterDataType$>("$ParameterName$", "$ParameterDescription$")); True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True list("private,protected,public,internal,protected internal") 0 True list("Value,Lookup,ValueLookup,ScopeTreeLookup,Scope,Operator,OptionalValue,ConstrainedValue,OptionalConstrainedValue,FixedValue") 1 True constant("IntValue") 2 True constant("MyValue") 3 True constant("Please provide a description!") 4 True hl3License Inserts HeuristicLab's GPL license header #region License Information /* HeuristicLab * Copyright (C) 2002-$year$ Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. */ #endregion True True HeuristicLab Imported 06.01.2013 True True InCSharpFile 2.0 True getCurrentDate("yyyy") -1 0 True hl3SerializationHook Inserts a serialization hook [StorableHook(HookType.$Type$erialization)] private void $Type$erialization() { } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True list("AfterDes,BeforeS") 0 True hl3StorableConstructor Creates a storable constructor [StorableConstructor] $ConstructorVisibility$ $Classname$(bool deserializing) : base(deserializing) { } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeMember 4.0 True list("private,protected") 0 True typeName() -1 1 True hl3ViewClass Creates a partial view class to replace the auto-generated class when adding a new UserControl [View("$ViewName$")] [Content(typeof($ContentType$), IsDefaultView = $DefaultView$)] public sealed partial class $ContentType$View : $BaseView$ { public new $ContentType$ Content { get { return ($ContentType$)base.Content; } set { base.Content = value; } } public $ContentType$View() { InitializeComponent(); } protected override void DeregisterContentEvents() { // TODO: Deregister your event handlers here base.DeregisterContentEvents(); } protected override void RegisterContentEvents() { base.RegisterContentEvents(); // TODO: Register your event handlers here } #region Event Handlers (Content) // TODO: Put event handlers of the content here #endregion protected override void OnContentChanged() { base.OnContentChanged(); if (Content == null) { // TODO: Add code when content has been changed and is null } else { // TODO: Add code when content has been changed and is not null } } protected override void SetEnabledStateOfControls() { base.SetEnabledStateOfControls(); // TODO: Enable or disable controls based on whether the content is null or the view is set readonly } #region Event Handlers (child controls) // TODO: Put event handlers of child controls here. #endregion } True True HeuristicLab Imported 06.01.2013 True True InCSharpTypeAndNamespace 4.0 True 0 True 1 True list("false,true") 2 True constant("ItemView") 3