Changeset 13656 for branches/WebJobManager/HeuristicLab.Core/3.3
- Timestamp:
- 03/07/16 10:18:05 (8 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 16 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemArray.cs
r12012 r13656 32 32 [Item("ItemArray", "Represents an array of items.")] 33 33 public class ItemArray<T> : ObservableArray<T>, IItemArray<T> where T : class, IItem { 34 public virtual string ItemName { 34 public virtual string ItemName 35 { 35 36 get { return ItemAttribute.GetName(this.GetType()); } 36 37 } 37 public virtual string ItemDescription { 38 public virtual string ItemDescription 39 { 38 40 get { return ItemAttribute.GetDescription(this.GetType()); } 39 41 } 40 public Version ItemVersion { 42 public Version ItemVersion 43 { 41 44 get { return ItemAttribute.GetVersion(this.GetType()); } 42 45 } 43 public static Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 46 public static Image StaticItemImage 47 { 48 get { return new Bitmap(25, 25); } 45 49 } 46 public virtual Image ItemImage { 50 public virtual Image ItemImage 51 { 47 52 get { return ItemAttribute.GetImage(this.GetType()); } 48 53 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemCollection.cs
r12012 r13656 32 32 [Item("ItemCollection", "Represents a collection of items.")] 33 33 public class ItemCollection<T> : ObservableCollection<T>, IItemCollection<T> where T : class, IItem { 34 public virtual string ItemName { 34 public virtual string ItemName 35 { 35 36 get { return ItemAttribute.GetName(this.GetType()); } 36 37 } 37 public virtual string ItemDescription { 38 public virtual string ItemDescription 39 { 38 40 get { return ItemAttribute.GetDescription(this.GetType()); } 39 41 } 40 public Version ItemVersion { 42 public Version ItemVersion 43 { 41 44 get { return ItemAttribute.GetVersion(this.GetType()); } 42 45 } 43 public static Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 46 public static Image StaticItemImage 47 { 48 get { return new Bitmap(25, 25); } 45 49 } 46 public virtual Image ItemImage { 50 public virtual Image ItemImage 51 { 47 52 get { return ItemAttribute.GetImage(this.GetType()); } 48 53 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs
r12907 r13656 34 34 where TValue : class, IItem { 35 35 36 public virtual string ItemName { 36 public virtual string ItemName 37 { 37 38 get { return ItemAttribute.GetName(this.GetType()); } 38 39 } 39 public virtual string ItemDescription { 40 public virtual string ItemDescription 41 { 40 42 get { return ItemAttribute.GetDescription(this.GetType()); } 41 43 } 42 public Version ItemVersion { 44 public Version ItemVersion 45 { 43 46 get { return ItemAttribute.GetVersion(this.GetType()); } 44 47 } 45 public static Image StaticItemImage { 46 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 48 public static Image StaticItemImage 49 { 50 get { return new Bitmap(25, 25); } 47 51 } 48 public virtual Image ItemImage { 52 public virtual Image ItemImage 53 { 49 54 get { return ItemAttribute.GetImage(this.GetType()); } 50 55 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemList.cs
r12012 r13656 32 32 [Item("ItemList", "Represents a list of items.")] 33 33 public class ItemList<T> : ObservableList<T>, IItemList<T> where T : class, IItem { 34 public virtual string ItemName { 34 public virtual string ItemName 35 { 35 36 get { return ItemAttribute.GetName(this.GetType()); } 36 37 } 37 public virtual string ItemDescription { 38 public virtual string ItemDescription 39 { 38 40 get { return ItemAttribute.GetDescription(this.GetType()); } 39 41 } 40 public Version ItemVersion { 42 public Version ItemVersion 43 { 41 44 get { return ItemAttribute.GetVersion(this.GetType()); } 42 45 } 43 public static Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 46 public static Image StaticItemImage 47 { 48 get { return new Bitmap(25, 25); } 45 49 } 46 public virtual Image ItemImage { 50 public virtual Image ItemImage 51 { 47 52 get { return ItemAttribute.GetImage(this.GetType()); } 48 53 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemSet.cs
r12012 r13656 32 32 [Item("ItemSet", "Represents a set of items.")] 33 33 public class ItemSet<T> : ObservableSet<T>, IItemSet<T> where T : class, IItem { 34 public virtual string ItemName { 34 public virtual string ItemName 35 { 35 36 get { return ItemAttribute.GetName(this.GetType()); } 36 37 } 37 public virtual string ItemDescription { 38 public virtual string ItemDescription 39 { 38 40 get { return ItemAttribute.GetDescription(this.GetType()); } 39 41 } 40 public Version ItemVersion { 42 public Version ItemVersion 43 { 41 44 get { return ItemAttribute.GetVersion(this.GetType()); } 42 45 } 43 public static Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 46 public static Image StaticItemImage 47 { 48 get { return new Bitmap(25, 25); } 45 49 } 46 public virtual Image ItemImage { 50 public virtual Image ItemImage 51 { 47 52 get { return ItemAttribute.GetImage(this.GetType()); } 48 53 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs
r12012 r13656 31 31 [StorableClass] 32 32 public abstract class KeyedItemCollection<TKey, TItem> : ObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 33 public virtual string ItemName { 33 public virtual string ItemName 34 { 34 35 get { return ItemAttribute.GetName(this.GetType()); } 35 36 } 36 public virtual string ItemDescription { 37 public virtual string ItemDescription 38 { 37 39 get { return ItemAttribute.GetDescription(this.GetType()); } 38 40 } 39 public Version ItemVersion { 41 public Version ItemVersion 42 { 40 43 get { return ItemAttribute.GetVersion(this.GetType()); } 41 44 } 42 public static Image StaticItemImage { 43 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 45 public static Image StaticItemImage 46 { 47 get { return new Bitmap(25, 25); } 44 48 } 45 public virtual Image ItemImage { 49 public virtual Image ItemImage 50 { 46 51 get { return ItemAttribute.GetImage(this.GetType()); } 47 52 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r12012 r13656 30 30 [Item("ReadOnlyItemArray", "Represents a read-only array of items.")] 31 31 public class ReadOnlyItemArray<T> : ReadOnlyObservableArray<T>, IItemArray<T> where T : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs
r12012 r13656 30 30 [Item("ReadOnlyItemCollection", "Represents a read-only collection of items.")] 31 31 public class ReadOnlyItemCollection<T> : ReadOnlyObservableCollection<T>, IItemCollection<T> where T : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs
r12012 r13656 33 33 where TValue : class, IItem { 34 34 35 public virtual string ItemName { 35 public virtual string ItemName 36 { 36 37 get { return ItemAttribute.GetName(this.GetType()); } 37 38 } 38 public virtual string ItemDescription { 39 public virtual string ItemDescription 40 { 39 41 get { return ItemAttribute.GetDescription(this.GetType()); } 40 42 } 41 public Version ItemVersion { 43 public Version ItemVersion 44 { 42 45 get { return ItemAttribute.GetVersion(this.GetType()); } 43 46 } 44 public static Image StaticItemImage { 45 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 47 public static Image StaticItemImage 48 { 49 get { return new Bitmap(25, 25); } 46 50 } 47 public virtual Image ItemImage { 51 public virtual Image ItemImage 52 { 48 53 get { return ItemAttribute.GetImage(this.GetType()); } 49 54 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs
r12012 r13656 30 30 [Item("ReadOnlyItemList", "Represents a read-only list of items.")] 31 31 public class ReadOnlyItemList<T> : ReadOnlyObservableList<T>, IItemList<T> where T : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs
r12012 r13656 30 30 [Item("ReadOnlyItemSet", "Represents a read-only set of items.")] 31 31 public class ReadOnlyItemSet<T> : ReadOnlyObservableSet<T>, IItemSet<T> where T : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r12012 r13656 30 30 [Item("ReadOnlyKeyedItemCollection", "Represents a read-only keyed collection of items.")] 31 31 public class ReadOnlyKeyedItemCollection<TKey, TItem> : ReadOnlyObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Executable.cs
r12012 r13656 29 29 [StorableClass] 30 30 public abstract class Executable : Item, IExecutable { 31 public static new Image StaticItemImage { 32 get { return HeuristicLab.Common.Resources.VSImageLibrary.Event; } 31 public static new Image StaticItemImage 32 { 33 get { return new Bitmap(25, 25); } 33 34 } 34 public override Image ItemImage { 35 get { 35 public override Image ItemImage 36 { 37 get 38 { 36 39 if (ExecutionState == ExecutionState.Prepared) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePrepared; 37 40 else if (ExecutionState == ExecutionState.Started) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; … … 44 47 [Storable] 45 48 private ExecutionState executionState; 46 public ExecutionState ExecutionState { 49 public ExecutionState ExecutionState 50 { 47 51 get { return executionState; } 48 private set { 52 private set 53 { 49 54 if (executionState != value) { 50 55 executionState = value; … … 57 62 [Storable] 58 63 private TimeSpan executionTime; 59 public TimeSpan ExecutionTime { 64 public TimeSpan ExecutionTime 65 { 60 66 get { return executionTime; } 61 protected set { 67 protected set 68 { 62 69 executionTime = value; 63 70 OnExecutionTimeChanged(); -
branches/WebJobManager/HeuristicLab.Core/3.3/Item.cs
r12012 r13656 32 32 [Item("Item", "Base class for all HeuristicLab items.")] 33 33 public abstract class Item : IItem { 34 public virtual string ItemName { 34 public virtual string ItemName 35 { 35 36 get { return ItemAttribute.GetName(this.GetType()); } 36 37 } 37 public virtual string ItemDescription { 38 public virtual string ItemDescription 39 { 38 40 get { return ItemAttribute.GetDescription(this.GetType()); } 39 41 } 40 public Version ItemVersion { 42 public Version ItemVersion 43 { 41 44 get { return ItemAttribute.GetVersion(this.GetType()); } 42 45 } 43 public static Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 46 public static Image StaticItemImage 47 { 48 get { return new Bitmap(25, 25); } 45 49 } 46 public virtual Image ItemImage { 50 public virtual Image ItemImage 51 { 47 52 get { return ItemAttribute.GetImage(this.GetType()); } 48 53 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Log.cs
r12012 r13656 33 33 public string Filename { get; set; } 34 34 35 public static new Image StaticItemImage { 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.File; } 35 public static new Image StaticItemImage 36 { 37 get { return new Bitmap(25, 25); } 37 38 } 38 39 39 40 [Storable] 40 41 private IList<string> messages; 41 public IEnumerable<string> Messages { 42 public IEnumerable<string> Messages 43 { 42 44 get { return messages; } 43 45 } … … 45 47 [Storable] 46 48 private long maxMessageCount; 47 public long MaxMessageCount { 49 public long MaxMessageCount 50 { 48 51 get { return maxMessageCount; } 49 52 } -
branches/WebJobManager/HeuristicLab.Core/3.3/Scope.cs
r12012 r13656 32 32 [StorableClass] 33 33 public sealed class Scope : NamedItem, IScope { 34 public static new Image StaticItemImage { 35 get { return HeuristicLab.Common.Resources.VSImageLibrary.OrgChart; } 34 public static new Image StaticItemImage 35 { 36 get { return new Bitmap(25, 25); } 36 37 } 37 38 38 39 [Storable] 39 40 private IScope parent; 40 public IScope Parent { 41 public IScope Parent 42 { 41 43 get { return parent; } 42 set { 44 set 45 { 43 46 if (parent != value) { 44 47 parent = value; … … 49 52 [Storable] 50 53 private VariableCollection variables; 51 public VariableCollection Variables { 54 public VariableCollection Variables 55 { 52 56 get { return variables; } 53 57 } … … 55 59 [Storable] 56 60 private ScopeList subScopes; 57 public ScopeList SubScopes { 61 public ScopeList SubScopes 62 { 58 63 get { return subScopes; } 59 64 }
Note: See TracChangeset
for help on using the changeset viewer.