public class NewSerialPortConnectionWizard extends org.eclipse.jface.wizard.Wizard implements IRemoteUIConnectionWizard
Constructor and Description |
---|
NewSerialPortConnectionWizard(org.eclipse.swt.widgets.Shell shell,
IRemoteConnectionType connectionType) |
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
IRemoteConnectionWorkingCopy |
getConnection()
Get the connection being edited.
|
IRemoteConnectionWorkingCopy |
open()
Open configuration wizard allowing the user to enter information about a connection.
|
boolean |
performFinish() |
void |
setConnection(IRemoteConnectionWorkingCopy connection)
Set a connection containing the information to be edited by the wizard.
|
void |
setConnectionName(java.lang.String name)
Set the initial name of the connection.
|
void |
setInvalidConnectionNames(java.util.Set<java.lang.String> names)
Supply a set of connection names that are invalid.
|
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public NewSerialPortConnectionWizard(org.eclipse.swt.widgets.Shell shell, IRemoteConnectionType connectionType)
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public IRemoteConnectionWorkingCopy open()
IRemoteUIConnectionWizard
open
in interface IRemoteUIConnectionWizard
public IRemoteConnectionWorkingCopy getConnection()
IRemoteUIConnectionWizard
getConnection
in interface IRemoteUIConnectionWizard
public void setConnection(IRemoteConnectionWorkingCopy connection)
IRemoteUIConnectionWizard
IRemoteUIConnectionWizard.setConnectionName(String)
method.setConnection
in interface IRemoteUIConnectionWizard
connection
- connection used to initialize the wizardpublic void setConnectionName(java.lang.String name)
IRemoteUIConnectionWizard
setConnectionName
in interface IRemoteUIConnectionWizard
name
- initial connection namepublic void setInvalidConnectionNames(java.util.Set<java.lang.String> names)
IRemoteUIConnectionWizard
setInvalidConnectionNames
in interface IRemoteUIConnectionWizard
names
- set of invalid connections names