org.apache.directory.studio.apacheds.wizards
Class NewServerWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.apache.directory.studio.apacheds.wizards.NewServerWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class NewServerWizardPage
extends org.eclipse.jface.wizard.WizardPage

This class implements the wizard page for the new server wizard.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
NewServerWizardPage()
          Creates a new instance of NewServerWizardPage.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
protected  void displayErrorMessage(java.lang.String message)
          Displays an error message and set the page status as incomplete if the message is not null.
 java.lang.String getServerName()
          Gets the name of the server.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

NewServerWizardPage

public NewServerWizardPage()
Creates a new instance of NewServerWizardPage.

Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

displayErrorMessage

protected void displayErrorMessage(java.lang.String message)
Displays an error message and set the page status as incomplete if the message is not null.

Parameters:
message - the message to display

getServerName

public java.lang.String getServerName()
Gets the name of the server.

Returns:
the name of the server


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.