@Test public void testReplaceError() { FilterGridModel target = build(NORMAL_GRID, 0); target.replaceContent(FILE_2, EMPTY_GRID, FilterFileMode.EXCEL, columns()); validateReplaceError(target, EMPTY_GRID, FilterFileMode.EXCEL); }
public void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns) { replaceContent(file); setupValues(grid, mode, columns); }
FilterGridModel extends AbstractFilterModel { public void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns) { replaceContent(file); setupValues(grid, mode, columns); } }
FilterGridModel extends AbstractFilterModel { public void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns) { replaceContent(file); setupValues(grid, mode, columns); } FilterGridModel(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns); }
FilterGridModel extends AbstractFilterModel { public void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns) { replaceContent(file); setupValues(grid, mode, columns); } FilterGridModel(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns); void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns); @Override ObservableIntegerValue wordCountProperty(); ObservableList<GridLine> getLines(); FilterFileMode getMode(); ObservableList<BooleanProperty> getColumnSelections(); Set<Integer> getColumns(); int getColumnCount(); }
FilterGridModel extends AbstractFilterModel { public void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns) { replaceContent(file); setupValues(grid, mode, columns); } FilterGridModel(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns); void replaceContent(final Path file, final TextGrid grid, final FilterFileMode mode, final Set<Integer> columns); @Override ObservableIntegerValue wordCountProperty(); ObservableList<GridLine> getLines(); FilterFileMode getMode(); ObservableList<BooleanProperty> getColumnSelections(); Set<Integer> getColumns(); int getColumnCount(); static final Set<Integer> DEFAULT_COLUMNS; }