Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemArray.cs

    r12012 r13656  
    3232  [Item("ItemArray", "Represents an array of items.")]
    3333  public class ItemArray<T> : ObservableArray<T>, IItemArray<T> where T : class, IItem {
    34     public virtual string ItemName {
     34    public virtual string ItemName
     35    {
    3536      get { return ItemAttribute.GetName(this.GetType()); }
    3637    }
    37     public virtual string ItemDescription {
     38    public virtual string ItemDescription
     39    {
    3840      get { return ItemAttribute.GetDescription(this.GetType()); }
    3941    }
    40     public Version ItemVersion {
     42    public Version ItemVersion
     43    {
    4144      get { return ItemAttribute.GetVersion(this.GetType()); }
    4245    }
    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); }
    4549    }
    46     public virtual Image ItemImage {
     50    public virtual Image ItemImage
     51    {
    4752      get { return ItemAttribute.GetImage(this.GetType()); }
    4853    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemCollection.cs

    r12012 r13656  
    3232  [Item("ItemCollection", "Represents a collection of items.")]
    3333  public class ItemCollection<T> : ObservableCollection<T>, IItemCollection<T> where T : class, IItem {
    34     public virtual string ItemName {
     34    public virtual string ItemName
     35    {
    3536      get { return ItemAttribute.GetName(this.GetType()); }
    3637    }
    37     public virtual string ItemDescription {
     38    public virtual string ItemDescription
     39    {
    3840      get { return ItemAttribute.GetDescription(this.GetType()); }
    3941    }
    40     public Version ItemVersion {
     42    public Version ItemVersion
     43    {
    4144      get { return ItemAttribute.GetVersion(this.GetType()); }
    4245    }
    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); }
    4549    }
    46     public virtual Image ItemImage {
     50    public virtual Image ItemImage
     51    {
    4752      get { return ItemAttribute.GetImage(this.GetType()); }
    4853    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs

    r12907 r13656  
    3434    where TValue : class, IItem {
    3535
    36     public virtual string ItemName {
     36    public virtual string ItemName
     37    {
    3738      get { return ItemAttribute.GetName(this.GetType()); }
    3839    }
    39     public virtual string ItemDescription {
     40    public virtual string ItemDescription
     41    {
    4042      get { return ItemAttribute.GetDescription(this.GetType()); }
    4143    }
    42     public Version ItemVersion {
     44    public Version ItemVersion
     45    {
    4346      get { return ItemAttribute.GetVersion(this.GetType()); }
    4447    }
    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); }
    4751    }
    48     public virtual Image ItemImage {
     52    public virtual Image ItemImage
     53    {
    4954      get { return ItemAttribute.GetImage(this.GetType()); }
    5055    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemList.cs

    r12012 r13656  
    3232  [Item("ItemList", "Represents a list of items.")]
    3333  public class ItemList<T> : ObservableList<T>, IItemList<T> where T : class, IItem {
    34     public virtual string ItemName {
     34    public virtual string ItemName
     35    {
    3536      get { return ItemAttribute.GetName(this.GetType()); }
    3637    }
    37     public virtual string ItemDescription {
     38    public virtual string ItemDescription
     39    {
    3840      get { return ItemAttribute.GetDescription(this.GetType()); }
    3941    }
    40     public Version ItemVersion {
     42    public Version ItemVersion
     43    {
    4144      get { return ItemAttribute.GetVersion(this.GetType()); }
    4245    }
    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); }
    4549    }
    46     public virtual Image ItemImage {
     50    public virtual Image ItemImage
     51    {
    4752      get { return ItemAttribute.GetImage(this.GetType()); }
    4853    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ItemSet.cs

    r12012 r13656  
    3232  [Item("ItemSet", "Represents a set of items.")]
    3333  public class ItemSet<T> : ObservableSet<T>, IItemSet<T> where T : class, IItem {
    34     public virtual string ItemName {
     34    public virtual string ItemName
     35    {
    3536      get { return ItemAttribute.GetName(this.GetType()); }
    3637    }
    37     public virtual string ItemDescription {
     38    public virtual string ItemDescription
     39    {
    3840      get { return ItemAttribute.GetDescription(this.GetType()); }
    3941    }
    40     public Version ItemVersion {
     42    public Version ItemVersion
     43    {
    4144      get { return ItemAttribute.GetVersion(this.GetType()); }
    4245    }
    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); }
    4549    }
    46     public virtual Image ItemImage {
     50    public virtual Image ItemImage
     51    {
    4752      get { return ItemAttribute.GetImage(this.GetType()); }
    4853    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs

    r12012 r13656  
    3131  [StorableClass]
    3232  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    {
    3435      get { return ItemAttribute.GetName(this.GetType()); }
    3536    }
    36     public virtual string ItemDescription {
     37    public virtual string ItemDescription
     38    {
    3739      get { return ItemAttribute.GetDescription(this.GetType()); }
    3840    }
    39     public Version ItemVersion {
     41    public Version ItemVersion
     42    {
    4043      get { return ItemAttribute.GetVersion(this.GetType()); }
    4144    }
    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); }
    4448    }
    45     public virtual Image ItemImage {
     49    public virtual Image ItemImage
     50    {
    4651      get { return ItemAttribute.GetImage(this.GetType()); }
    4752    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs

    r12012 r13656  
    3030  [Item("ReadOnlyItemArray", "Represents a read-only array of items.")]
    3131  public class ReadOnlyItemArray<T> : ReadOnlyObservableArray<T>, IItemArray<T> where T : class, IItem {
    32     public virtual string ItemName {
     32    public virtual string ItemName
     33    {
    3334      get { return ItemAttribute.GetName(this.GetType()); }
    3435    }
    35     public virtual string ItemDescription {
     36    public virtual string ItemDescription
     37    {
    3638      get { return ItemAttribute.GetDescription(this.GetType()); }
    3739    }
    38     public Version ItemVersion {
     40    public Version ItemVersion
     41    {
    3942      get { return ItemAttribute.GetVersion(this.GetType()); }
    4043    }
    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); }
    4347    }
    44     public virtual Image ItemImage {
     48    public virtual Image ItemImage
     49    {
    4550      get { return ItemAttribute.GetImage(this.GetType()); }
    4651    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs

    r12012 r13656  
    3030  [Item("ReadOnlyItemCollection", "Represents a read-only collection of items.")]
    3131  public class ReadOnlyItemCollection<T> : ReadOnlyObservableCollection<T>, IItemCollection<T> where T : class, IItem {
    32     public virtual string ItemName {
     32    public virtual string ItemName
     33    {
    3334      get { return ItemAttribute.GetName(this.GetType()); }
    3435    }
    35     public virtual string ItemDescription {
     36    public virtual string ItemDescription
     37    {
    3638      get { return ItemAttribute.GetDescription(this.GetType()); }
    3739    }
    38     public Version ItemVersion {
     40    public Version ItemVersion
     41    {
    3942      get { return ItemAttribute.GetVersion(this.GetType()); }
    4043    }
    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); }
    4347    }
    44     public virtual Image ItemImage {
     48    public virtual Image ItemImage
     49    {
    4550      get { return ItemAttribute.GetImage(this.GetType()); }
    4651    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs

    r12012 r13656  
    3333    where TValue : class, IItem {
    3434
    35     public virtual string ItemName {
     35    public virtual string ItemName
     36    {
    3637      get { return ItemAttribute.GetName(this.GetType()); }
    3738    }
    38     public virtual string ItemDescription {
     39    public virtual string ItemDescription
     40    {
    3941      get { return ItemAttribute.GetDescription(this.GetType()); }
    4042    }
    41     public Version ItemVersion {
     43    public Version ItemVersion
     44    {
    4245      get { return ItemAttribute.GetVersion(this.GetType()); }
    4346    }
    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); }
    4650    }
    47     public virtual Image ItemImage {
     51    public virtual Image ItemImage
     52    {
    4853      get { return ItemAttribute.GetImage(this.GetType()); }
    4954    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs

    r12012 r13656  
    3030  [Item("ReadOnlyItemList", "Represents a read-only list of items.")]
    3131  public class ReadOnlyItemList<T> : ReadOnlyObservableList<T>, IItemList<T> where T : class, IItem {
    32     public virtual string ItemName {
     32    public virtual string ItemName
     33    {
    3334      get { return ItemAttribute.GetName(this.GetType()); }
    3435    }
    35     public virtual string ItemDescription {
     36    public virtual string ItemDescription
     37    {
    3638      get { return ItemAttribute.GetDescription(this.GetType()); }
    3739    }
    38     public Version ItemVersion {
     40    public Version ItemVersion
     41    {
    3942      get { return ItemAttribute.GetVersion(this.GetType()); }
    4043    }
    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); }
    4347    }
    44     public virtual Image ItemImage {
     48    public virtual Image ItemImage
     49    {
    4550      get { return ItemAttribute.GetImage(this.GetType()); }
    4651    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs

    r12012 r13656  
    3030  [Item("ReadOnlyItemSet", "Represents a read-only set of items.")]
    3131  public class ReadOnlyItemSet<T> : ReadOnlyObservableSet<T>, IItemSet<T> where T : class, IItem {
    32     public virtual string ItemName {
     32    public virtual string ItemName
     33    {
    3334      get { return ItemAttribute.GetName(this.GetType()); }
    3435    }
    35     public virtual string ItemDescription {
     36    public virtual string ItemDescription
     37    {
    3638      get { return ItemAttribute.GetDescription(this.GetType()); }
    3739    }
    38     public Version ItemVersion {
     40    public Version ItemVersion
     41    {
    3942      get { return ItemAttribute.GetVersion(this.GetType()); }
    4043    }
    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); }
    4347    }
    44     public virtual Image ItemImage {
     48    public virtual Image ItemImage
     49    {
    4550      get { return ItemAttribute.GetImage(this.GetType()); }
    4651    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs

    r12012 r13656  
    3030  [Item("ReadOnlyKeyedItemCollection", "Represents a read-only keyed collection of items.")]
    3131  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    {
    3334      get { return ItemAttribute.GetName(this.GetType()); }
    3435    }
    35     public virtual string ItemDescription {
     36    public virtual string ItemDescription
     37    {
    3638      get { return ItemAttribute.GetDescription(this.GetType()); }
    3739    }
    38     public Version ItemVersion {
     40    public Version ItemVersion
     41    {
    3942      get { return ItemAttribute.GetVersion(this.GetType()); }
    4043    }
    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); }
    4347    }
    44     public virtual Image ItemImage {
     48    public virtual Image ItemImage
     49    {
    4550      get { return ItemAttribute.GetImage(this.GetType()); }
    4651    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Executable.cs

    r12012 r13656  
    2929  [StorableClass]
    3030  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); }
    3334    }
    34     public override Image ItemImage {
    35       get {
     35    public override Image ItemImage
     36    {
     37      get
     38      {
    3639        if (ExecutionState == ExecutionState.Prepared) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePrepared;
    3740        else if (ExecutionState == ExecutionState.Started) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted;
     
    4447    [Storable]
    4548    private ExecutionState executionState;
    46     public ExecutionState ExecutionState {
     49    public ExecutionState ExecutionState
     50    {
    4751      get { return executionState; }
    48       private set {
     52      private set
     53      {
    4954        if (executionState != value) {
    5055          executionState = value;
     
    5762    [Storable]
    5863    private TimeSpan executionTime;
    59     public TimeSpan ExecutionTime {
     64    public TimeSpan ExecutionTime
     65    {
    6066      get { return executionTime; }
    61       protected set {
     67      protected set
     68      {
    6269        executionTime = value;
    6370        OnExecutionTimeChanged();
  • branches/WebJobManager/HeuristicLab.Core/3.3/Item.cs

    r12012 r13656  
    3232  [Item("Item", "Base class for all HeuristicLab items.")]
    3333  public abstract class Item : IItem {
    34     public virtual string ItemName {
     34    public virtual string ItemName
     35    {
    3536      get { return ItemAttribute.GetName(this.GetType()); }
    3637    }
    37     public virtual string ItemDescription {
     38    public virtual string ItemDescription
     39    {
    3840      get { return ItemAttribute.GetDescription(this.GetType()); }
    3941    }
    40     public Version ItemVersion {
     42    public Version ItemVersion
     43    {
    4144      get { return ItemAttribute.GetVersion(this.GetType()); }
    4245    }
    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); }
    4549    }
    46     public virtual Image ItemImage {
     50    public virtual Image ItemImage
     51    {
    4752      get { return ItemAttribute.GetImage(this.GetType()); }
    4853    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Log.cs

    r12012 r13656  
    3333    public string Filename { get; set; }
    3434
    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); }
    3738    }
    3839
    3940    [Storable]
    4041    private IList<string> messages;
    41     public IEnumerable<string> Messages {
     42    public IEnumerable<string> Messages
     43    {
    4244      get { return messages; }
    4345    }
     
    4547    [Storable]
    4648    private long maxMessageCount;
    47     public long MaxMessageCount {
     49    public long MaxMessageCount
     50    {
    4851      get { return maxMessageCount; }
    4952    }
  • branches/WebJobManager/HeuristicLab.Core/3.3/Scope.cs

    r12012 r13656  
    3232  [StorableClass]
    3333  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); }
    3637    }
    3738
    3839    [Storable]
    3940    private IScope parent;
    40     public IScope Parent {
     41    public IScope Parent
     42    {
    4143      get { return parent; }
    42       set {
     44      set
     45      {
    4346        if (parent != value) {
    4447          parent = value;
     
    4952    [Storable]
    5053    private VariableCollection variables;
    51     public VariableCollection Variables {
     54    public VariableCollection Variables
     55    {
    5256      get { return variables; }
    5357    }
     
    5559    [Storable]
    5660    private ScopeList subScopes;
    57     public ScopeList SubScopes {
     61    public ScopeList SubScopes
     62    {
    5863      get { return subScopes; }
    5964    }
Note: See TracChangeset for help on using the changeset viewer.