OutputSvc Class
- public class OutputSvc
extends Object
This service provide the interface to the tabbed "output" window provide by the IDE.
Typical usage would be
OutputSvc.IOutputWindow win = OutputSvc.get().getWindow("my output", true);
win.addMessage(new OutputMessage("hello world"));
addMessage()
is thread safe. Messages posted in a background thread will
be added efficiently and the ui refreshed after a short delay.
You can associate actions with your output messages by extending class OutputMessage
.
outputDebugString()
is provided as a convienence for printing debug messages
that can be seen in the IDE rather than on the console.
assert OutputSvc.outputDebugString("I'm here");
Related Topics
OutputMessage
-
Hierarchy
-
Object
OutputSvc
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static OutputSvc.I
instance
OutputSvc
public OutputSvc()
get() Method
public static OutputSvc.I
get()
outputDebugString(String) Method
public static boolean outputDebugString(String
s)
Write to the IDE's debug output window.
This is for use for internal IDE/extension development.
Returns
- true
outputDebugString(Exception) Method
public static boolean outputDebugString(Exception
x)
Write to the IDE's debug output window.
This is for use for internal IDE/extension development.
Returns
- true