+ "Master schedulers can be included, too, although not listed explicitly. "
+ "Add a master scheduler by simply typing its name in the yellow field.";
arr.add(new SingleParameter(
ConstantsStatistics.PLUGINS_PAR_NAME,
Datatypes.STRING_ARR,
new ArrayListString(this.plugins),
descriptionPlug,
"PLUGINS") {
private static final long serialVersionUID = 1L;
@Override
public IntelligentInput getIntelligentInput(
JFrame owner, ParCollection params) {
String[] pluginArray;
LinkedList<String> pluginList = new LinkedList<String>();
Plugin<?> testObject;
for (Class<Plugin<?>> c : PluginFactory.STORED_PLUGINS) {
if (!MasterScheduler.class.isAssignableFrom(c)) {
try {
testObject = c.newInstance();
pluginList.add(testObject.id());
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
}
}
}
Collections.sort(pluginList);
pluginArray = new String[pluginList.size()];
for (int j = 0; j < pluginArray.length; j++) {
pluginArray[j] = pluginList.get(j);
}
ArrayListString alreadyThere = (ArrayListString) this.getParValue();
int[] selected = new int[alreadyThere.size()];
int i = 0;
for (String s1 : alreadyThere) {
for (int j = 0; j < pluginArray.length; j++) {
if (s1.equals(pluginArray[j])) {