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

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