Package org.eclipse.remote.serial.ui
Class SerialPortConnectionBlock
- java.lang.Object
-
- org.eclipse.remote.serial.ui.SerialPortConnectionBlock
-
public class SerialPortConnectionBlock extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSerialPortConnectionBlock.SerialBlockUpdateListener
-
Constructor Summary
Constructors Constructor Description SerialPortConnectionBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUpdateListener(SerialPortConnectionBlock.SerialBlockUpdateListener listener)voidcreateBlock(org.eclipse.swt.widgets.Composite comp, IRemoteConnectionWorkingCopy wc)Creates the UI elements for the SerialPortConnectionBlockintgetBaudRateIndex()intgetByteSizeIndex()StringgetConnectionName()intgetParityIndex()StringgetPortName()intgetStopBitsIndex()booleanisComplete()voidremoveUpdateListener(SerialPortConnectionBlock.SerialBlockUpdateListener listener)
-
-
-
Method Detail
-
createBlock
public void createBlock(org.eclipse.swt.widgets.Composite comp, IRemoteConnectionWorkingCopy wc)Creates the UI elements for the SerialPortConnectionBlock- Parameters:
comp- - parent compositewc- - an IRemoteConnectionWorkingCopy to populate the default values from. Can be null.
-
getConnectionName
public String getConnectionName()
-
getPortName
public String getPortName()
-
getBaudRateIndex
public int getBaudRateIndex()
-
getByteSizeIndex
public int getByteSizeIndex()
-
getParityIndex
public int getParityIndex()
-
getStopBitsIndex
public int getStopBitsIndex()
-
isComplete
public boolean isComplete()
-
addUpdateListener
public void addUpdateListener(SerialPortConnectionBlock.SerialBlockUpdateListener listener)
-
removeUpdateListener
public void removeUpdateListener(SerialPortConnectionBlock.SerialBlockUpdateListener listener)
-
-