com.opnworks.timesheet.dialogs
Class TextContentDialog

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended bycom.opnworks.timesheet.dialogs.TextContentDialog

public class TextContentDialog
extends org.eclipse.jface.dialogs.Dialog

Description of the Class

Author:
Laurent

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DLG_IMG_ERROR, 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
TextContentDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String content)
           
 
Method Summary
 void setContent(java.lang.String content)
          Sets the content
 void setContent(java.lang.String subtitle, java.lang.String content)
           
 void setFocus()
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextContentDialog

public TextContentDialog(org.eclipse.swt.widgets.Shell parent,
                         java.lang.String content)
Method Detail

setContent

public void setContent(java.lang.String content)
Sets the content


setContent

public void setContent(java.lang.String subtitle,
                       java.lang.String content)

setFocus

public void setFocus()