org.eclipse.emf.emfstore.internal.client.ui.dialogs
Class BranchSelectionDialog.Creation

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.emf.emfstore.internal.client.ui.dialogs.BranchSelectionDialog
                      extended by org.eclipse.emf.emfstore.internal.client.ui.dialogs.BranchSelectionDialog.Creation
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
Enclosing class:
BranchSelectionDialog

public static class BranchSelectionDialog.Creation
extends BranchSelectionDialog

Alternative version of this dialog for Branch Creation. In this version branches can't be selected but are displayed in order to avoid duplicate naming.

Author:
wesendon

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.emfstore.internal.client.ui.dialogs.BranchSelectionDialog
BranchSelectionDialog.CheckoutSelection, BranchSelectionDialog.Creation
 
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, 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
BranchSelectionDialog.Creation(org.eclipse.swt.widgets.Shell parentShell, List<BranchInfo> branches)
          Default constructor.
 
Method Summary
 String getNewBranch()
          Returns the selected name for the branch.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.dialogs.BranchSelectionDialog
getResult
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getErrorMessage, getMessage, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
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, 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

BranchSelectionDialog.Creation

public BranchSelectionDialog.Creation(org.eclipse.swt.widgets.Shell parentShell,
                                      List<BranchInfo> branches)
Default constructor.

Parameters:
parentShell - parent
branches - list of branches
Method Detail

getNewBranch

public String getNewBranch()
Returns the selected name for the branch.

Returns:
String


Copyright © 2015. All Rights Reserved.