Merge branch 'master' of https://gitlab.stud.idi.ntnu.no/oysteikt/h20-tdt4100-project
This commit is contained in:
commit
d5ad1ed82a
@ -35,7 +35,7 @@ import javafx.scene.control.ToggleGroup;
|
|||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A FXML controller that controls the menubar component of the UI
|
* A FXML controller that controls the MenuBar
|
||||||
*/
|
*/
|
||||||
public class MenubarController implements Initializable, Controller {
|
public class MenubarController implements Initializable, Controller {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ import javafx.fxml.Initializable;
|
|||||||
import javafx.scene.control.Label;
|
import javafx.scene.control.Label;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A FXML controller that controls the modeline component of the UI
|
* A FXML controller that controls the Modeline
|
||||||
*/
|
*/
|
||||||
public class ModelineController implements Initializable, Controller {
|
public class ModelineController implements Initializable, Controller {
|
||||||
|
|
||||||
|
@ -2,6 +2,9 @@ package app.events;
|
|||||||
|
|
||||||
import app.model.Model;
|
import app.model.Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event signalizing that the current file should be saved to disk
|
||||||
|
*/
|
||||||
public class SaveFileEvent extends Event {
|
public class SaveFileEvent extends Event {
|
||||||
|
|
||||||
private boolean isNewFile;
|
private boolean isNewFile;
|
||||||
|
@ -11,6 +11,9 @@ import java.util.Scanner;
|
|||||||
import app.model.Model;
|
import app.model.Model;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class containing operations and logic for choosing, reading and writing to files.
|
||||||
|
*/
|
||||||
public class FileOperations {
|
public class FileOperations {
|
||||||
|
|
||||||
private FileOperations() {}
|
private FileOperations() {}
|
||||||
|
@ -16,6 +16,9 @@ import javafx.scene.control.TreeItem;
|
|||||||
import javafx.scene.image.Image;
|
import javafx.scene.image.Image;
|
||||||
import javafx.scene.image.ImageView;
|
import javafx.scene.image.ImageView;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class containing operations for handling files withing a GUI filetree
|
||||||
|
*/
|
||||||
public class FiletreeOperations {
|
public class FiletreeOperations {
|
||||||
|
|
||||||
private static int iconSize = 20;
|
private static int iconSize = 20;
|
||||||
|
Loading…
Reference in New Issue
Block a user