com.opnworks.timesheet.client.dialogs
Class ActivityTypeDialog

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

public class ActivityTypeDialog
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
ActivityTypeDialog(org.eclipse.swt.widgets.Shell parent, ActivityType activityType)
          Constructor for the ActivityTypeDialog object
 
Method Summary
 void setActivityType(ActivityType activityType)
          Sets the ActivityType
 void setFocus()
          Sets the Focus attribute of the ActivityTypeDialog object
 
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

ActivityTypeDialog

public ActivityTypeDialog(org.eclipse.swt.widgets.Shell parent,
                          ActivityType activityType)
Constructor for the ActivityTypeDialog object

Parameters:
parent - Description of Parameter
activityType - Description of Parameter
Method Detail

setActivityType

public void setActivityType(ActivityType activityType)
Sets the ActivityType

Parameters:
activityType - The new ActivityType value

setFocus

public void setFocus()
Sets the Focus attribute of the ActivityTypeDialog object