|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.IconAndMessageDialog
org.eclipse.jface.dialogs.ProgressMonitorDialog
com.ibm.carma.ui.dialog.CarmaConnectDialog
public class CarmaConnectDialog
This is the dialog class used to display the connect dialog to the user. All errors that
occur during the connection attempt are displayed to the user via this class. This class
should be run from a UI Thread. The following is a sample code snippet of how this
class can be used:
if (!CarmaConnectDialog.connectCarma(getShell(), carma))
return; //carma is not connected, so carry on
//continue with a connected carma
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
|---|
org.eclipse.jface.window.Window.IExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| 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 |
| Method Summary | |
|---|---|
static boolean |
connectCarma(org.eclipse.swt.widgets.Shell parentShell,
CARMA carma)
Will connect carma if it is disconnected. |
| Methods inherited from class org.eclipse.jface.dialogs.ProgressMonitorDialog |
|---|
close, getOpenOnRun, getProgressMonitor, open, run, setCancelable, setOpenOnRun |
| Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog |
|---|
getErrorImage, getInfoImage, getQuestionImage, getWarningImage |
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
applyDialogFont, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, 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 |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
| Method Detail |
|---|
public static boolean connectCarma(org.eclipse.swt.widgets.Shell parentShell,
CARMA carma)
parentShell - carma -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||