1 |
package appl.plugin.multimodelcontrol; |
package appl.plugin.multimodelcontrol; |
2 |
|
|
3 |
import java.awt.Color; |
import java.awt.Color; |
|
import java.awt.PopupMenu; |
|
4 |
import java.awt.event.ActionEvent; |
import java.awt.event.ActionEvent; |
5 |
import java.awt.event.ActionListener; |
import java.awt.event.ActionListener; |
|
import java.util.Vector; |
|
6 |
import java.util.concurrent.locks.Condition; |
import java.util.concurrent.locks.Condition; |
7 |
import java.util.concurrent.locks.Lock; |
import java.util.concurrent.locks.Lock; |
8 |
import java.util.concurrent.locks.ReentrantLock; |
import java.util.concurrent.locks.ReentrantLock; |
9 |
|
|
10 |
import javax.swing.DefaultListModel; |
import javax.swing.DefaultListModel; |
|
import javax.swing.JList; |
|
11 |
import javax.swing.JOptionPane; |
import javax.swing.JOptionPane; |
12 |
import javax.swing.ListSelectionModel; |
import javax.swing.ListSelectionModel; |
13 |
import javax.swing.event.ListSelectionEvent; |
import javax.swing.event.ListSelectionEvent; |
14 |
import javax.swing.event.ListSelectionListener; |
import javax.swing.event.ListSelectionListener; |
15 |
|
|
|
import appl.parallel.gui.ParallelControlPanelEngine; |
|
|
|
|
16 |
import schmitzm.data.event.ObjectEvent; |
import schmitzm.data.event.ObjectEvent; |
17 |
import schmitzm.data.event.ObjectListener; |
import schmitzm.data.event.ObjectListener; |
18 |
import schmitzm.lang.WorkingThread; |
import schmitzm.lang.WorkingThread; |
19 |
import schmitzm.lang.WorkingThreadAdapter; |
import schmitzm.lang.WorkingThreadAdapter; |
|
import schmitzm.lang.WorkingThreadListener; |
|
20 |
import schmitzm.swing.TextAreaPrintStream; |
import schmitzm.swing.TextAreaPrintStream; |
21 |
|
import appl.parallel.gui.ParallelControlPanelEngine; |
22 |
import edu.bonn.xulu.XuluModellingPlatform; |
import edu.bonn.xulu.XuluModellingPlatform; |
23 |
import edu.bonn.xulu.appl.ModelControlManager; |
import edu.bonn.xulu.appl.ModelControlManager; |
24 |
import edu.bonn.xulu.gui.ModelControlFrame; |
import edu.bonn.xulu.gui.ModelControlFrame; |
|
import edu.bonn.xulu.model.StepModel; |
|
25 |
import edu.bonn.xulu.model.XuluModel; |
import edu.bonn.xulu.model.XuluModel; |
|
import edu.bonn.xulu.model.event.ModelEvent; |
|
|
import edu.bonn.xulu.model.event.ModelListener; |
|
26 |
import edu.bonn.xulu.plugin.gui.ModelControlFrame_Basic; |
import edu.bonn.xulu.plugin.gui.ModelControlFrame_Basic; |
27 |
|
|
28 |
/** |
/** |
168 |
} |
} |
169 |
|
|
170 |
/** |
/** |
171 |
* @returns the actually selected ModelListObject from the model list |
* @return the actually selected ModelListObject from the model list |
172 |
*/ |
*/ |
173 |
private ModelListObject getSelectedModelListObject() { |
private ModelListObject getSelectedModelListObject() { |
174 |
return (ModelListObject) frame.modelList.getSelectedValue(); |
return (ModelListObject) frame.modelList.getSelectedValue(); |