Ignore:
Timestamp:
10/05/11 04:32:06 (13 years ago)
Author:
sherbold
Message:
  • beautification of SWT console output; trace messages are now displayed in blue, errors in red
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/ConsoleTabComposite.java

    r195 r238  
    88import org.eclipse.swt.layout.GridLayout; 
    99import org.eclipse.swt.layout.GridData; 
     10import org.eclipse.swt.custom.StyledText; 
    1011import org.eclipse.swt.events.SelectionAdapter; 
    1112import org.eclipse.swt.events.SelectionEvent; 
     
    2930        protected Text textCommand; 
    3031         
    31         protected Text textConsoleOutput; 
     32        protected StyledText textConsoleOutput; 
    3233         
    3334        /** 
     
    6970                btnEnter.setText("Enter"); 
    7071                 
    71                 textConsoleOutput = new Text(this, SWT.BORDER | SWT.READ_ONLY | SWT.H_SCROLL | SWT.V_SCROLL | SWT.CANCEL); 
     72                textConsoleOutput = new StyledText(this, SWT.BORDER | SWT.READ_ONLY | SWT.H_SCROLL | SWT.V_SCROLL | SWT.CANCEL); 
    7273                GridData gd_textConsoleOutput = new GridData(SWT.FILL, SWT.FILL, true, true, 3, 1); 
    7374                gd_textConsoleOutput.heightHint = 102; 
Note: See TracChangeset for help on using the changeset viewer.