Skip to content

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
crissNb committed Jan 15, 2024
1 parent 063e9f7 commit f5ffb49
Show file tree
Hide file tree
Showing 87 changed files with 11 additions and 106 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/gecko/actions/ActionFactory.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.gecko.actions;

import java.util.List;

import javafx.geometry.Point2D;

import org.gecko.tools.Tool;
import org.gecko.viewmodel.BlockViewModelElement;
import org.gecko.viewmodel.ContractViewModel;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/actions/ActionGroup.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/actions/ActionManager.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.Stack;

import lombok.Getter;

public class ActionManager {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.EditorViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.PortViewModel;
import org.gecko.viewmodel.SystemViewModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.RegionViewModel;
import org.gecko.viewmodel.SystemViewModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.StateViewModel;
import org.gecko.viewmodel.SystemViewModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.SystemViewModel;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.EditorViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.SelectionManager;

public class MoveBlockViewModelElementAction extends Action {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/actions/PanAction.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.EditorViewModel;

public class PanAction extends Action {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.GeckoViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/actions/SelectAction.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import java.util.List;

import org.gecko.viewmodel.EditorViewModel;
import org.gecko.viewmodel.PositionableViewModelElement;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/actions/ZoomAction.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.actions;

import javafx.geometry.Point2D;

import org.gecko.viewmodel.EditorViewModel;

public class ZoomAction extends Action {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/application/GeckoIOManager.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.application;

import java.io.File;

import lombok.Getter;
import lombok.Setter;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/io/AutomatonFileParser.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.io;

import java.io.File;

import org.gecko.application.Gecko;

public class AutomatonFileParser implements FileParser {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/io/FileParser.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.io;

import java.io.File;

import org.gecko.application.Gecko;

public interface FileParser {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/io/ProjectFileParser.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.io;

import java.io.File;

import org.gecko.application.Gecko;

public class ProjectFileParser implements FileParser {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/model/Automaton.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/model/Region.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/model/State.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/model/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/CursorTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class CursorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/EdgeCreatorTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class EdgeCreatorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/MarqueeTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class MarqueeTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/PanTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class PanTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/RegionCreatorTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class RegionCreatorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/StateCreatorTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class StateCreatorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/SystemConnectionTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class SystemConnectionTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/SystemCreatorTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class SystemCreatorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/Tool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public interface Tool {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class VariableBlockCreatorTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/tools/ZoomTool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.tools;

import javafx.scene.Node;

import org.gecko.view.views.viewelement.ViewElement;

public class ZoomTool implements Tool {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gecko/view/GeckoView.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import javafx.beans.value.ObservableValue;
import javafx.scene.control.TabPane;
import javafx.scene.layout.BorderPane;

import org.gecko.actions.ActionManager;
import org.gecko.view.menubar.MenuBarBuilder;
import org.gecko.view.views.EditorView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public abstract class AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class EdgeViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class RegionViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class StateViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class SystemConnectionViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class SystemViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.contextmenu;

import javafx.scene.control.ContextMenu;

import org.gecko.view.views.EditorView;

public class VariableBlockViewElementContextMenuBuilder extends AbstractContextMenuBuilder {
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/gecko/view/inspector/Inspector.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package org.gecko.view.inspector;

import java.util.List;

import javafx.scene.Node;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;

import org.gecko.actions.ActionManager;
import org.gecko.view.inspector.element.InspectorElement;
import org.gecko.view.inspector.element.button.InspectorCollapseButton;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import javafx.beans.property.Property;
import javafx.scene.control.ColorPicker;
import javafx.scene.paint.Color;

import org.gecko.view.inspector.element.InspectorElement;

public class InspectorColorPicker extends ColorPicker implements InspectorElement<ColorPicker> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.LinkedList;
import java.util.List;

import lombok.Getter;
import org.gecko.actions.ActionManager;
import org.gecko.view.inspector.Inspector;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.inspector.builder;

import java.util.List;

import org.gecko.actions.ActionManager;
import org.gecko.view.inspector.element.InspectorSeparator;
import org.gecko.view.inspector.element.button.InspectorAddContractButton;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.inspector.element.button;

import javafx.scene.control.Button;

import org.gecko.view.inspector.element.InspectorElement;

public abstract class AbstractInspectorButton extends Button implements InspectorElement<Button> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gecko.view.inspector.element.button;

import java.util.List;

import org.gecko.view.inspector.element.textfield.InspectorContractField;

public class InspectorCollapseContractButton extends AbstractInspectorButton {
Expand Down
Loading

0 comments on commit f5ffb49

Please sign in to comment.