public class SystemSelectionDialog
extends 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
Constructor and Description |
---|
SystemSelectionDialog(org.eclipse.swt.widgets.Shell parentShell,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> systemSelection,
java.lang.String title)
Instantiates a new system selection dialog.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.uml2.uml.InstanceSpecification |
getSelectedSystem()
Gets the selected system.
|
java.lang.String |
getSystemName()
Gets the system name.
|
void |
setSelectedSystem(org.eclipse.uml2.uml.InstanceSpecification selectedSystem)
Sets the selected system.
|
void |
setSystemName(java.lang.String qname)
Sets the system name.
|
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
public SystemSelectionDialog(org.eclipse.swt.widgets.Shell parentShell, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> systemSelection, java.lang.String title)
parentShell
- the parent shellsystemSelection
- the system selectiontitle
- the titlepublic void setSystemName(java.lang.String qname)
qname
- the new system namepublic java.lang.String getSystemName()
public org.eclipse.uml2.uml.InstanceSpecification getSelectedSystem()
public void setSelectedSystem(org.eclipse.uml2.uml.InstanceSpecification selectedSystem)
selectedSystem
- the new selected system