Change package structure

This commit is contained in:
Manfred Karrer 2014-09-11 01:08:34 +02:00
parent fcb2e6c5f9
commit 78d939f181
130 changed files with 244 additions and 270 deletions

View file

@ -18,7 +18,7 @@
package io.bitsquare;
import io.bitsquare.btc.RestrictionsTest;
import io.bitsquare.gui.pm.trade.CreateOfferPMTest;
import io.bitsquare.gui.main.trade.createoffer.CreateOfferPMTest;
import io.bitsquare.gui.util.BSFormatterTest;
import io.bitsquare.gui.util.BitSquareConverterTest;
import io.bitsquare.gui.util.BitSquareNumberValidatorTest;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account;
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class AccountSettingsUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/AccountSettingsView.fxml"), false);
getUrl("/io/bitsquare/gui/account/AccountSettingsView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account;
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class AccountUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/AccountView.fxml"), false);
getUrl("/io/bitsquare/gui/account/AccountView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account;
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class RegistrationUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/RegistrationView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/RegistrationView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account;
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account.registration.uimock;
package io.bitsquare.gui.main.account.registration.uimock;
import java.net.URL;

View file

@ -1,4 +1,4 @@
package io.bitsquare.gui.account.registration.uimock;
package io.bitsquare.gui.main.account.registration.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -24,7 +24,7 @@
<GridPane fx:id="root" hgap="5.0" stylesheets="@../../../../../../../java/io/bitsquare/gui/bitsquare.css"
vgap="5.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.account.registration.uimock.FundRegistrationWalletControllerUIMock">
fx:controller="io.bitsquare.gui.main.account.registration.uimock.FundRegistrationWalletControllerUIMock">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="26.0"/>

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.account.registration.uimock;
package io.bitsquare.gui.main.account.registration.uimock;
import java.net.URL;

View file

@ -1,4 +1,4 @@
package io.bitsquare.gui.account.registration.uimock;
package io.bitsquare.gui.main.account.registration.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -24,7 +24,7 @@
<BorderPane fx:id="root" prefHeight="660.0" prefWidth="1000.0" style="-fx-background-color: f4f4f4;"
stylesheets="@../../../../../../../../main/java/io/bitsquare/gui/bitsquare.css"
xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.account.registration.uimock.RegistrationControllerUIMock">
fx:controller="io.bitsquare.gui.main.account.registration.uimock.RegistrationControllerUIMock">
<left>
<VBox spacing="5" prefWidth="300.0" BorderPane.alignment="CENTER">

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings;
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class FiatAccountUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/FiatAccountView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/FiatAccountView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings;
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class PasswordUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/PasswordView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/PasswordView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings;
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class RegistrationUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/RegistrationView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/RegistrationView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings;
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class RestrictionsUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/RestrictionsView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/RestrictionsView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings;
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class SeedWordsUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/account/content/SeedWordsView.fxml"), false);
getUrl("/io/bitsquare/gui/account/content/SeedWordsView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.bank.BankAccount;
import io.bitsquare.bank.BankAccountType;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -22,7 +22,7 @@
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<GridPane hgap="5.0" vgap="5.0" fx:id="root"
fx:controller="io.bitsquare.gui.settings.uimock.BankAccountSettingsControllerUIMock"
fx:controller="io.bitsquare.gui.main.settings.uimock.BankAccountSettingsControllerUIMock"
stylesheets="@../../../../../../../main/java/io/bitsquare/gui/bitsquare.css"
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0"

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import java.net.URL;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -23,7 +23,7 @@
<?import javafx.scene.layout.*?>
<GridPane fx:id="root" hgap="5.0" stylesheets="@../../../../../../../main/java/io/bitsquare/gui/bitsquare.css"
vgap="5.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.settings.uimock.RestrictionSettingsControllerUIMock">
fx:controller="io.bitsquare.gui.main.settings.uimock.RestrictionSettingsControllerUIMock">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="26.0"/>

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import java.net.URL;

View file

@ -1,4 +1,4 @@
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -26,7 +26,7 @@
stylesheets="@../../../../../../../main/java/io/bitsquare/gui/bitsquare.css" vgap="5.0"
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.settings.uimock.SeedWordsControllerUIMock">
fx:controller="io.bitsquare.gui.main.settings.uimock.SeedWordsControllerUIMock">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="26.0"/>

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import java.net.URL;

View file

@ -1,4 +1,4 @@
package io.bitsquare.gui.settings.uimock;
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -24,7 +24,7 @@
<GridPane fx:id="root" hgap="5.0" stylesheets="@../../../../../../../main/java/io/bitsquare/gui/bitsquare.css"
vgap="5.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.settings.uimock.SetPasswordControllerUIMock">
fx:controller="io.bitsquare.gui.main.settings.uimock.SetPasswordControllerUIMock">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="26.0"/>

View file

@ -15,10 +15,9 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.pm.trade;
package io.bitsquare.gui.main.trade.createoffer;
import io.bitsquare.bank.BankAccountType;
import io.bitsquare.gui.model.trade.CreateOfferModel;
import io.bitsquare.gui.util.BSFormatter;
import io.bitsquare.locale.Country;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.trade.createoffer;
package io.bitsquare.gui.main.trade.createoffer;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;
@ -68,7 +68,7 @@ public class CreateOfferUITestRunner extends Application {
log.debug("re load");
pane.getChildren().removeAll();
BSFXMLLoader loader = new BSFXMLLoader(
getUrl("/io/bitsquare/gui/view/trade/CreateOfferView.fxml"), false);
getUrl("/io/bitsquare/gui/trade/createoffer/CreateOfferView.fxml"), false);
try {
view = loader.load();
pane.getChildren().setAll(view);

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.trade.createoffer.uimock;
package io.bitsquare.gui.main.trade.createoffer.uimock;
import io.bitsquare.gui.components.confidence.ConfidenceProgressIndicator;

View file

@ -15,7 +15,7 @@
* along with Bitsquare. If not, see <http://www.gnu.org/licenses/>.
*/
package io.bitsquare.gui.trade.createoffer.uimock;
package io.bitsquare.gui.main.trade.createoffer.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.util.BSFXMLLoader;

View file

@ -26,7 +26,7 @@
stylesheets="@../../../../../../../../main/java/io/bitsquare/gui/bitsquare.css"
AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0"
AnchorPane.topAnchor="10.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="io.bitsquare.gui.trade.createoffer.uimock.CreateOfferControllerUIMock">
fx:controller="io.bitsquare.gui.main.trade.createoffer.uimock.CreateOfferControllerUIMock">
<children>
<ScrollPane fitToHeight="true" fitToWidth="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">