Project re-organization

This commit is contained in:
Rohit Awate 2018-06-25 11:48:46 +05:30
parent 92e8066607
commit fdb680b97a
No known key found for this signature in database
GPG key ID: 1051D7B79CF2EE25
20 changed files with 41 additions and 42 deletions

View file

@ -15,10 +15,10 @@
*/
package com.rohitawate.everest;
import com.rohitawate.everest.util.EverestUtilities;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.settings.SettingsLoader;
import com.rohitawate.everest.util.themes.ThemeManager;
import com.rohitawate.everest.misc.EverestUtilities;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import com.rohitawate.everest.settings.SettingsLoader;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Rectangle2D;

View file

@ -18,10 +18,10 @@ package com.rohitawate.everest.controllers;
import com.rohitawate.everest.controllers.codearea.EverestCodeArea;
import com.rohitawate.everest.controllers.codearea.EverestCodeArea.HighlightMode;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import com.rohitawate.everest.models.DashboardState;
import com.rohitawate.everest.models.requests.DataDispatchRequest;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;

View file

@ -23,6 +23,9 @@ import com.rohitawate.everest.controllers.codearea.EverestCodeArea;
import com.rohitawate.everest.controllers.codearea.EverestCodeArea.HighlightMode;
import com.rohitawate.everest.exceptions.RedirectException;
import com.rohitawate.everest.exceptions.UnreliableResponseException;
import com.rohitawate.everest.misc.EverestUtilities;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import com.rohitawate.everest.models.DashboardState;
import com.rohitawate.everest.models.requests.DELETERequest;
import com.rohitawate.everest.models.requests.DataDispatchRequest;
@ -30,9 +33,6 @@ import com.rohitawate.everest.models.requests.GETRequest;
import com.rohitawate.everest.models.responses.EverestResponse;
import com.rohitawate.everest.requestmanager.DataDispatchRequestManager;
import com.rohitawate.everest.requestmanager.RequestManager;
import com.rohitawate.everest.util.EverestUtilities;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;

View file

@ -16,8 +16,8 @@
package com.rohitawate.everest.controllers;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;

View file

@ -16,8 +16,8 @@
package com.rohitawate.everest.controllers;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;

View file

@ -17,10 +17,10 @@
package com.rohitawate.everest.controllers;
import com.jfoenix.controls.JFXButton;
import com.rohitawate.everest.misc.KeyMap;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import com.rohitawate.everest.models.DashboardState;
import com.rohitawate.everest.util.KeyMap;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import javafx.application.Platform;
import javafx.beans.binding.Bindings;
import javafx.beans.property.StringProperty;

View file

@ -16,8 +16,8 @@
package com.rohitawate.everest.controllers;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.themes.ThemeManager;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.misc.ThemeManager;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;

View file

@ -20,7 +20,7 @@ import com.rohitawate.everest.controllers.codearea.highlighters.Highlighter;
import com.rohitawate.everest.controllers.codearea.highlighters.JSONHighlighter;
import com.rohitawate.everest.controllers.codearea.highlighters.PlaintextHighlighter;
import com.rohitawate.everest.controllers.codearea.highlighters.XMLHighlighter;
import com.rohitawate.everest.util.settings.Settings;
import com.rohitawate.everest.settings.Settings;
import javafx.geometry.Insets;
import org.fxmisc.richtext.CodeArea;

View file

@ -14,14 +14,14 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.history;
package com.rohitawate.everest.history;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.rohitawate.everest.misc.EverestUtilities;
import com.rohitawate.everest.misc.Services;
import com.rohitawate.everest.models.DashboardState;
import com.rohitawate.everest.util.EverestUtilities;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.settings.Settings;
import com.rohitawate.everest.settings.Settings;
import javax.ws.rs.core.MediaType;
import java.io.File;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.logging;
package com.rohitawate.everest.logging;
public enum Level {
SEVERE, WARNING, INFO;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.logging;
package com.rohitawate.everest.logging;
class Log {
Level level;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.logging;
package com.rohitawate.everest.logging;
import java.io.*;
import java.time.LocalDate;

View file

@ -14,9 +14,9 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.logging;
package com.rohitawate.everest.logging;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.misc.Services;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util;
package com.rohitawate.everest.misc;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util;
package com.rohitawate.everest.misc;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;

View file

@ -14,14 +14,14 @@
* limitations under the License.
*/
package com.rohitawate.everest.util;
package com.rohitawate.everest.misc;
import com.google.common.util.concurrent.MoreExecutors;
import com.rohitawate.everest.controllers.HomeWindowController;
import com.rohitawate.everest.history.HistoryManager;
import com.rohitawate.everest.logging.Level;
import com.rohitawate.everest.logging.LoggingService;
import com.rohitawate.everest.requestmanager.RequestManagersPool;
import com.rohitawate.everest.util.history.HistoryManager;
import com.rohitawate.everest.util.logging.Level;
import com.rohitawate.everest.util.logging.LoggingService;
import java.util.concurrent.Executor;

View file

@ -14,11 +14,10 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.themes;
package com.rohitawate.everest.misc;
import com.rohitawate.everest.controllers.codearea.EverestCodeArea;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.util.settings.Settings;
import com.rohitawate.everest.settings.Settings;
import javafx.scene.Parent;
import java.io.File;

View file

@ -19,7 +19,7 @@ import com.rohitawate.everest.exceptions.RedirectException;
import com.rohitawate.everest.exceptions.UnreliableResponseException;
import com.rohitawate.everest.models.requests.EverestRequest;
import com.rohitawate.everest.models.responses.EverestResponse;
import com.rohitawate.everest.util.settings.Settings;
import com.rohitawate.everest.settings.Settings;
import javafx.concurrent.Service;
import org.glassfish.jersey.client.ClientProperties;
import org.glassfish.jersey.client.HttpUrlConnectorProvider;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.settings;
package com.rohitawate.everest.settings;
/**
* Holds default settings values which may

View file

@ -14,11 +14,11 @@
* limitations under the License.
*/
package com.rohitawate.everest.util.settings;
package com.rohitawate.everest.settings;
import com.fasterxml.jackson.databind.JsonNode;
import com.rohitawate.everest.util.EverestUtilities;
import com.rohitawate.everest.util.Services;
import com.rohitawate.everest.misc.EverestUtilities;
import com.rohitawate.everest.misc.Services;
import java.io.File;
import java.io.IOException;