Reduce visibility of view classes to package-private

This commit is contained in:
Chris Beams 2014-11-23 12:27:50 +01:00
parent 68a1140a6d
commit 1390ce21a8
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
20 changed files with 20 additions and 20 deletions

View File

@ -31,7 +31,7 @@ import javafx.stage.Modality;
import javafx.stage.Stage;
// TODO Arbitration is very basic yet
public class ArbitratorSettingsView extends AbstractView {
class ArbitratorSettingsView extends AbstractView {
private ArbitratorRegistrationView arbitratorRegistrationView;

View File

@ -40,7 +40,7 @@ import javafx.scene.layout.*;
import javafx.stage.Stage;
// TODO Arbitration is very basic yet
public class ArbitratorBrowserView extends ActivatableView<Pane, Void> implements ArbitratorListener {
class ArbitratorBrowserView extends ActivatableView<Pane, Void> implements ArbitratorListener {
@FXML Button prevButton, nextButton, selectButton, closeButton;
@FXML Pane arbitratorProfile;

View File

@ -28,7 +28,7 @@ import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.scene.layout.*;
public class ChangePasswordView extends InitializableView<GridPane, ChangePasswordViewModel> implements Wizard.Step {
class ChangePasswordView extends InitializableView<GridPane, ChangePasswordViewModel> implements Wizard.Step {
@FXML HBox buttonsHBox;
@FXML Button saveButton, skipButton;

View File

@ -49,7 +49,7 @@ import org.controlsfx.dialog.Dialog;
import static javafx.beans.binding.Bindings.createBooleanBinding;
public class FiatAccountView extends ActivatableViewAndModel<GridPane, FiatAccountViewModel> implements Wizard.Step {
class FiatAccountView extends ActivatableViewAndModel<GridPane, FiatAccountViewModel> implements Wizard.Step {
@FXML HBox buttonsHBox;
@FXML ComboBox<Region> regionComboBox;

View File

@ -35,7 +35,7 @@ import javafx.scene.paint.*;
import de.jensd.fx.fontawesome.AwesomeDude;
import de.jensd.fx.fontawesome.AwesomeIcon;
public class AccountSettingsView extends ActivatableViewAndModel {
class AccountSettingsView extends ActivatableViewAndModel {
private final ViewLoader viewLoader;
private final Navigation navigation;

View File

@ -36,7 +36,7 @@ import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.scene.layout.*;
public class AccountSetupWizard extends ActivatableView implements Wizard {
class AccountSetupWizard extends ActivatableView implements Wizard {
@FXML VBox leftVBox;
@FXML AnchorPane content;

View File

@ -29,7 +29,7 @@ import javafx.beans.value.ChangeListener;
import javafx.fxml.FXML;
import javafx.scene.control.*;
public class FundsView extends ActivatableViewAndModel<TabPane, Activatable> {
class FundsView extends ActivatableViewAndModel<TabPane, Activatable> {
@FXML Tab withdrawalTab, transactionsTab;

View File

@ -36,7 +36,7 @@ import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.util.Callback;
public class TransactionsView extends ActivatableViewAndModel {
class TransactionsView extends ActivatableViewAndModel {
@FXML TableView<TransactionsListItem> table;
@FXML TableColumn<TransactionsListItem, TransactionsListItem> dateColumn, addressColumn, amountColumn, typeColumn,

View File

@ -53,7 +53,7 @@ import org.controlsfx.control.action.Action;
import org.jetbrains.annotations.NotNull;
public class WithdrawalView extends ActivatableViewAndModel {
class WithdrawalView extends ActivatableViewAndModel {
@FXML TableView<WithdrawalListItem> table;
@FXML Button addNewAddressButton;

View File

@ -21,5 +21,5 @@ import io.bitsquare.gui.AbstractView;
// home is just hosting the arbiters buttons yet, but that's just for dev, not clear yet what will be in home,
// probably overview, event history, news, charts,... -> low prio
public class HomeView extends AbstractView {
class HomeView extends AbstractView {
}

View File

@ -22,6 +22,6 @@ import io.bitsquare.gui.AbstractView;
import javax.inject.Inject;
// will be probably only used for arbitration communication, will be renamed and the icon changed
public class MsgView extends AbstractView {
class MsgView extends AbstractView {
}

View File

@ -30,7 +30,7 @@ import javafx.beans.value.ChangeListener;
import javafx.fxml.FXML;
import javafx.scene.control.*;
public class PortfolioView extends ActivatableViewAndModel<TabPane, Activatable> {
class PortfolioView extends ActivatableViewAndModel<TabPane, Activatable> {
@FXML Tab offersTab, openTradesTab, closedTradesTab;

View File

@ -28,7 +28,7 @@ import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.util.Callback;
public class ClosedTradesView extends ActivatableViewAndModel<GridPane, ClosedTradesViewModel> {
class ClosedTradesView extends ActivatableViewAndModel<GridPane, ClosedTradesViewModel> {
@FXML TableView<ClosedTradesListItem> table;
@FXML TableColumn<ClosedTradesListItem, ClosedTradesListItem> priceColumn, amountColumn, volumeColumn,

View File

@ -30,7 +30,7 @@ import javafx.scene.image.*;
import javafx.scene.layout.*;
import javafx.util.Callback;
public class OffersView extends ActivatableViewAndModel<GridPane, OffersViewModel> {
class OffersView extends ActivatableViewAndModel<GridPane, OffersViewModel> {
@FXML TableView<OfferListItem> table;
@FXML TableColumn<OfferListItem, OfferListItem> priceColumn, amountColumn, volumeColumn,

View File

@ -52,7 +52,7 @@ import javafx.scene.layout.*;
import javafx.util.Callback;
import javafx.util.StringConverter;
public class PendingTradesView extends ActivatableViewAndModel<AnchorPane, PendingTradesViewModel> {
class PendingTradesView extends ActivatableViewAndModel<AnchorPane, PendingTradesViewModel> {
@FXML GridPane gridPane;
@FXML ScrollPane scrollPane;

View File

@ -30,7 +30,7 @@ import javafx.beans.value.ChangeListener;
import javafx.fxml.FXML;
import javafx.scene.control.*;
public class SettingsView extends ActivatableViewAndModel<TabPane, Activatable> {
class SettingsView extends ActivatableViewAndModel<TabPane, Activatable> {
@FXML Tab preferencesTab, networkSettingsTab;

View File

@ -25,7 +25,7 @@ import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.scene.layout.*;
public class PreferencesView extends ActivatableViewAndModel<GridPane, PreferencesViewModel> {
class PreferencesView extends ActivatableViewAndModel<GridPane, PreferencesViewModel> {
@FXML ComboBox<String> btcDenominationComboBox;
@FXML CheckBox useAnimationsCheckBox, useEffectsCheckBox;

View File

@ -26,7 +26,7 @@ import javax.inject.Inject;
import javafx.fxml.FXML;
import javafx.scene.control.*;
public class NetworkSettingsView extends InitializableView {
class NetworkSettingsView extends InitializableView {
private final String bitcoinNetworkValue;
private final ClientNode clientNode;

View File

@ -22,7 +22,7 @@ import io.bitsquare.gui.ViewLoader;
import javax.inject.Inject;
public class BuyView extends TradeView {
class BuyView extends TradeView {
@Inject
public BuyView(ViewLoader viewLoader, Navigation navigation) {

View File

@ -22,7 +22,7 @@ import io.bitsquare.gui.ViewLoader;
import javax.inject.Inject;
public class SellView extends TradeView {
class SellView extends TradeView {
@Inject
public SellView(ViewLoader viewLoader, Navigation navigation) {