package de.prob2.ui;

import com.google.inject.Inject;
import de.prob.scripting.Api;
import de.prob2.ui.dotty.DottyView;
import de.prob2.ui.history.HistoryView;
import de.prob2.ui.modelchecking.ModelcheckingController;
import de.prob2.ui.operations.OperationsView;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.Accordion;

public class AnimationPerspective {

	@SuppressWarnings("unused")
	private final Api api;

	@SuppressWarnings("unused")
	private FXMLLoader loader;

	@FXML
	private Accordion small;

	private OperationsView opsController;
	private HistoryView historyController;
	private DottyView dottyController;
	private ModelcheckingController modelCheckStatsController;

	@Inject
	public AnimationPerspective(
		Api api,
		FXMLLoader loader,
		OperationsView opsController,
		HistoryView historyController,
		DottyView dottyController,
		ModelcheckingController modelCheckStatsController
	) {
		this.api = api;
		this.loader = loader;
		this.opsController = opsController;
		this.historyController = historyController;
		this.dottyController = dottyController;
		this.modelCheckStatsController = modelCheckStatsController;
	}

	@FXML
	public void initialize() {
		small.getPanes().clear();
		small.getPanes().addAll(opsController, historyController, dottyController, modelCheckStatsController);
	}
}

@@ -52,38 +52,8 @@
 ct;%0A
-import de.prob.scripting.Api;%0A
 impo
@@ -80,24 +80,24 @@
 .DottyView;%0A
+
 import de.pr
@@ -257,39 +257,8 @@
 ML;%0A
-import javafx.fxml.FXMLLoader;%0A
 impo
@@ -334,120 +334,8 @@
  %7B%0A%0A
-%09@SuppressWarnings(%22unused%22)%0A%09private final Api api;%0A%0A%09@SuppressWarnings(%22unused%22)%0A%09private FXMLLoader loader;%0A%0A
 %09@FX
@@ -583,40 +583,8 @@
 ve(%0A
-%09%09Api api,%0A%09%09FXMLLoader loader,%0A
 %09%09Op
@@ -729,55 +729,13 @@
 ler%0A
+
 %09) %7B%0A
-%09%09this.api = api;%0A%09%09this.loader = loader;%0A
 %09%09th

Remove unused AnimationPerspective variables