Commit 3bc0e435 authored by Dominique Marcadet's avatar Dominique Marcadet

add a changeConsole() method

parent 9301ed4a
......@@ -42,6 +42,16 @@ public abstract class AbstractRiseClipseConsole implements IRiseClipseConsole {
return console;
}
/**
* Change the current singleton.
* @param newConsole the new console to use
*/
public static synchronized void changeConsole( IRiseClipseConsole newConsole ) {
if( newConsole != null ) {
console = newConsole;
}
}
/**
* The current level of displayed messages
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment