@Test public void testLabelProvider() { 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, new TestItemFormat()); assertSame(combo, viewer.getCombo()); assertEquals(source.size(), combo.getItemCount()); assertEquals("AA", combo.getItem(0)); assertEquals("BB", combo.getItem(1)); assertEquals("CC", combo.getItem(2)); assertEquals("DD", combo.getItem(3)); assertEquals("EE", combo.getItem(4)); assertEquals("FF", 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();  }