DocumentInfo documentInfo =
documentListPresenter.getDocumentInfo(documentId);
// if editor is not yet initialized, we want to load document with
// search and target trans unit all at once
Long textFlowId = newHistoryToken.getTextFlowId();
TransUnitId transUnitId =
textFlowId == null ? null : new TransUnitId(textFlowId);
getTransUnitActionContextHolder.initContext(documentInfo,
transUnitId, editorFilter);
eventBus.fireEvent(new InitEditorEvent());
}