<commit_before>/**
 * 
 */
package authoring;

import java.util.ResourceBundle;

import authoring.canvas.Canvas;
import authoring.panel.Panel;
import authoring.settings.Settings;
import authoring.utils.Factory;
import authoring.views.View;
import discussion.Discussion;
import javafx.geometry.Insets;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.SplitPane;
import javafx.scene.layout.BorderPane;

/**
 * @author <NAME>
 *
 */
public class Workspace extends View {

	private ResourceBundle resources;
	private Settings settings;
	private Canvas canvas;
	private Panel panel;
	private SplitPane pane;

	/**
	 * 
	 */
	public Workspace(ResourceBundle resources) {
		super("Workspace");
		this.resources = resources;
		setup();
	}

	/**
	 * Initializes the Workspace's components.
	 */
	private void setup() {
		pane = new SplitPane();
		//settings = new Settings(this, 0);
		canvas = new Canvas(this);
		panel = new Panel(this, 1);
		pane.getItems().addAll(settings, canvas, panel);
		pane.setDividerPositions(0.3, 0.75);
		setPadding(new Insets(4));
		setCenter(pane);
	}

	public ResourceBundle getResources() {
		return resources;
	}

	public SplitPane getPane() {
		return pane;
	}

	public void showMessage(String message) {
		Factory factory = new Factory(resources);
		factory.makeAlert(AlertType.ERROR, "ErrorTitle", "ErrorHeader", message).showAndWait();
	}
<commit_msg>Entire relocation of Settings panel<commit_after>/**
 * 
 */
package authoring;

import java.util.ResourceBundle;

import authoring.canvas.Canvas;
import authoring.panel.Panel;
import authoring.settings.Settings;
import authoring.utils.Factory;
import authoring.views.View;
import discussion.Discussion;
import javafx.geometry.Insets;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.SplitPane;
import javafx.scene.layout.BorderPane;

/**
 * @author <NAME>
 *
 */
public class Workspace extends View {

	private ResourceBundle resources;
	private Canvas canvas;
	private Panel panel;
	private SplitPane pane;

	/**
	 * 
	 */
	public Workspace(ResourceBundle resources) {
		super("Workspace");
		this.resources = resources;
		setup();
	}

	/**
	 * Initializes the Workspace's components.
	 */
	private void setup() {
		pane = new SplitPane();
		//settings = new Settings(this, 0);
		panel = new Panel(this, 0);
		canvas = new Canvas(this);
		pane.getItems().addAll(panel,canvas);
		pane.setDividerPositions(0.3, 0.75);
		setPadding(new Insets(4));
		setCenter(pane);
	}

	public ResourceBundle getResources() {
		return resources;
	}

	public SplitPane getPane() {
		return pane;
	}

	public void showMessage(String message) {
		Factory factory = new Factory(resources);
		factory.makeAlert(AlertType.ERROR, "ErrorTitle", "ErrorHeader", message).showAndWait();
	}

{'fraction_non_alphanumeric': 0.12253672518810463, 'fraction_numerical': 0.00573271228950197, 'mean_word_length': 4.595190380761523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5804366', 'n_tokens_mistral': 933, 'n_tokens_neox': 857, 'n_words': 209}