de.folt.models.applicationmodel.guimodel.editor.datasourceeditor
Class DisplayLog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by de.folt.models.applicationmodel.guimodel.editor.datasourceeditor.DisplayLog

public class DisplayLog
extends org.eclipse.swt.widgets.Dialog


Constructor Summary
DisplayLog(org.eclipse.swt.widgets.Shell parent, java.lang.String logFile)
           
DisplayLog(org.eclipse.swt.widgets.Shell parent, java.lang.String logFile, boolean bUpdate, int iStyle)
           
 
Method Summary
 void setTitle(java.lang.String title)
          setTitle set the title of the log window
 void show()
          show show the Log Window
 void update()
          update updates the Log Window with the current content of the log file
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayLog

public DisplayLog(org.eclipse.swt.widgets.Shell parent,
                  java.lang.String logFile)
Parameters:
parent - the parent of the log window
logFile - the log file (or any file) to display

DisplayLog

public DisplayLog(org.eclipse.swt.widgets.Shell parent,
                  java.lang.String logFile,
                  boolean bUpdate,
                  int iStyle)
Parameters:
parent - the parent of the log window
logFile - the log file (or any file) to display
bUpdate - if true an update button is displayed
iStyle - style for the window
Method Detail

setTitle

public void setTitle(java.lang.String title)
setTitle set the title of the log window

Parameters:
title -

show

public void show()
show show the Log Window


update

public void update()
update updates the Log Window with the current content of the log file