Exemplo n.º 1
0
 public AbstractLmpTreeViewModel(World world, TreeViewItemViewModel parent, LmpFile lmpFile, string entryName)
     : base(parent, true)
 {
     _lmpFile = lmpFile;
     _name = entryName;
     _world = world;
 }
        protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection<TreeViewItemViewModel>();

            if (lazyLoadChildren)
                _children.Add(DummyChild);
        }
Exemplo n.º 3
0
        protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection <TreeViewItemViewModel>();

            if (lazyLoadChildren)
            {
                _children.Add(DummyChild);
            }
        }
Exemplo n.º 4
0
 public WorldElementTreeViewModel(WorldElement worldElement, TreeViewItemViewModel parent, string name)
     : base(parent, true)
 {
     _worldElement = worldElement;
     _name         = name;
 }
Exemplo n.º 5
0
 public WorldFileTreeViewModel(World world, TreeViewItemViewModel parent, LmpFile lmpFile, string entryName)
     : base(world, parent, lmpFile, entryName)
 {
 }
Exemplo n.º 6
0
 public LmpTreeViewModel(World world, TreeViewItemViewModel parent, LmpFile lmpFile)
     : base(world, parent, lmpFile, lmpFile.Name)
 {
 }
Exemplo n.º 7
0
 public YakTreeViewModel(TreeViewItemViewModel parent, YakFile yakFile) : base(parent, true)
 {
     _parent  = parent;
     _yakFile = yakFile;
     _name    = yakFile.Name;
 }
Exemplo n.º 8
0
 public TextTreeViewModel(World world, TreeViewItemViewModel parent, string text)
     : base(parent, false)
 {
     _text = text;
 }
Exemplo n.º 9
0
 public YakTreeViewModel(TreeViewItemViewModel parent, YakFile yakFile)
     : base(parent, true)
 {
     _parent = parent;
     _yakFile = yakFile;
     _name = yakFile.Name;
 }
Exemplo n.º 10
0
 public YakTreeViewItem(TreeViewItemViewModel parent, YakFile yakFile, YakFile.Entry entry, String name)
     : base(parent, true)
 {
     _yakFile = yakFile;
     _entry = entry;
     _name = name;
 }
Exemplo n.º 11
0
 public YakChildTreeViewItem(TreeViewItemViewModel parent, YakFile yakFile, YakFile.Child value, YakFile.Entry entry, String name)
     : base(parent, false)
 {
     _yakFile = yakFile;
     _value = value;
     _entry = entry;
     _name = name;
 }
Exemplo n.º 12
0
 public WorldFileTreeViewModel(World world, TreeViewItemViewModel parent, LmpFile lmpFile, string entryName)
     : base(world, parent, lmpFile, entryName)
 {
 }
Exemplo n.º 13
0
 public WorldElementTreeViewModel(WorldElement worldElement, TreeViewItemViewModel parent, string name)
     : base(parent, true)
 {
     _worldElement = worldElement;
     _name = name;
 }
Exemplo n.º 14
0
 public TextTreeViewModel(World world, TreeViewItemViewModel parent, string text) : base(parent, false)
 {
     _text = text;
 }
Exemplo n.º 15
0
 public GobTreeViewModel(World world, TreeViewItemViewModel parent)
     : base(parent, true)
 {
     _world = world;
 }
Exemplo n.º 16
0
 public GobTreeViewModel(World world, TreeViewItemViewModel parent)
     : base(parent, true)
 {
     _world = world;
 }
Exemplo n.º 17
0
 public LmpTreeViewModel(World world, TreeViewItemViewModel parent, LmpFile lmpFile)
     : base(world, parent, lmpFile, lmpFile.Name)
 {
 }