Skip to content

Commit

Permalink
refactored dir structure for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-z7 committed Dec 4, 2024
1 parent f36664a commit c4a2a9f
Show file tree
Hide file tree
Showing 22 changed files with 37 additions and 21 deletions.
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/LogIn.java → src/main/project/LogIn.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Pages.LoginPage;
package main.project;

import Entities.Guest;
import main.project.pages.LoginPage;

import main.project.modules.Guest;
import javax.swing.*;

public class LogIn {
Expand Down
4 changes: 3 additions & 1 deletion src/Main.java → src/main/project/Main.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Entities.*;
package main.project;

import main.project.modules.Guest;

public class Main {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Pages.HealthClubHomePage;
import Entities.*;
package main.project;

import main.project.modules.Guest;
import main.project.pages.HealthClubHomePage;

import javax.swing.*;

public class SoftEngHealthClubSystem {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Entities;
package main.project.modules;
import java.time.LocalDate;

public class Guest extends Person {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Entities;
package main.project.modules;

import java.time.LocalDate;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Entities;
package main.project.modules;

import java.time.LocalDate;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Entities;
package main.project.modules;

public enum Status {
STAFF,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="Pages.CreateForm">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="main.project.pages.CreateForm">
<grid id="27dc6" binding="createPanel" layout-manager="GridLayoutManager" row-count="2" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="4" left="4" bottom="4" right="4"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Pages;
package main.project.pages;

import Entities.Member;
import main.project.modules.Member;

import javax.swing.*;
import java.awt.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="Pages.HealthClubHomePage">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="main.project.pages.HealthClubHomePage">
<grid id="27dc6" binding="systemPane" layout-manager="GridLayoutManager" row-count="13" column-count="6" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="6" left="6" bottom="6" right="6"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package Pages;
package main.project.pages;

import Entities.*;
import main.project.modules.Guest;
import main.project.modules.Member;
import main.project.modules.Status;
import modules.*;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import java.awt.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="Pages.InactiveMemberList">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="main.project.pages.InactiveMemberList">
<grid id="27dc6" binding="InactiveMemberListPanel" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="6" left="6" bottom="6" right="6"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Pages;
package main.project.pages;

import javax.swing.*;
import javax.swing.filechooser.FileNameExtensionFilter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="Pages.LoginPage">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="main.project.pages.LoginPage">
<grid id="27dc6" binding="loginPanel" layout-manager="GridLayoutManager" row-count="12" column-count="4" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="4" left="4" bottom="4" right="4"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Pages;
package main.project.pages;

import Entities.Guest;
import main.project.modules.Guest;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Pages;
package main.project.pages;

public interface jdbcValues {
final String DB_URL = "jdbc:mysql://localhost:3306/softeng_health_club_db";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c4a2a9f

Please sign in to comment.