Index: OutputWriter.java =================================================================== RCS file: /cvs/openide/io/src/org/openide/windows/OutputWriter.java,v retrieving revision 1.5 diff -u -r1.5 OutputWriter.java --- OutputWriter.java 6 Oct 2004 21:22:04 -0000 1.5 +++ OutputWriter.java 11 Nov 2004 08:05:03 -0000 @@ -44,6 +44,25 @@ */ public abstract void println(String s, OutputListener l) throws IOException; + /** Print a line which will be displayed as a hyperlink, calling the + * passed OutputListener if it is clicked, if the caret + * enters it, or if the enter key is pressed over it. + * + * Implementors of this class + * are encouraged to override this method, which is not abstract for backward + * compatibility reasons only. + * + * @param s a string to print to the tab + * @param l a listener that will receive events about this line + * @param important mark the line as important. + * Makes the UI respond appropriately, eg. stop the automatic scrolling + * or highlight the hyperlink. + * @throws IOException if the string could not be printed + */ + public void println(String s, OutputListener l, boolean important) throws IOException { + println(s, l); + } + /** Clear the output pane. * Expect this method to be deprecated in a future release and an * equivalent created in InputOutput. It is ambiguous what it means