//org
MessageConsoleStream console = this
console
+
public MessageConsoleStream openLogConsole(String domainName
String stationId
System
station=
+ stationId +
/*
* get console name and create a new console
*/
StringBuffer consoleName = new StringBuffer(domainName);
if (stationId != null) {
consoleName
if (applicationId != null) {
consoleName
}
}
MessageConsole console = new
MessageConsole(consoleName
null);
final MessageConsoleStream consoleStream =
console
consoleStream
SWT
/*
* show view
*/
IConsoleManager manager = (IConsoleManager)
ConsolePlugin
manager
(org
manager
return consoleStream;
}
From:http://tw.wingwit.com/Article/program/Java/ky/201311/29115.html