@Test public void testPrefilledConstruction() { final BasicEventList<String> source = new BasicEventList<>(); source.addAll(GlazedListsTests.delimitedStringToList("A B C D E F")); final Combo combo = new Combo(getShell(), SWT.DROP_DOWN); final DefaultEventComboViewer<String> viewer = new DefaultEventComboViewer<>(source, combo); assertSame(combo, viewer.getCombo()); assertEquals(source.size(), combo.getItemCount()); assertTrue(Arrays.equals(source.toArray(new String[source.size()]), combo.getItems())); assertEquals("A", combo.getItem(0)); assertEquals("B", combo.getItem(1)); assertEquals("C", combo.getItem(2)); assertEquals("D", combo.getItem(3)); assertEquals("E", combo.getItem(4)); assertEquals("F", combo.getItem(5)); }
public Combo getCombo() { return combo; }
DefaultEventComboViewer implements ListEventListener<E> { public Combo getCombo() { return combo; } }
DefaultEventComboViewer implements ListEventListener<E> { public Combo getCombo() { return combo; } DefaultEventComboViewer(EventList<E> source, Combo combo);  DefaultEventComboViewer(EventList<E> source, Combo combo, ItemFormat<? super E> itemFormat); protected  DefaultEventComboViewer(EventList<E> source, Combo combo,
			ItemFormat<? super E> itemFormat, boolean disposeSource); }
DefaultEventComboViewer implements ListEventListener<E> { public Combo getCombo() { return combo; } DefaultEventComboViewer(EventList<E> source, Combo combo);  DefaultEventComboViewer(EventList<E> source, Combo combo, ItemFormat<? super E> itemFormat); protected  DefaultEventComboViewer(EventList<E> source, Combo combo,
			ItemFormat<? super E> itemFormat, boolean disposeSource); Combo getCombo(); ItemFormat<? super E> getItemFormat(); @Override void listChanged(ListEvent<E> listChanges); void dispose(); }
DefaultEventComboViewer implements ListEventListener<E> { public Combo getCombo() { return combo; } DefaultEventComboViewer(EventList<E> source, Combo combo);  DefaultEventComboViewer(EventList<E> source, Combo combo, ItemFormat<? super E> itemFormat); protected  DefaultEventComboViewer(EventList<E> source, Combo combo,
			ItemFormat<? super E> itemFormat, boolean disposeSource); Combo getCombo(); ItemFormat<? super E> getItemFormat(); @Override void listChanged(ListEvent<E> listChanges); void dispose();  }