Ejemplo n.º 1
0
        public void ComponentGroupListView_CanCreateWithNullWindow()
        {
            ComponentGroupListView listView;

            Assert.DoesNotThrow(() =>
            {
                listView = new ComponentGroupListView(new TreeViewState(), null, null);
                listView.Reload();
            });
        }
 private void CreateComponentGroupListView()
 {
     componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, this);
 }
Ejemplo n.º 3
0
 private void CreateComponentGroupListView()
 {
     componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, x => SetEntityListSelection(x, false, true), () => SystemSelectionWorld);
 }
Ejemplo n.º 4
0
 private void CreateComponentGroupListView()
 {
     componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, SetComponentGroupSelection, () => WorldSelection);
 }
Ejemplo n.º 5
0
        public void ComponentGroupListView_CanSetNullSystem()
        {
            var listView = new ComponentGroupListView(new TreeViewState(), EmptySystem, new FakeWindow());

            Assert.DoesNotThrow(() => listView.SelectedSystem = null);
        }