org.eclipse.emf.emfstore.internal.client.ui.views.emfstorebrowser.views
Class CertificateSelectionDialog

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.emf.emfstore.internal.client.ui.views.emfstorebrowser.views.ElementListSelectionDialog
                  extended by org.eclipse.emf.emfstore.internal.client.ui.views.emfstorebrowser.views.CertificateSelectionDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class CertificateSelectionDialog
extends ElementListSelectionDialog

The modified ElementListSelectionDialog. Includes further functionality to import certificates from files instead of choosing from the list.

Author:
pfeifferc

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
CertificateSelectionDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.viewers.ILabelProvider renderer)
          The constructor.
 
Method Summary
 String getCertificateAlias()
          Returns the alias of the certificate.
 void setErrorMessage(String errorMessage)
          Opens up an information MessageDialog with the given errorMessage.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.views.emfstorebrowser.views.ElementListSelectionDialog
create, getFilter, getFilteredList, getFirstResult, getFoldedElements, getOkButton, getResult, isCaseIgnored, open, setAllowDuplicates, setDialogBoundsSettings, setElements, setEmptyListMessage, setEmptySelectionMessage, setFilter, setIgnoreCase, setImage, setInitialElementSelections, setInitialSelections, setMatchEmptyString, setMessage, setMultipleSelection, setSize, setStatusLineAboveButtons, setTitle, setValidator
 
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, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, 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

CertificateSelectionDialog

public CertificateSelectionDialog(org.eclipse.swt.widgets.Shell parent,
                                  org.eclipse.jface.viewers.ILabelProvider renderer)
The constructor.

Parameters:
parent - Parent
renderer - Renderer
Method Detail

getCertificateAlias

public String getCertificateAlias()
Returns the alias of the certificate.

Returns:
the certificate alias

setErrorMessage

public void setErrorMessage(String errorMessage)
Opens up an information MessageDialog with the given errorMessage.

Parameters:
errorMessage - the error message


Copyright © 2015. All Rights Reserved.