fable.framework.views
Class FableIOConsole

java.lang.Object
  extended by org.eclipse.ui.console.AbstractConsole
      extended by org.eclipse.ui.console.TextConsole
          extended by org.eclipse.ui.console.IOConsole
              extended by fable.framework.views.FableIOConsole
All Implemented Interfaces:
org.eclipse.ui.console.IConsole

public class FableIOConsole
extends org.eclipse.ui.console.IOConsole

A generic console to display the output of a program or display messages to the user and read input from the keyboard

Author:
Andy Gotz

Field Summary
static FableIOConsole console
           
static java.lang.String ID
           
 
Constructor Summary
FableIOConsole(java.lang.String consoleTitle)
          DebugConsole constructor.
 
Method Summary
 void displayError(java.lang.String message)
          Public method for setting error message.
 void displayOut(java.lang.String message)
          Public method for setting output message.
 
Methods inherited from class org.eclipse.ui.console.IOConsole
clearConsole, createPage, getEncoding, getHighWaterMark, getInputStream, getLowWaterMark, newOutputStream, setWaterMarks
 
Methods inherited from class org.eclipse.ui.console.TextConsole
addHyperlink, addPatternMatchListener, getAttribute, getBackground, getConsoleWidth, getDocument, getFont, getHyperlink, getHyperlinks, getRegion, getSchedulingRule, getTabWidth, matcherFinished, partitionerFinished, removePatternMatchListener, setAttribute, setBackgrond, setBackground, setConsoleWidth, setFont, setTabWidth
 
Methods inherited from class org.eclipse.ui.console.AbstractConsole
activate, addPropertyChangeListener, destroy, firePropertyChange, getHelpContextId, getImageDescriptor, getName, getType, initialize, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

console

public static FableIOConsole console

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

FableIOConsole

public FableIOConsole(java.lang.String consoleTitle)
DebugConsole constructor. Instance of the same console is used by all perspectives which are using view.

Method Detail

displayOut

public void displayOut(java.lang.String message)
Public method for setting output message.

Parameters:
message -

displayError

public void displayError(java.lang.String message)
Public method for setting error message.

Parameters:
message -