org.eclipse.cdt.internal.ui.preferences.formatter
Class CreateProfileDialog

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.StatusDialog
                  extended by org.eclipse.cdt.internal.ui.preferences.formatter.CreateProfileDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class CreateProfileDialog
extends org.eclipse.jface.dialogs.StatusDialog

The dialog to create a new profile.


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.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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
CreateProfileDialog(org.eclipse.swt.widgets.Shell parentShell, ProfileManager profileManager, IProfileVersioner profileVersioner)
           
 
Method Summary
 void create()
           
 org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 ProfileManager.CustomProfile getCreatedProfile()
           
 boolean openEditDialog()
           
 
Methods inherited from class org.eclipse.jface.dialogs.StatusDialog
getStatus, setImage, setStatusLineAboveButtons, setTitle
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
close, closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateProfileDialog

public CreateProfileDialog(org.eclipse.swt.widgets.Shell parentShell,
                           ProfileManager profileManager,
                           IProfileVersioner profileVersioner)
Method Detail

create

public void create()
Overrides:
create in class org.eclipse.jface.dialogs.StatusDialog

createDialogArea

public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog

getCreatedProfile

public final ProfileManager.CustomProfile getCreatedProfile()

openEditDialog

public final boolean openEditDialog()