@Test public void testRemoveNotInList() { selectionMode.remove(o1); assertSelection(); }
@Override public void remove(@Nonnull final T item) { if (requiresSelection && selection.size() < 2) { return; } if (isPartOfSelection(item)) { removeFromSelection(item); } }
ListBoxSelectionModeMulti implements ListBoxSelectionMode<T> { @Override public void remove(@Nonnull final T item) { if (requiresSelection && selection.size() < 2) { return; } if (isPartOfSelection(item)) { removeFromSelection(item); } } }
ListBoxSelectionModeMulti implements ListBoxSelectionMode<T> { @Override public void remove(@Nonnull final T item) { if (requiresSelection && selection.size() < 2) { return; } if (isPartOfSelection(item)) { removeFromSelection(item); } }  }
ListBoxSelectionModeMulti implements ListBoxSelectionMode<T> { @Override public void remove(@Nonnull final T item) { if (requiresSelection && selection.size() < 2) { return; } if (isPartOfSelection(item)) { removeFromSelection(item); } }  @Override void clear(); @Nonnull @Override List<T> getSelection(); @Override void remove(@Nonnull final T item); @Override void removeForced(@Nonnull final T item); @Override void add(@Nonnull final T item); @Override void enableRequiresSelection(final boolean enabled); @Override boolean requiresAutoSelection(); }
ListBoxSelectionModeMulti implements ListBoxSelectionMode<T> { @Override public void remove(@Nonnull final T item) { if (requiresSelection && selection.size() < 2) { return; } if (isPartOfSelection(item)) { removeFromSelection(item); } }  @Override void clear(); @Nonnull @Override List<T> getSelection(); @Override void remove(@Nonnull final T item); @Override void removeForced(@Nonnull final T item); @Override void add(@Nonnull final T item); @Override void enableRequiresSelection(final boolean enabled); @Override boolean requiresAutoSelection();  }