Last change
on this file since 3 was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
1.0 KB
|
Line | |
---|
1 | package genius.gui.uncertainty;
|
---|
2 |
|
---|
3 | import java.awt.BorderLayout;
|
---|
4 |
|
---|
5 | import javax.swing.BoxLayout;
|
---|
6 | import javax.swing.JPanel;
|
---|
7 |
|
---|
8 | import genius.core.repository.ProfileRepItem;
|
---|
9 | import genius.gui.panels.ComboboxSelectionPanel;
|
---|
10 | import genius.gui.panels.SubsetSelectionPanelPlus;
|
---|
11 |
|
---|
12 | public class FlatteningPanel extends JPanel {
|
---|
13 |
|
---|
14 | private static final long serialVersionUID = 7080279850348717370L;
|
---|
15 |
|
---|
16 | private SubsetSelectionPanelPlus<ProfileRepItem> multiPrefSelectionPanel;
|
---|
17 | private ComboboxSelectionPanel strategySelectionBox;
|
---|
18 |
|
---|
19 | public FlatteningPanel(FlatteningModel model) {
|
---|
20 | setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
|
---|
21 | this.multiPrefSelectionPanel = new SubsetSelectionPanelPlus<ProfileRepItem>("Select Preference Profiles" , model.getMultiPrefSelectionModel());
|
---|
22 | add(this.multiPrefSelectionPanel);
|
---|
23 |
|
---|
24 | this.strategySelectionBox = new ComboboxSelectionPanel<>("Select Strategy" , model.getStrategyNamesModel());
|
---|
25 | JPanel southPanel = new JPanel();
|
---|
26 | southPanel.add(strategySelectionBox, BorderLayout.CENTER);
|
---|
27 | add(southPanel);
|
---|
28 | }
|
---|
29 |
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.