pl.edu.agh.cast.data.ui.logging
Class ImportLogFileDialog

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 pl.edu.agh.cast.data.ui.logging.ImportLogFileDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class ImportLogFileDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog

Dialog for reviewing the log file from the import process for a specific data set.

Author:
AGH CAST Team

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.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
ImportLogFileDialog(org.eclipse.swt.widgets.Shell parentShell, String dataSetId)
          The default constructor.
 
Method Summary
protected  void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
          
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
          
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          
protected  org.eclipse.swt.graphics.Point getInitialSize()
          
static void main(String[] args)
          Main method to display this org.eclipse.swt.widgets.Composite inside a new Shell - for easier tests only.
 void setContent(StringBuffer content)
           
 void setDataSetId(String dataSetId)
           
protected  void setShellStyle(int newShellStyle)
          
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
close, 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, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportLogFileDialog

public ImportLogFileDialog(org.eclipse.swt.widgets.Shell parentShell,
                           String dataSetId)
The default constructor.

Parameters:
parentShell - the parent shell
dataSetId - the data set id
Method Detail

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)

Overrides:
createContents in class org.eclipse.jface.dialogs.TitleAreaDialog
See Also:
TitleAreaDialog.createContents(org.eclipse.swt.widgets.Composite)

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)

Overrides:
createDialogArea in class org.eclipse.jface.dialogs.TitleAreaDialog
See Also:
TitleAreaDialog.createDialogArea(org.eclipse.swt.widgets.Composite)

createButtonsForButtonBar

protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)

Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.Dialog
See Also:
Dialog.createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)

getInitialSize

protected org.eclipse.swt.graphics.Point getInitialSize()

Overrides:
getInitialSize in class org.eclipse.jface.dialogs.TitleAreaDialog
See Also:
TitleAreaDialog.getInitialSize()

setShellStyle

protected void setShellStyle(int newShellStyle)

Overrides:
setShellStyle in class org.eclipse.jface.window.Window
See Also:
Window.setShellStyle(int)

setContent

public void setContent(StringBuffer content)

setDataSetId

public void setDataSetId(String dataSetId)

main

public static void main(String[] args)
Main method to display this org.eclipse.swt.widgets.Composite inside a new Shell - for easier tests only.

Parameters:
args - arguments for the main method


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.