use of jetbrains.communicator.idea.BaseLocalMessage in project intellij-plugins by JetBrains.
the class MessagesTab method loadTodaysMessages.
private void loadTodaysMessages() {
LocalMessage[] history = myLocalMessageDispatcher.getHistory(myUser, TimeUtil.getDay(new Date()));
for (LocalMessage localMessage : history) {
ConsoleMessage consoleMessage = ((BaseLocalMessage) localMessage).createConsoleMessage(myUser);
outputMessage(consoleMessage);
}
}
use of jetbrains.communicator.idea.BaseLocalMessage in project intellij-plugins by JetBrains.
the class ShowHistoryDialog method outputMessages.
private void outputMessages() {
Date day = null;
for (LocalMessage message : myFoundMessages) {
day = printDaySeparatorIfNeeded(message, day);
BaseLocalMessage localMessage = ((BaseLocalMessage) message);
ConsoleUtil.outputMessage(localMessage.createConsoleMessage(myUser), myProject, myConsole);
}
}
Aggregations