RSE
Release 1.0

org.eclipse.rse.dstore.security.widgets
Class CertificateForm

java.lang.Object
  extended byorg.eclipse.rse.ui.SystemBaseForm
      extended byorg.eclipse.rse.dstore.security.widgets.CertificateForm
All Implemented Interfaces:
ISystemConnectionWizardErrorUpdater, Listener

public class CertificateForm
extends SystemBaseForm


Field Summary
 Shell _shell
           
 
Fields inherited from class org.eclipse.rse.ui.SystemBaseForm
alreadyNotified, verifyListeners
 
Constructor Summary
CertificateForm(Shell shell, ISystemMessageLine msgLine)
           
 
Method Summary
 Control createContents(Composite c)
          CreateContents is the one method that must be overridden from the parent class.
 String getAliasName()
           
 Control getInitialFocusControl()
           
 String getPath()
           
 void handleEvent(Event event)
          Handle all events and enablements for widgets in this dialog
 Certificate loadCertificate(KeyStore ks)
           
 void NotifyListeners(Event event)
           
 void registerListener(Listener listener)
           
 boolean validateDialog()
           
 
Methods inherited from class org.eclipse.rse.ui.SystemBaseForm
addFillerLine, addGrowableFillerLine, addPageCompleteListener, addSeparatorLine, addVerifyListener, getInputObject, getMessageLine, getOutputObject, getShell, getTheErrorMessage, isPageComplete, notifyVerifyListeners, removePageCompleteListener, removePageCompleteListener, setInputObject, setMessageLine, setOutputObject, setPageComplete, setShell, showErrorMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_shell

public Shell _shell
Constructor Detail

CertificateForm

public CertificateForm(Shell shell,
                       ISystemMessageLine msgLine)
Method Detail

getInitialFocusControl

public Control getInitialFocusControl()

createContents

public Control createContents(Composite c)
Description copied from class: SystemBaseForm
CreateContents is the one method that must be overridden from the parent class. In this method, we populate an SWT container with widgets and return the container to the caller (JFace). This is used as the contents of this page.

Specified by:
createContents in class SystemBaseForm
Parameters:
c - The parent composite

handleEvent

public void handleEvent(Event event)
Handle all events and enablements for widgets in this dialog

Specified by:
handleEvent in interface Listener
Overrides:
handleEvent in class SystemBaseForm
Parameters:
event - Event

NotifyListeners

public void NotifyListeners(Event event)

validateDialog

public boolean validateDialog()

loadCertificate

public Certificate loadCertificate(KeyStore ks)
                            throws IOException,
                                   CertificateException,
                                   KeyStoreException
Throws:
IOException
CertificateException
KeyStoreException

registerListener

public void registerListener(Listener listener)

getAliasName

public String getAliasName()

getPath

public String getPath()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.