|
||||||||||
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
de.cau.cs.kieler.sim.kiem.ui.AddDataComponentDialog
public class AddDataComponentDialog
The Class AddDataComponentDialog.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
Window.IExceptionHandler |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
---|
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, 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 |
Constructor Summary | |
---|---|
AddDataComponentDialog(Shell parent)
Instantiates a dialog. |
Method Summary | |
---|---|
boolean |
checkMultipleInstanceOk(AbstractDataComponent component)
Check if multiple instances of a DataComponent are okay and if not check if there already is another instance in the original DataComponentWrapperList. |
protected void |
configureShell(Shell newShell)
|
protected Control |
createDialogArea(Composite parent)
|
protected Point |
getInitialSize()
|
List<AbstractDataComponent> |
getSelectedComponents()
Gets the selected components. |
void |
refreshEnabledDisabledTextColors()
Refreshes the enabled/disabled text colors of the DataComponent selection list. |
void |
setComponentList(List<AbstractDataComponent> dataComponents)
Sets the component list. |
void |
setComponentWrapperList(List<DataComponentWrapper> dataComponentWrapperListParam)
Sets the DataComponentEsList. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddDataComponentDialog(Shell parent)
parent
- the SWT parent of this dialogMethod Detail |
---|
protected void configureShell(Shell newShell)
configureShell
in class Window
protected Control createDialogArea(Composite parent)
createDialogArea
in class Dialog
protected Point getInitialSize()
getInitialSize
in class Dialog
public void setComponentList(List<AbstractDataComponent> dataComponents)
dataComponents
- the new component listpublic void setComponentWrapperList(List<DataComponentWrapper> dataComponentWrapperListParam)
dataComponentWrapperListParam
- the new component listpublic List<AbstractDataComponent> getSelectedComponents()
public boolean checkMultipleInstanceOk(AbstractDataComponent component)
component
- the DataComponent that we want to check on
public void refreshEnabledDisabledTextColors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |