use of io.github.vocabhunter.analysis.session.SessionState in project VocabHunter by VocabHunter.
the class SelectionExportToolTest method testEmpty.
@Test
public void testEmpty() throws Exception {
SessionState state = state();
validate(state);
}
use of io.github.vocabhunter.analysis.session.SessionState in project VocabHunter by VocabHunter.
the class GuiFileHandler method finishOpen.
private void finishOpen(final EnrichedSessionState enrichedState) {
SessionState state = enrichedState.getState();
SessionModel sessionModel = sessionStateHandler.addSession(state);
model.replaceSessionModel(state, sessionModel, enrichedState.getFile().orElse(null));
statusManager.replaceSession(sessionModel.getPosition(), sessionModel.getProgress());
}
Aggregations