Class PredecessorSelectionDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- net.ssehub.easy.producer.ui.productline_editor.predecessorSelection.PredecessorSelectionDialog
-
public class PredecessorSelectionDialog extends org.eclipse.swt.widgets.DialogDialog for (de-)selecting predecessor projects.- Author:
- Crowder, Schniedermeyer, Hundt, El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.jface.viewers.CheckboxTableViewerpredecessorListprivate java.lang.StringprojectIDprivate java.util.ArrayList<java.lang.String>result
-
Constructor Summary
Constructors Constructor Description PredecessorSelectionDialog(org.eclipse.swt.widgets.Shell parent, int style, java.lang.String projectID)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcreateContents(org.eclipse.swt.widgets.Shell shell)Creates the dialog's contents.java.util.ArrayList<java.lang.String>open()Opens the dialog and returns the input.voidrefreshData()Sets the input of the CheckboxTableViewer to refresh the contents of the view.
-
-
-
Method Detail
-
open
public java.util.ArrayList<java.lang.String> open()
Opens the dialog and returns the input.- Returns:
- String
-
createContents
private void createContents(org.eclipse.swt.widgets.Shell shell)
Creates the dialog's contents.- Parameters:
shell- the dialog window
-
refreshData
public void refreshData()
Sets the input of the CheckboxTableViewer to refresh the contents of the view.
-
-