Beispiel #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);
 }
Beispiel #3
0
 private void CreateComponentGroupListView()
 {
     componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, x => SetEntityListSelection(x, false, true), () => SystemSelectionWorld);
 }
Beispiel #4
0
 private void CreateComponentGroupListView()
 {
     componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, SetComponentGroupSelection, () => WorldSelection);
 }
Beispiel #5
0
        public void ComponentGroupListView_CanSetNullSystem()
        {
            var listView = new ComponentGroupListView(new TreeViewState(), EmptySystem, new FakeWindow());

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