1
// Item.cs created with MonoDevelop
2
// User: dave at 1:07 AM 8/17/2007
4
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
8
using System.Collections;
9
using System.Collections.Generic;
15
public class Item : GCObject, IItem
17
public static readonly string DefaultItemIcon = "gnome-fs-executable";
18
public static readonly string DefaultItemDescription = "";
20
protected Item parent;
23
public Item (IItem item)
26
throw new ArgumentNullException ();
35
public override string Name {
36
get { return (item.Name == null ? DefaultItemName : item.Name); }
39
public override string Description {
40
get { return (item.Description == null ? DefaultItemDescription : item.Description); }
43
public override string Icon {
44
get { return (item.Icon == null ? DefaultItemIcon : item.Icon); }