Changeset 9040


Ignore:
Timestamp:
12/12/12 14:53:54 (5 years ago)
Author:
abeham
Message:

#1985:

  • Added camera icon
  • Rewrote time matching to use regular expressions
  • Changed item name of TimeLimitRun
Location:
branches/RuntimeOptimizer
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • branches/RuntimeOptimizer/HeuristicLab.Common.Resources/3.3/HeuristicLab.Common.Resources-3.3.csproj

    r8600 r9040  
    430430  </ItemGroup>
    431431  <ItemGroup>
     432    <None Include="Resources\VS2010ImageLibrary\camera.png" />
    432433    <None Include="Resources\VS2010ImageLibrary\VS2010ImageLibrary_Actions_SaveAsHH.png" />
    433     <None Include="Resources\SaveAs.bmp" />
    434434    <Content Include="Resources\VS2008ImageLibrary\VS2008ImageLibrary_Actions_Checkout.png" />
    435435    <Content Include="Resources\VS2008ImageLibrary\VS2008ImageLibrary_Actions_Clone.png" />
     
    500500  -->
    501501  <PropertyGroup>
    502    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     502    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    503503set ProjectDir=$(ProjectDir)
    504504set SolutionDir=$(SolutionDir)
     
    507507call PreBuildEvent.cmd
    508508</PreBuildEvent>
    509 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     509    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    510510export ProjectDir=$(ProjectDir)
    511511export SolutionDir=$(SolutionDir)
  • branches/RuntimeOptimizer/HeuristicLab.Common.Resources/3.3/VSImageLibrary.Designer.cs

    r7956 r9040  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.269
     4//     Runtime Version:4.0.30319.17929
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    6161        }
    6262       
     63        /// <summary>
     64        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     65        /// </summary>
    6366        public static System.Drawing.Bitmap ActualSize {
    6467            get {
     
    6871        }
    6972       
     73        /// <summary>
     74        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     75        /// </summary>
    7076        public static System.Drawing.Bitmap Add {
    7177            get {
     
    7581        }
    7682       
     83        /// <summary>
     84        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     85        /// </summary>
    7786        public static System.Drawing.Bitmap ArrowDown {
    7887            get {
     
    8291        }
    8392       
     93        /// <summary>
     94        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     95        /// </summary>
    8496        public static System.Drawing.Bitmap ArrowUp {
    8597            get {
     
    89101        }
    90102       
     103        /// <summary>
     104        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     105        /// </summary>
    91106        public static System.Drawing.Bitmap Assembly {
    92107            get {
     
    96111        }
    97112       
     113        /// <summary>
     114        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     115        /// </summary>
    98116        public static System.Drawing.Bitmap BatchRunPaused {
    99117            get {
     
    103121        }
    104122       
     123        /// <summary>
     124        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     125        /// </summary>
    105126        public static System.Drawing.Bitmap BatchRunPrepared {
    106127            get {
     
    110131        }
    111132       
     133        /// <summary>
     134        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     135        /// </summary>
    112136        public static System.Drawing.Bitmap BatchRunStarted {
    113137            get {
     
    117141        }
    118142       
     143        /// <summary>
     144        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     145        /// </summary>
    119146        public static System.Drawing.Bitmap BatchRunStopped {
    120147            get {
     
    124151        }
    125152       
     153        /// <summary>
     154        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     155        /// </summary>
    126156        public static System.Drawing.Bitmap Breakpoint {
    127157            get {
     
    131161        }
    132162       
     163        /// <summary>
     164        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     165        /// </summary>
    133166        public static System.Drawing.Bitmap BreakpointActive {
    134167            get {
     
    138171        }
    139172       
     173        /// <summary>
     174        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     175        /// </summary>
    140176        public static System.Drawing.Bitmap BreakpointInactive {
    141177            get {
     
    145181        }
    146182       
     183        /// <summary>
     184        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     185        /// </summary>
    147186        public static System.Drawing.Bitmap Cab {
    148187            get {
     
    152191        }
    153192       
     193        /// <summary>
     194        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     195        /// </summary>
     196        public static System.Drawing.Bitmap Camera {
     197            get {
     198                object obj = ResourceManager.GetObject("Camera", resourceCulture);
     199                return ((System.Drawing.Bitmap)(obj));
     200            }
     201        }
     202       
     203        /// <summary>
     204        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     205        /// </summary>
    154206        public static System.Drawing.Bitmap Checkout {
    155207            get {
     
    159211        }
    160212       
     213        /// <summary>
     214        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     215        /// </summary>
    161216        public static System.Drawing.Bitmap Class {
    162217            get {
     
    166221        }
    167222       
     223        /// <summary>
     224        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     225        /// </summary>
    168226        public static System.Drawing.Bitmap Clone {
    169227            get {
     
    173231        }
    174232       
     233        /// <summary>
     234        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     235        /// </summary>
    175236        public static System.Drawing.Bitmap Collapse {
    176237            get {
     
    180241        }
    181242       
     243        /// <summary>
     244        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     245        /// </summary>
    182246        public static System.Drawing.Bitmap Comment {
    183247            get {
     
    187251        }
    188252       
     253        /// <summary>
     254        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     255        /// </summary>
    189256        public static System.Drawing.Bitmap Component {
    190257            get {
     
    194261        }
    195262       
     263        /// <summary>
     264        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     265        /// </summary>
    196266        public static System.Drawing.Bitmap Constant {
    197267            get {
     
    201271        }
    202272       
     273        /// <summary>
     274        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     275        /// </summary>
    203276        public static System.Drawing.Bitmap Control {
    204277            get {
     
    208281        }
    209282       
     283        /// <summary>
     284        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     285        /// </summary>
    210286        public static System.Drawing.Bitmap Copy {
    211287            get {
     
    215291        }
    216292       
     293        /// <summary>
     294        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     295        /// </summary>
    217296        public static System.Drawing.Bitmap Cut {
    218297            get {
     
    222301        }
    223302       
     303        /// <summary>
     304        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     305        /// </summary>
    224306        public static System.Drawing.Bitmap Database {
    225307            get {
     
    229311        }
    230312       
     313        /// <summary>
     314        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     315        /// </summary>
    231316        public static System.Drawing.Bitmap DatabaseModified {
    232317            get {
     
    236321        }
    237322       
     323        /// <summary>
     324        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     325        /// </summary>
    238326        public static System.Drawing.Bitmap Delegate {
    239327            get {
     
    243331        }
    244332       
     333        /// <summary>
     334        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     335        /// </summary>
    245336        public static System.Drawing.Bitmap Delete {
    246337            get {
     
    250341        }
    251342       
     343        /// <summary>
     344        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     345        /// </summary>
    252346        public static System.Drawing.Bitmap DeleteFolder {
    253347            get {
     
    257351        }
    258352       
     353        /// <summary>
     354        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     355        /// </summary>
    259356        public static System.Drawing.Bitmap Disconnect {
    260357            get {
     
    264361        }
    265362       
     363        /// <summary>
     364        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     365        /// </summary>
    266366        public static System.Drawing.Bitmap DisplayInColor {
    267367            get {
     
    271371        }
    272372       
     373        /// <summary>
     374        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     375        /// </summary>
    273376        public static System.Drawing.Bitmap DisplayInColorVertical {
    274377            get {
     
    278381        }
    279382       
     383        /// <summary>
     384        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     385        /// </summary>
    280386        public static System.Drawing.Bitmap Document {
    281387            get {
     
    285391        }
    286392       
     393        /// <summary>
     394        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     395        /// </summary>
    287396        public static System.Drawing.Bitmap Drive {
    288397            get {
     
    292401        }
    293402       
     403        /// <summary>
     404        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     405        /// </summary>
    294406        public static System.Drawing.Bitmap Edit {
    295407            get {
     
    299411        }
    300412       
     413        /// <summary>
     414        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     415        /// </summary>
    301416        public static System.Drawing.Bitmap EditBrightnessContrast {
    302417            get {
     
    306421        }
    307422       
     423        /// <summary>
     424        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     425        /// </summary>
    308426        public static System.Drawing.Bitmap EditInformation {
    309427            get {
     
    313431        }
    314432       
     433        /// <summary>
     434        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     435        /// </summary>
    315436        public static System.Drawing.Bitmap EditTable {
    316437            get {
     
    320441        }
    321442       
     443        /// <summary>
     444        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     445        /// </summary>
    322446        public static System.Drawing.Bitmap Enum {
    323447            get {
     
    327451        }
    328452       
     453        /// <summary>
     454        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     455        /// </summary>
    329456        public static System.Drawing.Bitmap EnumItem {
    330457            get {
     
    334461        }
    335462       
     463        /// <summary>
     464        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     465        /// </summary>
    336466        public static System.Drawing.Bitmap Error {
    337467            get {
     
    341471        }
    342472       
     473        /// <summary>
     474        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     475        /// </summary>
    343476        public static System.Drawing.Bitmap Event {
    344477            get {
     
    348481        }
    349482       
     483        /// <summary>
     484        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     485        /// </summary>
    350486        public static System.Drawing.Bitmap Exception {
    351487            get {
     
    355491        }
    356492       
     493        /// <summary>
     494        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     495        /// </summary>
    357496        public static System.Drawing.Bitmap ExecutablePaused {
    358497            get {
     
    362501        }
    363502       
     503        /// <summary>
     504        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     505        /// </summary>
    364506        public static System.Drawing.Bitmap ExecutablePrepared {
    365507            get {
     
    369511        }
    370512       
     513        /// <summary>
     514        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     515        /// </summary>
    371516        public static System.Drawing.Bitmap ExecutableStarted {
    372517            get {
     
    376521        }
    377522       
     523        /// <summary>
     524        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     525        /// </summary>
    378526        public static System.Drawing.Bitmap ExecutableStopped {
    379527            get {
     
    383531        }
    384532       
     533        /// <summary>
     534        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     535        /// </summary>
    385536        public static System.Drawing.Bitmap Expand {
    386537            get {
     
    390541        }
    391542       
     543        /// <summary>
     544        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     545        /// </summary>
    392546        public static System.Drawing.Bitmap ExperimentPaused {
    393547            get {
     
    397551        }
    398552       
     553        /// <summary>
     554        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     555        /// </summary>
    399556        public static System.Drawing.Bitmap ExperimentPrepared {
    400557            get {
     
    404561        }
    405562       
     563        /// <summary>
     564        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     565        /// </summary>
    406566        public static System.Drawing.Bitmap ExperimentStarted {
    407567            get {
     
    411571        }
    412572       
     573        /// <summary>
     574        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     575        /// </summary>
    413576        public static System.Drawing.Bitmap ExperimentStopped {
    414577            get {
     
    418581        }
    419582       
     583        /// <summary>
     584        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     585        /// </summary>
    420586        public static System.Drawing.Bitmap Field {
    421587            get {
     
    425591        }
    426592       
     593        /// <summary>
     594        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     595        /// </summary>
    427596        public static System.Drawing.Bitmap File {
    428597            get {
     
    432601        }
    433602       
     603        /// <summary>
     604        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     605        /// </summary>
    434606        public static System.Drawing.Bitmap Filter {
    435607            get {
     
    439611        }
    440612       
     613        /// <summary>
     614        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     615        /// </summary>
    441616        public static System.Drawing.Bitmap FlagBlue {
    442617            get {
     
    446621        }
    447622       
     623        /// <summary>
     624        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     625        /// </summary>
    448626        public static System.Drawing.Bitmap FlagGreen {
    449627            get {
     
    453631        }
    454632       
     633        /// <summary>
     634        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     635        /// </summary>
    455636        public static System.Drawing.Bitmap FlagRed {
    456637            get {
     
    460641        }
    461642       
     643        /// <summary>
     644        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     645        /// </summary>
    462646        public static System.Drawing.Bitmap FormulaEvaluator {
    463647            get {
     
    467651        }
    468652       
     653        /// <summary>
     654        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     655        /// </summary>
    469656        public static System.Drawing.Bitmap Function {
    470657            get {
     
    474661        }
    475662       
     663        /// <summary>
     664        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     665        /// </summary>
    476666        public static System.Drawing.Bitmap Gradient {
    477667            get {
     
    481671        }
    482672       
     673        /// <summary>
     674        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     675        /// </summary>
    483676        public static System.Drawing.Bitmap Graph {
    484677            get {
     
    488681        }
    489682       
     683        /// <summary>
     684        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     685        /// </summary>
    490686        public static System.Drawing.Bitmap Help {
    491687            get {
     
    495691        }
    496692       
     693        /// <summary>
     694        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     695        /// </summary>
    497696        public static System.Drawing.Bitmap HiddenField {
    498697            get {
     
    502701        }
    503702       
     703        /// <summary>
     704        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     705        /// </summary>
    504706        public static System.Drawing.Bitmap HighPriorityLarge {
    505707            get {
     
    509711        }
    510712       
     713        /// <summary>
     714        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     715        /// </summary>
    511716        public static System.Drawing.Bitmap Image {
    512717            get {
     
    516721        }
    517722       
     723        /// <summary>
     724        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     725        /// </summary>
    518726        public static System.Drawing.Bitmap Information {
    519727            get {
     
    523731        }
    524732       
     733        /// <summary>
     734        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     735        /// </summary>
    525736        public static System.Drawing.Bitmap InformationLarge {
    526737            get {
     
    530741        }
    531742       
     743        /// <summary>
     744        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     745        /// </summary>
    532746        public static System.Drawing.Bitmap Install {
    533747            get {
     
    537751        }
    538752       
     753        /// <summary>
     754        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     755        /// </summary>
    539756        public static System.Drawing.Bitmap Interface {
    540757            get {
     
    544761        }
    545762       
     763        /// <summary>
     764        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     765        /// </summary>
    546766        public static System.Drawing.Bitmap Internet {
    547767            get {
     
    551771        }
    552772       
     773        /// <summary>
     774        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     775        /// </summary>
    553776        public static System.Drawing.Bitmap Library {
    554777            get {
     
    558781        }
    559782       
     783        /// <summary>
     784        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     785        /// </summary>
    560786        public static System.Drawing.Bitmap Macro {
    561787            get {
     
    565791        }
    566792       
     793        /// <summary>
     794        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     795        /// </summary>
    567796        public static System.Drawing.Bitmap Map {
    568797            get {
     
    572801        }
    573802       
     803        /// <summary>
     804        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     805        /// </summary>
    574806        public static System.Drawing.Bitmap MapItem {
    575807            get {
     
    579811        }
    580812       
     813        /// <summary>
     814        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     815        /// </summary>
    581816        public static System.Drawing.Bitmap Method {
    582817            get {
     
    586821        }
    587822       
     823        /// <summary>
     824        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     825        /// </summary>
    588826        public static System.Drawing.Bitmap MethodOverload {
    589827            get {
     
    593831        }
    594832       
     833        /// <summary>
     834        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     835        /// </summary>
    595836        public static System.Drawing.Bitmap Module {
    596837            get {
     
    600841        }
    601842       
     843        /// <summary>
     844        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     845        /// </summary>
    602846        public static System.Drawing.Bitmap MonitorLarge {
    603847            get {
     
    607851        }
    608852       
     853        /// <summary>
     854        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     855        /// </summary>
    609856        public static System.Drawing.Bitmap MoveFirst {
    610857            get {
     
    614861        }
    615862       
     863        /// <summary>
     864        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     865        /// </summary>
    616866        public static System.Drawing.Bitmap MoveLast {
    617867            get {
     
    621871        }
    622872       
     873        /// <summary>
     874        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     875        /// </summary>
    623876        public static System.Drawing.Bitmap MoveNext {
    624877            get {
     
    628881        }
    629882       
     883        /// <summary>
     884        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     885        /// </summary>
    630886        public static System.Drawing.Bitmap MovePrevious {
    631887            get {
     
    635891        }
    636892       
     893        /// <summary>
     894        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     895        /// </summary>
    637896        public static System.Drawing.Bitmap Namespace {
    638897            get {
     
    642901        }
    643902       
     903        /// <summary>
     904        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     905        /// </summary>
    644906        public static System.Drawing.Bitmap NetworkCenterLarge {
    645907            get {
     
    649911        }
    650912       
     913        /// <summary>
     914        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     915        /// </summary>
    651916        public static System.Drawing.Bitmap NetworkConnections {
    652917            get {
     
    656921        }
    657922       
     923        /// <summary>
     924        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     925        /// </summary>
    658926        public static System.Drawing.Bitmap NewDocument {
    659927            get {
     
    663931        }
    664932       
     933        /// <summary>
     934        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     935        /// </summary>
    665936        public static System.Drawing.Bitmap NewFolder {
    666937            get {
     
    670941        }
    671942       
     943        /// <summary>
     944        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     945        /// </summary>
    672946        public static System.Drawing.Bitmap Nothing {
    673947            get {
     
    677951        }
    678952       
     953        /// <summary>
     954        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     955        /// </summary>
    679956        public static System.Drawing.Bitmap Object {
    680957            get {
     
    684961        }
    685962       
     963        /// <summary>
     964        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     965        /// </summary>
    686966        public static System.Drawing.Bitmap Open {
    687967            get {
     
    691971        }
    692972       
     973        /// <summary>
     974        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     975        /// </summary>
    693976        public static System.Drawing.Bitmap Operator {
    694977            get {
     
    698981        }
    699982       
     983        /// <summary>
     984        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     985        /// </summary>
    700986        public static System.Drawing.Bitmap OrgChart {
    701987            get {
     
    705991        }
    706992       
     993        /// <summary>
     994        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     995        /// </summary>
    707996        public static System.Drawing.Bitmap Paste {
    708997            get {
     
    7121001        }
    7131002       
     1003        /// <summary>
     1004        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1005        /// </summary>
    7141006        public static System.Drawing.Bitmap Pause {
    7151007            get {
     
    7191011        }
    7201012       
     1013        /// <summary>
     1014        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1015        /// </summary>
    7211016        public static System.Drawing.Bitmap Performance {
    7221017            get {
     
    7261021        }
    7271022       
     1023        /// <summary>
     1024        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1025        /// </summary>
    7281026        public static System.Drawing.Bitmap PieChart {
    7291027            get {
     
    7331031        }
    7341032       
     1033        /// <summary>
     1034        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1035        /// </summary>
    7351036        public static System.Drawing.Bitmap Play {
    7361037            get {
     
    7401041        }
    7411042       
     1043        /// <summary>
     1044        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1045        /// </summary>
    7421046        public static System.Drawing.Bitmap Pointer {
    7431047            get {
     
    7471051        }
    7481052       
     1053        /// <summary>
     1054        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1055        /// </summary>
    7491056        public static System.Drawing.Bitmap Print {
    7501057            get {
     
    7541061        }
    7551062       
     1063        /// <summary>
     1064        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1065        /// </summary>
    7561066        public static System.Drawing.Bitmap PrintPreview {
    7571067            get {
     
    7611071        }
    7621072       
     1073        /// <summary>
     1074        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1075        /// </summary>
    7631076        public static System.Drawing.Bitmap Properties {
    7641077            get {
     
    7681081        }
    7691082       
     1083        /// <summary>
     1084        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1085        /// </summary>
    7701086        public static System.Drawing.Bitmap ProtectForm {
    7711087            get {
     
    7751091        }
    7761092       
     1093        /// <summary>
     1094        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1095        /// </summary>
    7771096        public static System.Drawing.Bitmap PublishToWeb {
    7781097            get {
     
    7821101        }
    7831102       
     1103        /// <summary>
     1104        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1105        /// </summary>
    7841106        public static System.Drawing.Bitmap RadialChart {
    7851107            get {
     
    7891111        }
    7901112       
     1113        /// <summary>
     1114        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1115        /// </summary>
    7911116        public static System.Drawing.Bitmap Redo {
    7921117            get {
     
    7961121        }
    7971122       
     1123        /// <summary>
     1124        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1125        /// </summary>
    7981126        public static System.Drawing.Bitmap Refresh {
    7991127            get {
     
    8031131        }
    8041132       
     1133        /// <summary>
     1134        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1135        /// </summary>
    8051136        public static System.Drawing.Bitmap RefreshDocument {
    8061137            get {
     
    8101141        }
    8111142       
     1143        /// <summary>
     1144        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1145        /// </summary>
    8121146        public static System.Drawing.Bitmap Remove {
    8131147            get {
     
    8171151        }
    8181152       
     1153        /// <summary>
     1154        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1155        /// </summary>
    8191156        public static System.Drawing.Bitmap Restart {
    8201157            get {
     
    8241161        }
    8251162       
     1163        /// <summary>
     1164        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1165        /// </summary>
    8261166        public static System.Drawing.Bitmap Save {
    8271167            get {
     
    8311171        }
    8321172       
     1173        /// <summary>
     1174        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1175        /// </summary>
    8331176        public static System.Drawing.Bitmap SaveAll {
    8341177            get {
     
    8381181        }
    8391182       
     1183        /// <summary>
     1184        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1185        /// </summary>
    8401186        public static System.Drawing.Bitmap SaveAs {
    8411187            get {
     
    8451191        }
    8461192       
     1193        /// <summary>
     1194        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1195        /// </summary>
    8471196        public static System.Drawing.Bitmap Script {
    8481197            get {
     
    8521201        }
    8531202       
     1203        /// <summary>
     1204        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1205        /// </summary>
    8541206        public static System.Drawing.Bitmap Sort {
    8551207            get {
     
    8591211        }
    8601212       
     1213        /// <summary>
     1214        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1215        /// </summary>
    8611216        public static System.Drawing.Bitmap SortUp {
    8621217            get {
     
    8661221        }
    8671222       
     1223        /// <summary>
     1224        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1225        /// </summary>
    8681226        public static System.Drawing.Bitmap Statistics {
    8691227            get {
     
    8731231        }
    8741232       
     1233        /// <summary>
     1234        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1235        /// </summary>
    8751236        public static System.Drawing.Bitmap Stop {
    8761237            get {
     
    8801241        }
    8811242       
     1243        /// <summary>
     1244        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1245        /// </summary>
    8821246        public static System.Drawing.Bitmap Structure {
    8831247            get {
     
    8871251        }
    8881252       
     1253        /// <summary>
     1254        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1255        /// </summary>
    8891256        public static System.Drawing.Bitmap Table {
    8901257            get {
     
    8941261        }
    8951262       
     1263        /// <summary>
     1264        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1265        /// </summary>
    8961266        public static System.Drawing.Bitmap Template {
    8971267            get {
     
    9011271        }
    9021272       
     1273        /// <summary>
     1274        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1275        /// </summary>
    9031276        public static System.Drawing.Bitmap Timer {
    9041277            get {
     
    9081281        }
    9091282       
     1283        /// <summary>
     1284        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1285        /// </summary>
    9101286        public static System.Drawing.Bitmap TrackBar {
    9111287            get {
     
    9151291        }
    9161292       
     1293        /// <summary>
     1294        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1295        /// </summary>
    9171296        public static System.Drawing.Bitmap Type {
    9181297            get {
     
    9221301        }
    9231302       
     1303        /// <summary>
     1304        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1305        /// </summary>
    9241306        public static System.Drawing.Bitmap TypeDef {
    9251307            get {
     
    9291311        }
    9301312       
     1313        /// <summary>
     1314        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1315        /// </summary>
    9311316        public static System.Drawing.Bitmap Undo {
    9321317            get {
     
    9361321        }
    9371322       
     1323        /// <summary>
     1324        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1325        /// </summary>
    9381326        public static System.Drawing.Bitmap Union {
    9391327            get {
     
    9431331        }
    9441332       
     1333        /// <summary>
     1334        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1335        /// </summary>
    9451336        public static System.Drawing.Bitmap User {
    9461337            get {
     
    9501341        }
    9511342       
     1343        /// <summary>
     1344        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1345        /// </summary>
    9521346        public static System.Drawing.Bitmap UserAccounts {
    9531347            get {
     
    9571351        }
    9581352       
     1353        /// <summary>
     1354        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1355        /// </summary>
    9591356        public static System.Drawing.Bitmap ValueType {
    9601357            get {
     
    9641361        }
    9651362       
     1363        /// <summary>
     1364        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1365        /// </summary>
    9661366        public static System.Drawing.Bitmap Warning {
    9671367            get {
     
    9711371        }
    9721372       
     1373        /// <summary>
     1374        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1375        /// </summary>
    9731376        public static System.Drawing.Bitmap Windows {
    9741377            get {
     
    9781381        }
    9791382       
     1383        /// <summary>
     1384        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1385        /// </summary>
    9801386        public static System.Drawing.Bitmap Zoom {
    9811387            get {
     
    9851391        }
    9861392       
     1393        /// <summary>
     1394        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1395        /// </summary>
    9871396        public static System.Drawing.Bitmap ZoomIn {
    9881397            get {
     
    9921401        }
    9931402       
     1403        /// <summary>
     1404        ///   Looks up a localized resource of type System.Drawing.Bitmap.
     1405        /// </summary>
    9941406        public static System.Drawing.Bitmap ZoomOut {
    9951407            get {
  • branches/RuntimeOptimizer/HeuristicLab.Common.Resources/3.3/VSImageLibrary.resx

    r7956 r9040  
    521521    <value>Resources\VS2010ImageLibrary\VS2010ImageLibrary_Actions_SaveAsHH.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
    522522  </data>
     523  <data name="Camera" type="System.Resources.ResXFileRef, System.Windows.Forms">
     524    <value>Resources\VS2010ImageLibrary\camera.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     525  </data>
    523526</root>
  • branches/RuntimeOptimizer/HeuristicLab.Optimization.Views/3.3/TimeLimitRunView.Designer.cs

    r8975 r9040  
    113113      // timeLimitTextBox
    114114      //
    115       this.timeLimitTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     115      this.timeLimitTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    116116            | System.Windows.Forms.AnchorStyles.Right)));
    117117      this.timeLimitTextBox.Location = new System.Drawing.Point(69, 26);
     
    132132      // snapshotsTextBox
    133133      //
    134       this.snapshotsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     134      this.snapshotsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    135135            | System.Windows.Forms.AnchorStyles.Right)));
    136136      this.snapshotsTextBox.Location = new System.Drawing.Point(69, 52);
     
    155155      //
    156156      this.tabControl.AllowDrop = true;
    157       this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    158             | System.Windows.Forms.AnchorStyles.Left)
     157      this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     158            | System.Windows.Forms.AnchorStyles.Left) 
    159159            | System.Windows.Forms.AnchorStyles.Right)));
    160160      this.tabControl.Controls.Add(this.algorithmTabPage);
     
    186186      // algorithmViewHost
    187187      //
    188       this.algorithmViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    189             | System.Windows.Forms.AnchorStyles.Left)
     188      this.algorithmViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     189            | System.Windows.Forms.AnchorStyles.Left) 
    190190            | System.Windows.Forms.AnchorStyles.Right)));
    191191      this.algorithmViewHost.Caption = "View";
     
    202202      // openAlgorithmButton
    203203      //
    204       this.openAlgorithmButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Open;
     204      this.openAlgorithmButton.Image = ((System.Drawing.Image)(resources.GetObject("openAlgorithmButton.Image")));
    205205      this.openAlgorithmButton.Location = new System.Drawing.Point(36, 6);
    206206      this.openAlgorithmButton.Name = "openAlgorithmButton";
     
    213213      // newAlgorithmButton
    214214      //
    215       this.newAlgorithmButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.NewDocument;
     215      this.newAlgorithmButton.Image = ((System.Drawing.Image)(resources.GetObject("newAlgorithmButton.Image")));
    216216      this.newAlgorithmButton.Location = new System.Drawing.Point(6, 6);
    217217      this.newAlgorithmButton.Name = "newAlgorithmButton";
     
    235235      // snapshotsView
    236236      //
    237       this.snapshotsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    238             | System.Windows.Forms.AnchorStyles.Left)
     237      this.snapshotsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     238            | System.Windows.Forms.AnchorStyles.Left) 
    239239            | System.Windows.Forms.AnchorStyles.Right)));
    240240      this.snapshotsView.Caption = "RunCollection View";
     
    258258      // runsView
    259259      //
    260       this.runsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    261             | System.Windows.Forms.AnchorStyles.Left)
     260      this.runsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     261            | System.Windows.Forms.AnchorStyles.Left) 
    262262            | System.Windows.Forms.AnchorStyles.Right)));
    263263      this.runsView.Caption = "RunCollection View";
     
    284284      this.snapshotButton.TabIndex = 13;
    285285      this.snapshotButton.Text = "Snapshot";
     286      this.toolTip.SetToolTip(this.snapshotButton, "Create Snapshot");
    286287      this.snapshotButton.UseVisualStyleBackColor = true;
    287288      this.snapshotButton.Click += new System.EventHandler(this.snapshotButton_Click);
  • branches/RuntimeOptimizer/HeuristicLab.Optimization.Views/3.3/TimeLimitRunView.cs

    r8977 r9040  
    2323using System.ComponentModel;
    2424using System.Linq;
     25using System.Text.RegularExpressions;
    2526using System.Windows.Forms;
    2627using HeuristicLab.Collections;
     
    4849      InitializeComponent();
    4950      snapshotButton.Text = String.Empty;
    50       snapshotButton.Image = VSImageLibrary.Breakpoint;
     51      snapshotButton.Image = VSImageLibrary.Camera;
    5152    }
    5253
     
    208209      errorProvider.SetError(timeLimitTextBox, String.Empty);
    209210
    210       var tokens = snapshotsTextBox.Text.Trim().Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
    211 
    212211      var snapshotTimes = new ObservableList<TimeSpan>();
    213       foreach (var t in tokens) {
     212      var matches = Regex.Matches(snapshotsTextBox.Text, @"(\d+[ \t]*\w+)");
     213      foreach (Match m in matches) {
    214214        TimeSpan value;
    215         if (!TryGetTimeSpanFromFormat(t, out value)) {
    216           e.Cancel = true;
    217           errorProvider.SetError(snapshotsTextBox, "Error parsing " + t + ", please provide a valid time span, e.g. 60, 20s, 45 seconds, 3h, 1 hour, 4 d, 2 days");
     215        if (!TryGetTimeSpanFromFormat(m.Value, out value)) {
     216          e.Cancel = !snapshotsTextBox.ReadOnly && snapshotsTextBox.Enabled; // don't cancel an operation that cannot be edited
     217          errorProvider.SetError(snapshotsTextBox, "Error parsing " + m.Value + ", please provide a valid time span, e.g. 60, 20s, 45 seconds, 3h, 1 hour, 4 d, 2 days");
    218218          return;
    219219        } else {
     
    317317    private bool TryGetTimeSpanFromFormat(string text, out TimeSpan result) {
    318318      double value;
    319       text = text.Trim();
    320       var length = text.Length;
    321       while (!double.TryParse(text.Substring(0, length), out value)) {
    322         length--;
    323         if (length <= 0) {
    324           value = double.NaN;
    325           break;
    326         }
    327       }
    328       if (double.IsNaN(value)) {
    329         result = TimeSpan.Zero;
     319      result = TimeSpan.Zero;
     320
     321      var numberMatch = Regex.Match(text, @"\d+");
     322      if (!numberMatch.Success) return false;
     323
     324      if (!double.TryParse(numberMatch.Value, out value))
    330325        return false;
    331       } else {
    332         var remaining = String.Empty;
    333         if (length < text.Length) remaining = text.Substring(length, text.Length - length);
    334         switch (remaining.Trim()) {
    335           case "d":
    336           case "day":
    337           case "days": result = TimeSpan.FromDays(value); break;
    338           case "h":
    339           case "hour":
    340           case "hours": result = TimeSpan.FromHours(value); break;
    341           case "min":
    342           case "minute":
    343           case "minutes": result = TimeSpan.FromMinutes(value); break;
    344           default: result = TimeSpan.FromSeconds(value); break;
    345         }
    346         return true;
    347       }
     326
     327      var unitMatch = Regex.Match(text, @"[a-zA-Z]+$");
     328      if (!unitMatch.Success) return false;
     329
     330      switch (unitMatch.Value) {
     331        case "d":
     332        case "day":
     333        case "days": result = TimeSpan.FromDays(value); break;
     334        case "h":
     335        case "hour":
     336        case "hours": result = TimeSpan.FromHours(value); break;
     337        case "min":
     338        case "minute":
     339        case "minutes": result = TimeSpan.FromMinutes(value); break;
     340        case "s":
     341        case "second":
     342        case "seconds": result = TimeSpan.FromSeconds(value); break;
     343        default: return false;
     344      }
     345      return true;
    348346    }
    349347  }
  • branches/RuntimeOptimizer/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs

    r8977 r9040  
    3838  /// A run in which an algorithm is executed for a certain maximum time only.
    3939  /// </summary>
    40   [Item("TimeLimitRun", "A run in which an optimizer is executed a certain maximum time.")]
     40  [Item("TimeLimit Run", "A run in which an optimizer is executed a certain maximum time.")]
    4141  [Creatable("Testing & Analysis")]
    4242  [StorableClass]
     
    359359      var algRun = cloner.Clone(Algorithm.Runs.Last());
    360360      var clonedSnapshots = cloner.Clone(snapshots);
    361       try {
    362         algRun.Results.Add("Snapshots", clonedSnapshots);
    363       } catch (ArgumentException ex) { // Snapshots already exists
    364         // TODO strategy?
    365       }
     361      algRun.Results.Add("TimeLimitRunSnapshots", clonedSnapshots);
    366362      Runs.Add(algRun);
    367363      Algorithm.Runs.Clear();
Note: See TracChangeset for help on using the changeset viewer.