import java.io.IOException;
import java.io.InputStream;
-import org.eclipse.swt.graphics.Color;
+//import org.eclipse.swt.graphics.Color;
import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.console.MessageConsole;
private MessageConsoleStream stream;
- private boolean hasMessages;
+ //private boolean hasMessages;
public PHPConsole() {
- hasMessages = false;
+ //hasMessages = false;
myConsole = new MessageConsole("PHPeclipse Console", null);
ConsolePlugin.getDefault().getConsoleManager().addConsoles(
new IConsole[] { myConsole });
/**
* @return
*/
- public Color getColor() {
- return stream.getColor();
- }
+// public Color getColor() {
+// return stream.getColor();
+// }
/**
* @return
* @param message
*/
public void print(String message) {
- hasMessages = true;
+ //hasMessages = true;
stream.print(message);
}
/**
*
*/
- public void println() {
- hasMessages = true;
- stream.println();
- }
+// public void println() {
+// //hasMessages = true;
+// stream.println();
+// }
/**
* @param message
*/
public void println(String message) {
- hasMessages = true;
+ //hasMessages = true;
stream.println(message);
}
/**
* @param color
*/
- public void setColor(Color color) {
- stream.setColor(color);
- }
+// public void setColor(Color color) {
+// stream.setColor(color);
+// }
// public void reportError(String title, String message) {
// if (hasMessages) {