org.eclipse.net4j.util.ui.widgets
Class MonitorLogDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TrayDialog
              extended by org.eclipse.jface.dialogs.TitleAreaDialog
                  extended by org.eclipse.net4j.util.ui.widgets.BaseDialog<org.eclipse.jface.viewers.Viewer>
                      extended by org.eclipse.net4j.util.ui.widgets.LogDialog
                          extended by org.eclipse.net4j.util.ui.widgets.MonitorLogDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider, OMMonitorHandler

public class MonitorLogDialog
extends LogDialog
implements OMMonitorHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.net4j.util.ui.widgets.BaseDialog
DEFAULT_SHELL_STYLE
 
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
MonitorLogDialog(org.eclipse.swt.widgets.Shell parentShell, int shellStyle, java.lang.String title, java.lang.String message, org.eclipse.jface.dialogs.IDialogSettings settings)
           
MonitorLogDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String title, java.lang.String message, org.eclipse.jface.dialogs.IDialogSettings settings)
           
 
Method Summary
 void append(java.lang.Throwable t)
           
 org.eclipse.swt.graphics.TextStyle getEmphasizedStyle()
           
 java.lang.String[] getEmphasizePrefix()
           
 org.eclipse.swt.graphics.TextStyle getNormalStyle()
           
 org.eclipse.swt.graphics.TextStyle getProblemStyle()
           
 org.eclipse.swt.graphics.TextStyle getTaskStyle()
           
 void handleMessage(java.lang.String msg, int level)
           
 void handleTask(java.lang.String task, int level)
           
 void setEmphasizePrefix(java.lang.String... emphasizePrefix)
           
 
Methods inherited from class org.eclipse.net4j.util.ui.widgets.LogDialog
append, close, createButtonsForButtonBar, createUI, getTextStyle, setTextStyle
 
Methods inherited from class org.eclipse.net4j.util.ui.widgets.BaseDialog
configureShell, createDialogArea, fillContextMenu, getCurrentViewer, getDialogBoundsSettings, hookContextMenu, setCurrentViewer
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
createContents, getInitialSize, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorLogDialog

public MonitorLogDialog(org.eclipse.swt.widgets.Shell parentShell,
                        int shellStyle,
                        java.lang.String title,
                        java.lang.String message,
                        org.eclipse.jface.dialogs.IDialogSettings settings)

MonitorLogDialog

public MonitorLogDialog(org.eclipse.swt.widgets.Shell parentShell,
                        java.lang.String title,
                        java.lang.String message,
                        org.eclipse.jface.dialogs.IDialogSettings settings)
Method Detail

getEmphasizePrefix

public java.lang.String[] getEmphasizePrefix()

setEmphasizePrefix

public void setEmphasizePrefix(java.lang.String... emphasizePrefix)

getNormalStyle

public org.eclipse.swt.graphics.TextStyle getNormalStyle()

getTaskStyle

public org.eclipse.swt.graphics.TextStyle getTaskStyle()

getProblemStyle

public org.eclipse.swt.graphics.TextStyle getProblemStyle()

getEmphasizedStyle

public org.eclipse.swt.graphics.TextStyle getEmphasizedStyle()

handleTask

public void handleTask(java.lang.String task,
                       int level)
Specified by:
handleTask in interface OMMonitorHandler

handleMessage

public void handleMessage(java.lang.String msg,
                          int level)
Specified by:
handleMessage in interface OMMonitorHandler

append

public void append(java.lang.Throwable t)
Overrides:
append in class LogDialog

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.