From 410390fe9767e61f80dae3f64c4f513acbfd9c04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20F=C3=B8lstad?= Date: Sun, 14 Aug 2022 22:40:07 +0200 Subject: [PATCH] Rename app to Big Table Viewer (#155) --- .github/workflows/build.yaml | 10 +++--- README.md | 16 +++++----- pom.xml | 10 +++--- .../{ltviewer => btviewer}/MainApp.java | 10 +++--- .../config/AppConfig.java | 2 +- .../config/ApplicationEnvironment.java | 2 +- .../config/ConfigInjectionUtil.java | 2 +- .../model/Aggregation.java | 6 ++-- .../model/BigtableCell.java | 2 +- .../model/BigtableColumn.java | 2 +- .../model/BigtableInstance.java | 2 +- .../model/BigtableTable.java | 2 +- .../model/BigtableTableSettings.java | 2 +- .../model/BigtableValue.java | 2 +- .../model/BigtableValueConverter.java | 4 +-- .../model/ByteStringConverterImpl.java | 10 +++--- .../model/CellDefinition.java | 2 +- .../model/ProtoObjectDefinition.java | 4 +-- .../model/QueryResultRow.java | 2 +- .../model/SortUtil.java | 2 +- .../model/ValueTypeConstants.java | 2 +- .../services/ServicesModule.java | 22 ++++++------- .../LoadCredentialsPathService.java | 4 +-- .../SaveCredentialsPathService.java | 4 +-- .../instance/LoadInstancesService.java | 6 ++-- .../instance/SaveInstanceService.java | 6 ++-- .../services/internal/AppDataStorage.java | 8 ++--- .../services/internal/AppDataStorageImpl.java | 8 ++--- .../services/internal/AppDataUtil.java | 4 +-- .../BigtableEmulatorSettingsProvider.java | 4 +-- .../internal/BigtableSettingsProvider.java | 4 +-- .../BigtableSettingsProviderImpl.java | 4 +-- .../services/internal/CredentialsManager.java | 2 +- .../internal/DynamicCredentialsProvider.java | 2 +- .../internal/testdata/PersonOuterClass.java | 2 +- .../internal/testdata/TestDataUtil.java | 8 ++--- .../internal/testdata/descriptorset.pb | 0 .../services/internal/testdata/person.proto | 0 .../services/project/LoadProjectsService.java | 4 +-- .../project/RemoveProjectService.java | 4 +-- .../services/query/BigtableQueryService.java | 22 ++++++------- .../services/query/QueryResultConverter.java | 18 +++++------ .../services/table/ListTablesService.java | 8 ++--- .../table/LoadTableSettingsService.java | 10 +++--- .../table/SaveTableSettingsService.java | 8 ++--- .../sql/ByteStringConverter.java | 2 +- .../sql/DateTimeFormatUtil.java | 2 +- .../{ltviewer => btviewer}/sql/Field.java | 2 +- .../{ltviewer => btviewer}/sql/Operator.java | 2 +- .../sql/QueryConverter.java | 6 ++-- .../{ltviewer => btviewer}/sql/QueryType.java | 2 +- .../sql/ReservedWord.java | 2 +- .../{ltviewer => btviewer}/sql/SqlParser.java | 4 +-- .../{ltviewer => btviewer}/sql/SqlQuery.java | 4 +-- .../{ltviewer => btviewer}/sql/SqlToken.java | 4 +-- .../sql/SqlTokenType.java | 2 +- .../sql/SqlTokenizer.java | 4 +-- .../{ltviewer => btviewer}/sql/Value.java | 6 ++-- .../{ltviewer => btviewer}/sql/ValueType.java | 2 +- .../sql/WhereClause.java | 4 +-- .../sql/convert/BigtableRowRange.java | 4 +-- .../convert/RowKeyWhereClauseConverter.java | 4 +-- .../sql/functions/AggregationExpression.java | 6 ++-- .../AggregationExpressionParser.java | 6 ++-- .../sql/functions/Function.java | 4 +-- .../functions/FunctionExpressionParser.java | 6 ++-- .../ValueFunctionExpressionParser.java | 8 ++--- .../ui/ActionEventUtil.java | 2 +- .../ui/MainController.java | 12 +++---- .../ui/dialogs/CredentialsPathDialog.java | 7 ++-- .../ui/dialogs/DialogController.java | 2 +- .../ui/dialogs/DialogLoaderUtil.java | 2 +- .../ui/dialogs/FilePathValidatorUtil.java | 2 +- .../dialogs/ProtoObjectDialogController.java | 10 +++--- .../ui/dialogs/TableSettingsDialog.java | 16 +++++----- .../ui/menubar/MenuBarController.java | 10 +++--- .../ui/projectexplorer/AddInstanceDialog.java | 6 ++-- .../ui/projectexplorer/InstanceTreeItem.java | 6 ++-- .../ProjectExplorerController.java | 12 +++---- .../ProjectItemMenuController.java | 4 +-- .../ui/projectexplorer/ProjectTreeItem.java | 6 ++-- .../ui/projectexplorer/RootTreeItem.java | 6 ++-- .../TableItemMenuController.java | 2 +- .../ui/projectexplorer/TableTreeItem.java | 2 +- .../ui/projectexplorer/TreeItemData.java | 6 ++-- .../ui/querybox/QueryBoxController.java | 24 +++++++------- .../ui/querybox/SyntaxHighlightingUtil.java | 8 ++--- .../queryresult/QueryResultRowTreeItem.java | 4 +-- .../QueryResultViewController.java | 32 +++++++++---------- .../queryresult/cell/CellContentFactory.java | 6 ++-- .../cell/CellTimestampDisplayMode.java | 2 +- .../ui/queryresult/cell/CellView.java | 12 +++---- .../queryresult/cell/JsonTreeViewFactory.java | 4 +-- .../ui/queryresult/rowkey/RowKeyView.java | 4 +-- .../ui/timer/TimerView.java | 4 +-- .../util/AlertUtil.java | 2 +- .../util/ByteStringConverterUtil.java | 2 +- .../{ltviewer => btviewer}/util/Cache.java | 3 +- .../{ltviewer => btviewer}/util/Check.java | 2 +- .../util/FXMLLoaderUtil.java | 2 +- .../util/OperatingSystemUtil.java | 2 +- .../util/ProtoUtil.java | 4 +-- .../util/StringUtil.java | 2 +- .../resources/fxml/bigtable_menu_bar.fxml | 2 +- src/main/resources/fxml/main.fxml | 2 +- src/main/resources/fxml/project_explorer.fxml | 2 +- .../resources/fxml/project_item_menu.fxml | 2 +- .../resources/fxml/proto_object_dialog.fxml | 2 +- src/main/resources/fxml/query_box.fxml | 4 +-- .../resources/fxml/query_result_view.fxml | 2 +- src/main/resources/fxml/table_item_menu.fxml | 2 +- .../model/AggregationTest.java | 4 +-- .../model/BigtableCellTest.java | 2 +- .../model/BigtableValueConverterTest.java | 2 +- .../model/BigtableValueTest.java | 2 +- .../model/ByteStringConverterImplTest.java | 10 +++--- .../model/SortUtilTest.java | 2 +- .../sql/DateTimeFormatUtilTest.java | 2 +- .../{ltviewer => btviewer}/sql/FieldTest.java | 2 +- .../sql/SqlParserTest.java | 2 +- .../sql/SqlTokenizerTest.java | 2 +- .../{ltviewer => btviewer}/sql/ValueTest.java | 2 +- .../sql/convert/BigtableRowRangeTest.java | 2 +- .../AggregationExpressionExpressionTest.java | 4 +-- .../ValueFunctionExpressionParserTest.java | 6 ++-- .../testingutils/ExtraTableViewMatchers.java | 2 +- .../ui/MainAppTest.java | 8 ++--- .../ui/querybox/QueryBoxControllerTest.java | 6 ++-- .../cell/CellContentFactoryTest.java | 6 ++-- .../cell/JsonTreeViewFactoryTest.java | 2 +- .../queryresult/cell/TestDataConstants.java | 2 +- .../ui/timer/TimerViewTest.java | 2 +- .../util/ByteStringConverterUtilTest.java | 2 +- .../util/CheckTest.java | 2 +- .../util/ProtoUtilTest.java | 12 +++---- .../util/StringUtilTest.java | 2 +- 136 files changed, 338 insertions(+), 346 deletions(-) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/MainApp.java (85%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/config/AppConfig.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/config/ApplicationEnvironment.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/config/ConfigInjectionUtil.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/Aggregation.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableCell.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableColumn.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableInstance.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableTable.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableTableSettings.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableValue.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableValueConverter.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/ByteStringConverterImpl.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/CellDefinition.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/ProtoObjectDefinition.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/QueryResultRow.java (99%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/SortUtil.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/model/ValueTypeConstants.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/ServicesModule.java (68%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/credential/LoadCredentialsPathService.java (85%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/credential/SaveCredentialsPathService.java (87%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/instance/LoadInstancesService.java (84%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/instance/SaveInstanceService.java (82%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/AppDataStorage.java (74%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/AppDataStorageImpl.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/AppDataUtil.java (89%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/BigtableEmulatorSettingsProvider.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/BigtableSettingsProvider.java (78%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/BigtableSettingsProviderImpl.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/CredentialsManager.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/DynamicCredentialsProvider.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/testdata/PersonOuterClass.java (99%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/testdata/TestDataUtil.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/testdata/descriptorset.pb (100%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/internal/testdata/person.proto (100%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/project/LoadProjectsService.java (84%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/project/RemoveProjectService.java (87%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/query/BigtableQueryService.java (84%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/query/QueryResultConverter.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/table/ListTablesService.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/table/LoadTableSettingsService.java (80%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/services/table/SaveTableSettingsService.java (80%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/ByteStringConverter.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/DateTimeFormatUtil.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/Field.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/Operator.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/QueryConverter.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/QueryType.java (83%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/ReservedWord.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlParser.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlQuery.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlToken.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlTokenType.java (89%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlTokenizer.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/Value.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/ValueType.java (59%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/WhereClause.java (88%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/convert/BigtableRowRange.java (90%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/convert/RowKeyWhereClauseConverter.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/AggregationExpression.java (90%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/AggregationExpressionParser.java (90%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/Function.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/FunctionExpressionParser.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/ValueFunctionExpressionParser.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/ActionEventUtil.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/MainController.java (74%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/CredentialsPathDialog.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/DialogController.java (80%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/DialogLoaderUtil.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/FilePathValidatorUtil.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/ProtoObjectDialogController.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/dialogs/TableSettingsDialog.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/menubar/MenuBarController.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/AddInstanceDialog.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/InstanceTreeItem.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/ProjectExplorerController.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/ProjectItemMenuController.java (87%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/ProjectTreeItem.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/RootTreeItem.java (93%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/TableItemMenuController.java (79%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/TableTreeItem.java (77%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/projectexplorer/TreeItemData.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/querybox/QueryBoxController.java (90%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/querybox/SyntaxHighlightingUtil.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/QueryResultRowTreeItem.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/QueryResultViewController.java (94%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/CellContentFactory.java (86%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/CellTimestampDisplayMode.java (88%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/CellView.java (92%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/JsonTreeViewFactory.java (97%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/rowkey/RowKeyView.java (77%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/ui/timer/TimerView.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/AlertUtil.java (95%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/ByteStringConverterUtil.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/Cache.java (91%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/Check.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/FXMLLoaderUtil.java (96%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/OperatingSystemUtil.java (90%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/ProtoUtil.java (98%) rename src/main/java/com/erikmafo/{ltviewer => btviewer}/util/StringUtil.java (77%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/AggregationTest.java (93%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableCellTest.java (96%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableValueConverterTest.java (97%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/BigtableValueTest.java (90%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/ByteStringConverterImplTest.java (89%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/model/SortUtilTest.java (98%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/DateTimeFormatUtilTest.java (91%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/FieldTest.java (90%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlParserTest.java (95%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/SqlTokenizerTest.java (99%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/ValueTest.java (96%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/convert/BigtableRowRangeTest.java (96%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/AggregationExpressionExpressionTest.java (94%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/sql/functions/ValueFunctionExpressionParserTest.java (92%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/testingutils/ExtraTableViewMatchers.java (96%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/MainAppTest.java (85%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/querybox/QueryBoxControllerTest.java (90%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/CellContentFactoryTest.java (86%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/JsonTreeViewFactoryTest.java (91%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/queryresult/cell/TestDataConstants.java (91%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/ui/timer/TimerViewTest.java (94%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/util/ByteStringConverterUtilTest.java (97%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/util/CheckTest.java (96%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/util/ProtoUtilTest.java (83%) rename src/test/java/com/erikmafo/{ltviewer => btviewer}/util/StringUtilTest.java (93%) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 938b3682..5cc94176 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,15 +21,15 @@ jobs: - os: windows-latest display-name: 'windows' java-opts: "-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k -Dheadless.geometry=1280x800" - installer-name: 'littletableviewer.msi' + installer-name: 'big-table-viewer.msi' - os: ubuntu-latest display-name: 'linux' java-opts: "-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k" - installer-name: 'littletableviewer.deb' + installer-name: 'big-table-viewer.deb' - os: macos-latest display-name: 'osx' java-opts: "-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.verbose=true" - installer-name: 'littletableviewer.pkg' + installer-name: 'big-table-viewer.pkg' steps: - name: Checkout repository uses: actions/checkout@v2 @@ -77,7 +77,7 @@ jobs: steps: - uses: actions/download-artifact@v2 with: - name: littletableviewer.${{ matrix.extension }} + name: big-table-viewer.${{ matrix.extension }} path: ./ - name: Display downloaded files run: ls -R @@ -87,7 +87,7 @@ jobs: ASSET_NAME=$(basename $ASSET_PATH) echo "ASSET_NAME=${ASSET_NAME}" >> $GITHUB_ENV echo "ASSET_PATH=${ASSET_PATH}" >> $GITHUB_ENV - - name: Upload littletableviewer.${{ matrix.extension }} + - name: Upload big-table-viewer.${{ matrix.extension }} id: upload-release-asset uses: actions/upload-release-asset@v1 env: diff --git a/README.md b/README.md index c75fe6a1..3d4a2615 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# Little table viewer +# Big Table Viewer -[![Build Actions Status](https://github.com/erikmafo/LittleTableViewer/workflows/Build/badge.svg)](https://github.com/erikmafo/LittleTableViewer/actions) -[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/9364e25dcac647f2b0019e61235a5f00)](https://www.codacy.com/gh/erikmafo/LittleTableViewer/dashboard?utm_source=github.com&utm_medium=referral&utm_content=erikmafo/LittleTableiewer&utm_campaign=Badge_Coverage) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6e70e5faa1bc418093f4454f945336ed)](https://app.codacy.com/gh/erikmafo/LittleTableViewer?utm_source=github.com&utm_medium=referral&utm_content=erikmafo/LittleTableViewer&utm_campaign=Badge_Grade_Settings) -[![CodeQL Analysis Actions Status](https://github.com/erikmafo/LittleTableViewer/workflows/CodeQL/badge.svg)](https://github.com/erikmafo/LittleTableViewer/actions) +[![Build Actions Status](https://github.com/erikmafo/BigTableViewer/workflows/Build/badge.svg)](https://github.com/erikmafo/BigTableViewer/actions) +[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/9364e25dcac647f2b0019e61235a5f00)](https://www.codacy.com/gh/erikmafo/BigTableViewer/dashboard?utm_source=github.com&utm_medium=referral&utm_content=erikmafo/BigTableiewer&utm_campaign=Badge_Coverage) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6e70e5faa1bc418093f4454f945336ed)](https://app.codacy.com/gh/erikmafo/BigTableViewer?utm_source=github.com&utm_medium=referral&utm_content=erikmafo/BigTableViewer&utm_campaign=Badge_Grade_Settings) +[![CodeQL Analysis Actions Status](https://github.com/erikmafo/BigTableViewer/workflows/CodeQL/badge.svg)](https://github.com/erikmafo/BigTableViewer/actions) -Little table viewer is an application that lets you query the contents of Google Bigtable tables with SQL. +Big Table Viewer is an application that lets you query the contents of Google Bigtable tables with SQL. ## Installation -Download and run the [installer](https://github.com/erikmafo/LittleTableViewer/releases/latest) +Download and run the [installer](https://github.com/erikmafo/BigTableViewer/releases/latest) for your operating system. ## Basic Usage @@ -24,7 +24,7 @@ should appear in the query box. Click 'Execute' to execute the query. ## Table schema -Little table viewer works best with tables where the data in each column corresponds to a standard data type. By clicking +Big table viewer works best with tables where the data in each column corresponds to a standard data type. By clicking on 'Table settings' you can configure how the application should interpret the columns in your table. ## Query examples diff --git a/pom.xml b/pom.xml index 6c956734..4368443b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,14 +4,14 @@ 4.0.0 com.erikmafo - littletableviewer - 1.0.6 + big-table-viewer + 1.0.7 jar - Little Table Viewer + Big Table Viewer UTF-8 - com.erikmafo.ltviewer.MainApp + com.erikmafo.btviewer.MainApp @@ -148,7 +148,7 @@ - com.erikmafo.ltviewer.MainApp + com.erikmafo.btviewer.MainApp diff --git a/src/main/java/com/erikmafo/ltviewer/MainApp.java b/src/main/java/com/erikmafo/btviewer/MainApp.java similarity index 85% rename from src/main/java/com/erikmafo/ltviewer/MainApp.java rename to src/main/java/com/erikmafo/btviewer/MainApp.java index ac06bdc4..b9fce28f 100644 --- a/src/main/java/com/erikmafo/ltviewer/MainApp.java +++ b/src/main/java/com/erikmafo/btviewer/MainApp.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer; +package com.erikmafo.btviewer; -import com.erikmafo.ltviewer.config.AppConfig; -import com.erikmafo.ltviewer.config.ApplicationEnvironment; -import com.erikmafo.ltviewer.services.ServicesModule; +import com.erikmafo.btviewer.config.AppConfig; +import com.erikmafo.btviewer.config.ApplicationEnvironment; +import com.erikmafo.btviewer.services.ServicesModule; import com.google.inject.Guice; import javafx.application.Application; import javafx.fxml.FXMLLoader; @@ -44,7 +44,7 @@ public void start(@NotNull Stage primaryStage) throws Exception { var injector = Guice.createInjector(new ServicesModule(getAppConfig())); loader.setControllerFactory(injector::getInstance); Parent root = loader.load(); - primaryStage.setTitle("Little Table Viewer"); + primaryStage.setTitle("Big Table Viewer"); primaryStage.setScene(new Scene(root, 1000, 700)); primaryStage.getScene().getStylesheets().addAll("org/kordamp/bootstrapfx/bootstrapfx.css"); primaryStage.show(); diff --git a/src/main/java/com/erikmafo/ltviewer/config/AppConfig.java b/src/main/java/com/erikmafo/btviewer/config/AppConfig.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/config/AppConfig.java rename to src/main/java/com/erikmafo/btviewer/config/AppConfig.java index e49a220f..7d78321a 100644 --- a/src/main/java/com/erikmafo/ltviewer/config/AppConfig.java +++ b/src/main/java/com/erikmafo/btviewer/config/AppConfig.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.config; +package com.erikmafo.btviewer.config; import com.google.common.annotations.VisibleForTesting; import com.google.inject.Inject; diff --git a/src/main/java/com/erikmafo/ltviewer/config/ApplicationEnvironment.java b/src/main/java/com/erikmafo/btviewer/config/ApplicationEnvironment.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/config/ApplicationEnvironment.java rename to src/main/java/com/erikmafo/btviewer/config/ApplicationEnvironment.java index 64b67077..641c207f 100644 --- a/src/main/java/com/erikmafo/ltviewer/config/ApplicationEnvironment.java +++ b/src/main/java/com/erikmafo/btviewer/config/ApplicationEnvironment.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.config; +package com.erikmafo.btviewer.config; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/config/ConfigInjectionUtil.java b/src/main/java/com/erikmafo/btviewer/config/ConfigInjectionUtil.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/config/ConfigInjectionUtil.java rename to src/main/java/com/erikmafo/btviewer/config/ConfigInjectionUtil.java index eec633a2..edebd506 100644 --- a/src/main/java/com/erikmafo/ltviewer/config/ConfigInjectionUtil.java +++ b/src/main/java/com/erikmafo/btviewer/config/ConfigInjectionUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.config; +package com.erikmafo.btviewer.config; import com.google.inject.AbstractModule; import com.google.inject.Guice; diff --git a/src/main/java/com/erikmafo/ltviewer/model/Aggregation.java b/src/main/java/com/erikmafo/btviewer/model/Aggregation.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/model/Aggregation.java rename to src/main/java/com/erikmafo/btviewer/model/Aggregation.java index 828a08dd..46d909e2 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/Aggregation.java +++ b/src/main/java/com/erikmafo/btviewer/model/Aggregation.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; +import com.erikmafo.btviewer.util.Check; import org.jetbrains.annotations.NotNull; public class Aggregation { diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableCell.java b/src/main/java/com/erikmafo/btviewer/model/BigtableCell.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableCell.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableCell.java index 9e29d4cd..1dcaa279 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableCell.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableCell.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import com.google.cloud.bigtable.data.v2.models.RowCell; import com.google.protobuf.ByteString; diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableColumn.java b/src/main/java/com/erikmafo/btviewer/model/BigtableColumn.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableColumn.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableColumn.java index 5f549851..0fe2a263 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableColumn.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableColumn.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import java.util.Objects; diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableInstance.java b/src/main/java/com/erikmafo/btviewer/model/BigtableInstance.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableInstance.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableInstance.java index 16cbb6c9..3a95b1ea 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableInstance.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableInstance.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableTable.java b/src/main/java/com/erikmafo/btviewer/model/BigtableTable.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableTable.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableTable.java index 1ee0d7c8..c416d0b6 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableTable.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableTable.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import com.google.bigtable.admin.v2.TableName; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableTableSettings.java b/src/main/java/com/erikmafo/btviewer/model/BigtableTableSettings.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableTableSettings.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableTableSettings.java index e68d097a..dae7d497 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableTableSettings.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableTableSettings.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import java.util.Collections; import java.util.List; diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableValue.java b/src/main/java/com/erikmafo/btviewer/model/BigtableValue.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableValue.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableValue.java index cd48d59c..2be87e75 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableValue.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableValue.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; /** * Represents a value extracted from a {@link BigtableCell} that is interpreted as one of the types defined in diff --git a/src/main/java/com/erikmafo/ltviewer/model/BigtableValueConverter.java b/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/model/BigtableValueConverter.java rename to src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java index 60b9b66d..da0356de 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/BigtableValueConverter.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.util.ProtoUtil; +import com.erikmafo.btviewer.util.ProtoUtil; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/model/ByteStringConverterImpl.java b/src/main/java/com/erikmafo/btviewer/model/ByteStringConverterImpl.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/model/ByteStringConverterImpl.java rename to src/main/java/com/erikmafo/btviewer/model/ByteStringConverterImpl.java index 30c17b95..35961438 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/ByteStringConverterImpl.java +++ b/src/main/java/com/erikmafo/btviewer/model/ByteStringConverterImpl.java @@ -1,9 +1,9 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.sql.ByteStringConverter; -import com.erikmafo.ltviewer.sql.Field; -import com.erikmafo.ltviewer.sql.Value; -import com.erikmafo.ltviewer.util.ByteStringConverterUtil; +import com.erikmafo.btviewer.sql.ByteStringConverter; +import com.erikmafo.btviewer.sql.Field; +import com.erikmafo.btviewer.sql.Value; +import com.erikmafo.btviewer.util.ByteStringConverterUtil; import com.google.protobuf.ByteString; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/model/CellDefinition.java b/src/main/java/com/erikmafo/btviewer/model/CellDefinition.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/model/CellDefinition.java rename to src/main/java/com/erikmafo/btviewer/model/CellDefinition.java index 4057f6d1..ec285fb4 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/CellDefinition.java +++ b/src/main/java/com/erikmafo/btviewer/model/CellDefinition.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import java.util.Objects; diff --git a/src/main/java/com/erikmafo/ltviewer/model/ProtoObjectDefinition.java b/src/main/java/com/erikmafo/btviewer/model/ProtoObjectDefinition.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/model/ProtoObjectDefinition.java rename to src/main/java/com/erikmafo/btviewer/model/ProtoObjectDefinition.java index 84c58453..0a78d5ee 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/ProtoObjectDefinition.java +++ b/src/main/java/com/erikmafo/btviewer/model/ProtoObjectDefinition.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.util.Check; import org.jetbrains.annotations.NotNull; public class ProtoObjectDefinition { diff --git a/src/main/java/com/erikmafo/ltviewer/model/QueryResultRow.java b/src/main/java/com/erikmafo/btviewer/model/QueryResultRow.java similarity index 99% rename from src/main/java/com/erikmafo/ltviewer/model/QueryResultRow.java rename to src/main/java/com/erikmafo/btviewer/model/QueryResultRow.java index 567d654a..8681dd12 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/QueryResultRow.java +++ b/src/main/java/com/erikmafo/btviewer/model/QueryResultRow.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import java.util.ArrayList; import java.util.Arrays; diff --git a/src/main/java/com/erikmafo/ltviewer/model/SortUtil.java b/src/main/java/com/erikmafo/btviewer/model/SortUtil.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/model/SortUtil.java rename to src/main/java/com/erikmafo/btviewer/model/SortUtil.java index 02141b91..5dbc3409 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/SortUtil.java +++ b/src/main/java/com/erikmafo/btviewer/model/SortUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/model/ValueTypeConstants.java b/src/main/java/com/erikmafo/btviewer/model/ValueTypeConstants.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/model/ValueTypeConstants.java rename to src/main/java/com/erikmafo/btviewer/model/ValueTypeConstants.java index 12d532f3..24e6a003 100644 --- a/src/main/java/com/erikmafo/ltviewer/model/ValueTypeConstants.java +++ b/src/main/java/com/erikmafo/btviewer/model/ValueTypeConstants.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; public class ValueTypeConstants { diff --git a/src/main/java/com/erikmafo/ltviewer/services/ServicesModule.java b/src/main/java/com/erikmafo/btviewer/services/ServicesModule.java similarity index 68% rename from src/main/java/com/erikmafo/ltviewer/services/ServicesModule.java rename to src/main/java/com/erikmafo/btviewer/services/ServicesModule.java index 69bcdc4a..0e7cf0c0 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/ServicesModule.java +++ b/src/main/java/com/erikmafo/btviewer/services/ServicesModule.java @@ -1,14 +1,14 @@ -package com.erikmafo.ltviewer.services; - -import com.erikmafo.ltviewer.config.AppConfig; -import com.erikmafo.ltviewer.config.ApplicationEnvironment; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; -import com.erikmafo.ltviewer.services.internal.AppDataStorageImpl; -import com.erikmafo.ltviewer.services.internal.BigtableEmulatorSettingsProvider; -import com.erikmafo.ltviewer.services.internal.BigtableSettingsProvider; -import com.erikmafo.ltviewer.services.internal.BigtableSettingsProviderImpl; -import com.erikmafo.ltviewer.services.internal.DynamicCredentialsProvider; -import com.erikmafo.ltviewer.services.internal.testdata.TestDataUtil; +package com.erikmafo.btviewer.services; + +import com.erikmafo.btviewer.config.AppConfig; +import com.erikmafo.btviewer.config.ApplicationEnvironment; +import com.erikmafo.btviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.services.internal.AppDataStorageImpl; +import com.erikmafo.btviewer.services.internal.BigtableEmulatorSettingsProvider; +import com.erikmafo.btviewer.services.internal.BigtableSettingsProvider; +import com.erikmafo.btviewer.services.internal.BigtableSettingsProviderImpl; +import com.erikmafo.btviewer.services.internal.DynamicCredentialsProvider; +import com.erikmafo.btviewer.services.internal.testdata.TestDataUtil; import com.google.api.gax.core.CredentialsProvider; import com.google.inject.AbstractModule; diff --git a/src/main/java/com/erikmafo/ltviewer/services/credential/LoadCredentialsPathService.java b/src/main/java/com/erikmafo/btviewer/services/credential/LoadCredentialsPathService.java similarity index 85% rename from src/main/java/com/erikmafo/ltviewer/services/credential/LoadCredentialsPathService.java rename to src/main/java/com/erikmafo/btviewer/services/credential/LoadCredentialsPathService.java index 88c0595d..70dc7183 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/credential/LoadCredentialsPathService.java +++ b/src/main/java/com/erikmafo/btviewer/services/credential/LoadCredentialsPathService.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.credential; +package com.erikmafo.btviewer.services.credential; -import com.erikmafo.ltviewer.services.internal.CredentialsManager; +import com.erikmafo.btviewer.services.internal.CredentialsManager; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/credential/SaveCredentialsPathService.java b/src/main/java/com/erikmafo/btviewer/services/credential/SaveCredentialsPathService.java similarity index 87% rename from src/main/java/com/erikmafo/ltviewer/services/credential/SaveCredentialsPathService.java rename to src/main/java/com/erikmafo/btviewer/services/credential/SaveCredentialsPathService.java index 8cfd7805..b208bd5a 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/credential/SaveCredentialsPathService.java +++ b/src/main/java/com/erikmafo/btviewer/services/credential/SaveCredentialsPathService.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.credential; +package com.erikmafo.btviewer.services.credential; -import com.erikmafo.ltviewer.services.internal.CredentialsManager; +import com.erikmafo.btviewer.services.internal.CredentialsManager; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/instance/LoadInstancesService.java b/src/main/java/com/erikmafo/btviewer/services/instance/LoadInstancesService.java similarity index 84% rename from src/main/java/com/erikmafo/ltviewer/services/instance/LoadInstancesService.java rename to src/main/java/com/erikmafo/btviewer/services/instance/LoadInstancesService.java index 148b82c0..009518bd 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/instance/LoadInstancesService.java +++ b/src/main/java/com/erikmafo/btviewer/services/instance/LoadInstancesService.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.services.instance; +package com.erikmafo.btviewer.services.instance; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.services.internal.AppDataStorage; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/instance/SaveInstanceService.java b/src/main/java/com/erikmafo/btviewer/services/instance/SaveInstanceService.java similarity index 82% rename from src/main/java/com/erikmafo/ltviewer/services/instance/SaveInstanceService.java rename to src/main/java/com/erikmafo/btviewer/services/instance/SaveInstanceService.java index b5d2f4d2..7bdbdc06 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/instance/SaveInstanceService.java +++ b/src/main/java/com/erikmafo/btviewer/services/instance/SaveInstanceService.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.services.instance; +package com.erikmafo.btviewer.services.instance; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.services.internal.AppDataStorage; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorage.java b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorage.java similarity index 74% rename from src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorage.java rename to src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorage.java index 46e55069..cd694898 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorage.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorage.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableTableSettings; import java.io.IOException; import java.util.List; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorageImpl.java b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorageImpl.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorageImpl.java rename to src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorageImpl.java index 26f00005..a2a133e1 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataStorageImpl.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataStorageImpl.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableTableSettings; import com.google.gson.Gson; import com.google.inject.Singleton; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataUtil.java b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataUtil.java similarity index 89% rename from src/main/java/com/erikmafo/ltviewer/services/internal/AppDataUtil.java rename to src/main/java/com/erikmafo/btviewer/services/internal/AppDataUtil.java index 60d6d5c9..63f8b1a6 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/AppDataUtil.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/AppDataUtil.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.util.OperatingSystemUtil; +import com.erikmafo.btviewer.util.OperatingSystemUtil; import org.jetbrains.annotations.NotNull; import java.nio.file.Path; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableEmulatorSettingsProvider.java b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableEmulatorSettingsProvider.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/services/internal/BigtableEmulatorSettingsProvider.java rename to src/main/java/com/erikmafo/btviewer/services/internal/BigtableEmulatorSettingsProvider.java index fe4cac02..2aadbce9 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableEmulatorSettingsProvider.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableEmulatorSettingsProvider.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableInstance; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; import com.google.cloud.bigtable.emulator.v2.Emulator; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProvider.java b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProvider.java similarity index 78% rename from src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProvider.java rename to src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProvider.java index a54af38f..00bf84b3 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProvider.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProvider.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableInstance; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProviderImpl.java b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProviderImpl.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProviderImpl.java rename to src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProviderImpl.java index 8666126d..7d035c0a 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/BigtableSettingsProviderImpl.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/BigtableSettingsProviderImpl.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; -import com.erikmafo.ltviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableInstance; import com.google.api.gax.core.CredentialsProvider; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/CredentialsManager.java b/src/main/java/com/erikmafo/btviewer/services/internal/CredentialsManager.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/services/internal/CredentialsManager.java rename to src/main/java/com/erikmafo/btviewer/services/internal/CredentialsManager.java index 544b07dd..b7b3535a 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/CredentialsManager.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/CredentialsManager.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; import com.google.inject.Singleton; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/DynamicCredentialsProvider.java b/src/main/java/com/erikmafo/btviewer/services/internal/DynamicCredentialsProvider.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/services/internal/DynamicCredentialsProvider.java rename to src/main/java/com/erikmafo/btviewer/services/internal/DynamicCredentialsProvider.java index 9b435a6b..0733381d 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/DynamicCredentialsProvider.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/DynamicCredentialsProvider.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.services.internal; +package com.erikmafo.btviewer.services.internal; import com.google.api.gax.core.CredentialsProvider; import com.google.auth.Credentials; diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/PersonOuterClass.java b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/PersonOuterClass.java similarity index 99% rename from src/main/java/com/erikmafo/ltviewer/services/internal/testdata/PersonOuterClass.java rename to src/main/java/com/erikmafo/btviewer/services/internal/testdata/PersonOuterClass.java index cb193b8e..d8d76b9a 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/PersonOuterClass.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/PersonOuterClass.java @@ -1,6 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: person.proto -package com.erikmafo.ltviewer.services.internal.testdata; +package com.erikmafo.btviewer.services.internal.testdata; public final class PersonOuterClass { private PersonOuterClass() {} diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/TestDataUtil.java b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/TestDataUtil.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/services/internal/testdata/TestDataUtil.java rename to src/main/java/com/erikmafo/btviewer/services/internal/testdata/TestDataUtil.java index 54fc7e35..68246ad5 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/TestDataUtil.java +++ b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/TestDataUtil.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.services.internal.testdata; +package com.erikmafo.btviewer.services.internal.testdata; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.services.internal.BigtableEmulatorSettingsProvider; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.services.internal.BigtableEmulatorSettingsProvider; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; import com.google.cloud.bigtable.data.v2.BigtableDataClient; @@ -11,7 +11,7 @@ import java.io.IOException; -import static com.erikmafo.ltviewer.util.ByteStringConverterUtil.toByteString; +import static com.erikmafo.btviewer.util.ByteStringConverterUtil.toByteString; public class TestDataUtil { diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/descriptorset.pb b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/descriptorset.pb similarity index 100% rename from src/main/java/com/erikmafo/ltviewer/services/internal/testdata/descriptorset.pb rename to src/main/java/com/erikmafo/btviewer/services/internal/testdata/descriptorset.pb diff --git a/src/main/java/com/erikmafo/ltviewer/services/internal/testdata/person.proto b/src/main/java/com/erikmafo/btviewer/services/internal/testdata/person.proto similarity index 100% rename from src/main/java/com/erikmafo/ltviewer/services/internal/testdata/person.proto rename to src/main/java/com/erikmafo/btviewer/services/internal/testdata/person.proto diff --git a/src/main/java/com/erikmafo/ltviewer/services/project/LoadProjectsService.java b/src/main/java/com/erikmafo/btviewer/services/project/LoadProjectsService.java similarity index 84% rename from src/main/java/com/erikmafo/ltviewer/services/project/LoadProjectsService.java rename to src/main/java/com/erikmafo/btviewer/services/project/LoadProjectsService.java index d1c60519..f22ac023 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/project/LoadProjectsService.java +++ b/src/main/java/com/erikmafo/btviewer/services/project/LoadProjectsService.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.project; +package com.erikmafo.btviewer.services.project; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.services.internal.AppDataStorage; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/project/RemoveProjectService.java b/src/main/java/com/erikmafo/btviewer/services/project/RemoveProjectService.java similarity index 87% rename from src/main/java/com/erikmafo/ltviewer/services/project/RemoveProjectService.java rename to src/main/java/com/erikmafo/btviewer/services/project/RemoveProjectService.java index 23930851..42b76af7 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/project/RemoveProjectService.java +++ b/src/main/java/com/erikmafo/btviewer/services/project/RemoveProjectService.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.services.project; +package com.erikmafo.btviewer.services.project; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.services.internal.AppDataStorage; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/query/BigtableQueryService.java b/src/main/java/com/erikmafo/btviewer/services/query/BigtableQueryService.java similarity index 84% rename from src/main/java/com/erikmafo/ltviewer/services/query/BigtableQueryService.java rename to src/main/java/com/erikmafo/btviewer/services/query/BigtableQueryService.java index b7fb6787..044f6e1e 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/query/BigtableQueryService.java +++ b/src/main/java/com/erikmafo/btviewer/services/query/BigtableQueryService.java @@ -1,14 +1,14 @@ -package com.erikmafo.ltviewer.services.query; - -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableValueConverter; -import com.erikmafo.ltviewer.model.ByteStringConverterImpl; -import com.erikmafo.ltviewer.model.QueryResultRow; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; -import com.erikmafo.ltviewer.services.internal.BigtableSettingsProvider; -import com.erikmafo.ltviewer.sql.QueryConverter; -import com.erikmafo.ltviewer.sql.SqlQuery; +package com.erikmafo.btviewer.services.query; + +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableValueConverter; +import com.erikmafo.btviewer.model.ByteStringConverterImpl; +import com.erikmafo.btviewer.model.QueryResultRow; +import com.erikmafo.btviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.services.internal.BigtableSettingsProvider; +import com.erikmafo.btviewer.sql.QueryConverter; +import com.erikmafo.btviewer.sql.SqlQuery; import com.google.cloud.bigtable.data.v2.BigtableDataClient; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; import javafx.concurrent.Service; diff --git a/src/main/java/com/erikmafo/ltviewer/services/query/QueryResultConverter.java b/src/main/java/com/erikmafo/btviewer/services/query/QueryResultConverter.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/services/query/QueryResultConverter.java rename to src/main/java/com/erikmafo/btviewer/services/query/QueryResultConverter.java index deae35c3..dd8d90e3 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/query/QueryResultConverter.java +++ b/src/main/java/com/erikmafo/btviewer/services/query/QueryResultConverter.java @@ -1,12 +1,12 @@ -package com.erikmafo.ltviewer.services.query; - -import com.erikmafo.ltviewer.model.Aggregation; -import com.erikmafo.ltviewer.model.BigtableCell; -import com.erikmafo.ltviewer.model.BigtableValueConverter; -import com.erikmafo.ltviewer.model.QueryResultRow; -import com.erikmafo.ltviewer.sql.Field; -import com.erikmafo.ltviewer.sql.SqlQuery; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; +package com.erikmafo.btviewer.services.query; + +import com.erikmafo.btviewer.model.Aggregation; +import com.erikmafo.btviewer.model.BigtableCell; +import com.erikmafo.btviewer.model.BigtableValueConverter; +import com.erikmafo.btviewer.model.QueryResultRow; +import com.erikmafo.btviewer.sql.Field; +import com.erikmafo.btviewer.sql.SqlQuery; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; import com.google.cloud.bigtable.data.v2.models.Row; import com.google.cloud.bigtable.data.v2.models.RowCell; import org.jetbrains.annotations.Contract; diff --git a/src/main/java/com/erikmafo/ltviewer/services/table/ListTablesService.java b/src/main/java/com/erikmafo/btviewer/services/table/ListTablesService.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/services/table/ListTablesService.java rename to src/main/java/com/erikmafo/btviewer/services/table/ListTablesService.java index 9a34eb06..287f23f4 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/table/ListTablesService.java +++ b/src/main/java/com/erikmafo/btviewer/services/table/ListTablesService.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.services.table; +package com.erikmafo.btviewer.services.table; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.services.internal.BigtableSettingsProvider; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.services.internal.BigtableSettingsProvider; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/table/LoadTableSettingsService.java b/src/main/java/com/erikmafo/btviewer/services/table/LoadTableSettingsService.java similarity index 80% rename from src/main/java/com/erikmafo/ltviewer/services/table/LoadTableSettingsService.java rename to src/main/java/com/erikmafo/btviewer/services/table/LoadTableSettingsService.java index 714b953b..b0a1c345 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/table/LoadTableSettingsService.java +++ b/src/main/java/com/erikmafo/btviewer/services/table/LoadTableSettingsService.java @@ -1,9 +1,9 @@ -package com.erikmafo.ltviewer.services.table; +package com.erikmafo.btviewer.services.table; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableTableSettings; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; -import com.erikmafo.ltviewer.util.AlertUtil; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.util.AlertUtil; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/services/table/SaveTableSettingsService.java b/src/main/java/com/erikmafo/btviewer/services/table/SaveTableSettingsService.java similarity index 80% rename from src/main/java/com/erikmafo/ltviewer/services/table/SaveTableSettingsService.java rename to src/main/java/com/erikmafo/btviewer/services/table/SaveTableSettingsService.java index c07d228b..05646985 100644 --- a/src/main/java/com/erikmafo/ltviewer/services/table/SaveTableSettingsService.java +++ b/src/main/java/com/erikmafo/btviewer/services/table/SaveTableSettingsService.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.services.table; +package com.erikmafo.btviewer.services.table; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableTableSettings; -import com.erikmafo.ltviewer.services.internal.AppDataStorage; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.services.internal.AppDataStorage; import javafx.concurrent.Service; import javafx.concurrent.Task; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/ByteStringConverter.java b/src/main/java/com/erikmafo/btviewer/sql/ByteStringConverter.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/sql/ByteStringConverter.java rename to src/main/java/com/erikmafo/btviewer/sql/ByteStringConverter.java index ce64f534..b09042a9 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/ByteStringConverter.java +++ b/src/main/java/com/erikmafo/btviewer/sql/ByteStringConverter.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import com.google.protobuf.ByteString; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtil.java b/src/main/java/com/erikmafo/btviewer/sql/DateTimeFormatUtil.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtil.java rename to src/main/java/com/erikmafo/btviewer/sql/DateTimeFormatUtil.java index 8d451964..022955ac 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtil.java +++ b/src/main/java/com/erikmafo/btviewer/sql/DateTimeFormatUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/Field.java b/src/main/java/com/erikmafo/btviewer/sql/Field.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/sql/Field.java rename to src/main/java/com/erikmafo/btviewer/sql/Field.java index 923792af..5ba72919 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/Field.java +++ b/src/main/java/com/erikmafo/btviewer/sql/Field.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/Operator.java b/src/main/java/com/erikmafo/btviewer/sql/Operator.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/sql/Operator.java rename to src/main/java/com/erikmafo/btviewer/sql/Operator.java index fb10abca..c383f932 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/Operator.java +++ b/src/main/java/com/erikmafo/btviewer/sql/Operator.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import java.util.Arrays; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/QueryConverter.java b/src/main/java/com/erikmafo/btviewer/sql/QueryConverter.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/sql/QueryConverter.java rename to src/main/java/com/erikmafo/btviewer/sql/QueryConverter.java index fe4e4de2..1f2c8eeb 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/QueryConverter.java +++ b/src/main/java/com/erikmafo/btviewer/sql/QueryConverter.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.sql.convert.RowKeyWhereClauseConverter; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; +import com.erikmafo.btviewer.sql.convert.RowKeyWhereClauseConverter; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; import com.google.cloud.bigtable.data.v2.models.Filters; import com.google.cloud.bigtable.data.v2.models.Query; import com.google.protobuf.ByteString; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/QueryType.java b/src/main/java/com/erikmafo/btviewer/sql/QueryType.java similarity index 83% rename from src/main/java/com/erikmafo/ltviewer/sql/QueryType.java rename to src/main/java/com/erikmafo/btviewer/sql/QueryType.java index 170f9a33..1901da4e 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/QueryType.java +++ b/src/main/java/com/erikmafo/btviewer/sql/QueryType.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; /** * An enumeration of the supported types of queries. The query type must always be the first diff --git a/src/main/java/com/erikmafo/ltviewer/sql/ReservedWord.java b/src/main/java/com/erikmafo/btviewer/sql/ReservedWord.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/sql/ReservedWord.java rename to src/main/java/com/erikmafo/btviewer/sql/ReservedWord.java index 814ec77d..997ee6d0 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/ReservedWord.java +++ b/src/main/java/com/erikmafo/btviewer/sql/ReservedWord.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/SqlParser.java b/src/main/java/com/erikmafo/btviewer/sql/SqlParser.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/sql/SqlParser.java rename to src/main/java/com/erikmafo/btviewer/sql/SqlParser.java index d37900a1..ce4f4cd2 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/SqlParser.java +++ b/src/main/java/com/erikmafo/btviewer/sql/SqlParser.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; import org.jetbrains.annotations.NotNull; public class SqlParser { diff --git a/src/main/java/com/erikmafo/ltviewer/sql/SqlQuery.java b/src/main/java/com/erikmafo/btviewer/sql/SqlQuery.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/sql/SqlQuery.java rename to src/main/java/com/erikmafo/btviewer/sql/SqlQuery.java index ba6945ce..03b4b23c 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/SqlQuery.java +++ b/src/main/java/com/erikmafo/btviewer/sql/SqlQuery.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; import java.util.ArrayList; import java.util.Collection; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/SqlToken.java b/src/main/java/com/erikmafo/btviewer/sql/SqlToken.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/sql/SqlToken.java rename to src/main/java/com/erikmafo/btviewer/sql/SqlToken.java index 8502382b..359e0699 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/SqlToken.java +++ b/src/main/java/com/erikmafo/btviewer/sql/SqlToken.java @@ -1,5 +1,5 @@ -package com.erikmafo.ltviewer.sql; -import com.erikmafo.ltviewer.util.Check; +package com.erikmafo.btviewer.sql; +import com.erikmafo.btviewer.util.Check; import java.util.List; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/SqlTokenType.java b/src/main/java/com/erikmafo/btviewer/sql/SqlTokenType.java similarity index 89% rename from src/main/java/com/erikmafo/ltviewer/sql/SqlTokenType.java rename to src/main/java/com/erikmafo/btviewer/sql/SqlTokenType.java index 882e3d7b..0812ae85 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/SqlTokenType.java +++ b/src/main/java/com/erikmafo/btviewer/sql/SqlTokenType.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; public enum SqlTokenType { INVALID, diff --git a/src/main/java/com/erikmafo/ltviewer/sql/SqlTokenizer.java b/src/main/java/com/erikmafo/btviewer/sql/SqlTokenizer.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/sql/SqlTokenizer.java rename to src/main/java/com/erikmafo/btviewer/sql/SqlTokenizer.java index 157e06fa..2875f5a6 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/SqlTokenizer.java +++ b/src/main/java/com/erikmafo/btviewer/sql/SqlTokenizer.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.sql.functions.Function; +import com.erikmafo.btviewer.sql.functions.Function; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/Value.java b/src/main/java/com/erikmafo/btviewer/sql/Value.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/sql/Value.java rename to src/main/java/com/erikmafo/btviewer/sql/Value.java index 517a66ac..04123418 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/Value.java +++ b/src/main/java/com/erikmafo/btviewer/sql/Value.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.sql.functions.ValueFunctionExpressionParser; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.sql.functions.ValueFunctionExpressionParser; +import com.erikmafo.btviewer.util.Check; import org.jetbrains.annotations.NotNull; public class Value { diff --git a/src/main/java/com/erikmafo/ltviewer/sql/ValueType.java b/src/main/java/com/erikmafo/btviewer/sql/ValueType.java similarity index 59% rename from src/main/java/com/erikmafo/ltviewer/sql/ValueType.java rename to src/main/java/com/erikmafo/btviewer/sql/ValueType.java index dd5172b9..929c4732 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/ValueType.java +++ b/src/main/java/com/erikmafo/btviewer/sql/ValueType.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; public enum ValueType { STRING, diff --git a/src/main/java/com/erikmafo/ltviewer/sql/WhereClause.java b/src/main/java/com/erikmafo/btviewer/sql/WhereClause.java similarity index 88% rename from src/main/java/com/erikmafo/ltviewer/sql/WhereClause.java rename to src/main/java/com/erikmafo/btviewer/sql/WhereClause.java index 23a896e5..d746d652 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/WhereClause.java +++ b/src/main/java/com/erikmafo/btviewer/sql/WhereClause.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.util.Check; public class WhereClause { diff --git a/src/main/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRange.java b/src/main/java/com/erikmafo/btviewer/sql/convert/BigtableRowRange.java similarity index 90% rename from src/main/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRange.java rename to src/main/java/com/erikmafo/btviewer/sql/convert/BigtableRowRange.java index 3c346789..bcbe5830 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRange.java +++ b/src/main/java/com/erikmafo/btviewer/sql/convert/BigtableRowRange.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql.convert; +package com.erikmafo.btviewer.sql.convert; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.util.Check; import com.google.cloud.bigtable.data.v2.models.Query; import com.google.cloud.bigtable.data.v2.models.Range; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/convert/RowKeyWhereClauseConverter.java b/src/main/java/com/erikmafo/btviewer/sql/convert/RowKeyWhereClauseConverter.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/sql/convert/RowKeyWhereClauseConverter.java rename to src/main/java/com/erikmafo/btviewer/sql/convert/RowKeyWhereClauseConverter.java index bf2809e9..3ea7e46c 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/convert/RowKeyWhereClauseConverter.java +++ b/src/main/java/com/erikmafo/btviewer/sql/convert/RowKeyWhereClauseConverter.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql.convert; +package com.erikmafo.btviewer.sql.convert; -import com.erikmafo.ltviewer.sql.WhereClause; +import com.erikmafo.btviewer.sql.WhereClause; import com.google.cloud.bigtable.data.v2.models.Range; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpression.java b/src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpression.java similarity index 90% rename from src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpression.java rename to src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpression.java index b43c133c..57486e38 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpression.java +++ b/src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpression.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.Field; -import com.erikmafo.ltviewer.sql.SqlToken; +import com.erikmafo.btviewer.sql.Field; +import com.erikmafo.btviewer.sql.SqlToken; import org.jetbrains.annotations.NotNull; /** diff --git a/src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionParser.java b/src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionParser.java similarity index 90% rename from src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionParser.java rename to src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionParser.java index eb0bd409..bdaace8d 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionParser.java +++ b/src/main/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionParser.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.Field; -import com.erikmafo.ltviewer.sql.SqlToken; +import com.erikmafo.btviewer.sql.Field; +import com.erikmafo.btviewer.sql.SqlToken; import java.util.List; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/functions/Function.java b/src/main/java/com/erikmafo/btviewer/sql/functions/Function.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/sql/functions/Function.java rename to src/main/java/com/erikmafo/btviewer/sql/functions/Function.java index 0e1716c0..f4e445d7 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/functions/Function.java +++ b/src/main/java/com/erikmafo/btviewer/sql/functions/Function.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.SqlQuery; +import com.erikmafo.btviewer.sql.SqlQuery; import org.jetbrains.annotations.NotNull; import java.util.Arrays; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/functions/FunctionExpressionParser.java b/src/main/java/com/erikmafo/btviewer/sql/functions/FunctionExpressionParser.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/sql/functions/FunctionExpressionParser.java rename to src/main/java/com/erikmafo/btviewer/sql/functions/FunctionExpressionParser.java index 4702369d..8e0c0abf 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/functions/FunctionExpressionParser.java +++ b/src/main/java/com/erikmafo/btviewer/sql/functions/FunctionExpressionParser.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.SqlToken; -import com.erikmafo.ltviewer.sql.SqlTokenType; +import com.erikmafo.btviewer.sql.SqlToken; +import com.erikmafo.btviewer.sql.SqlTokenType; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParser.java b/src/main/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParser.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParser.java rename to src/main/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParser.java index b57eb1c9..d00e599d 100644 --- a/src/main/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParser.java +++ b/src/main/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParser.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.SqlToken; -import com.erikmafo.ltviewer.sql.Value; -import com.erikmafo.ltviewer.sql.ValueType; +import com.erikmafo.btviewer.sql.SqlToken; +import com.erikmafo.btviewer.sql.Value; +import com.erikmafo.btviewer.sql.ValueType; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/ActionEventUtil.java b/src/main/java/com/erikmafo/btviewer/ui/ActionEventUtil.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/ui/ActionEventUtil.java rename to src/main/java/com/erikmafo/btviewer/ui/ActionEventUtil.java index 0d0d9561..1fc454fa 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/ActionEventUtil.java +++ b/src/main/java/com/erikmafo/btviewer/ui/ActionEventUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui; +package com.erikmafo.btviewer.ui; import javafx.event.ActionEvent; import javafx.scene.Node; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/MainController.java b/src/main/java/com/erikmafo/btviewer/ui/MainController.java similarity index 74% rename from src/main/java/com/erikmafo/ltviewer/ui/MainController.java rename to src/main/java/com/erikmafo/btviewer/ui/MainController.java index 9ed8ea04..07674460 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/MainController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/MainController.java @@ -1,10 +1,10 @@ -package com.erikmafo.ltviewer.ui; +package com.erikmafo.btviewer.ui; -import com.erikmafo.ltviewer.sql.SqlQuery; -import com.erikmafo.ltviewer.ui.menubar.MenuBarController; -import com.erikmafo.ltviewer.ui.projectexplorer.ProjectExplorerController; -import com.erikmafo.ltviewer.ui.querybox.QueryBoxController; -import com.erikmafo.ltviewer.ui.queryresult.QueryResultViewController; +import com.erikmafo.btviewer.sql.SqlQuery; +import com.erikmafo.btviewer.ui.menubar.MenuBarController; +import com.erikmafo.btviewer.ui.projectexplorer.ProjectExplorerController; +import com.erikmafo.btviewer.ui.querybox.QueryBoxController; +import com.erikmafo.btviewer.ui.queryresult.QueryResultViewController; import javafx.fxml.FXML; /** diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/CredentialsPathDialog.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/CredentialsPathDialog.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/CredentialsPathDialog.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/CredentialsPathDialog.java index 35a9b583..4f96d51e 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/CredentialsPathDialog.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/CredentialsPathDialog.java @@ -1,9 +1,8 @@ -package com.erikmafo.ltviewer.ui.dialogs; +package com.erikmafo.btviewer.ui.dialogs; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.event.ActionEvent; import javafx.fxml.FXML; -import javafx.scene.control.Alert; import javafx.scene.control.ButtonBar; import javafx.scene.control.Dialog; import javafx.scene.control.DialogPane; @@ -12,8 +11,6 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.nio.file.Files; -import java.nio.file.InvalidPathException; import java.nio.file.Path; import java.util.concurrent.CompletableFuture; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogController.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogController.java similarity index 80% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogController.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogController.java index 864169f4..5191e3a0 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogController.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.dialogs; +package com.erikmafo.btviewer.ui.dialogs; public interface DialogController { diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogLoaderUtil.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogLoaderUtil.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogLoaderUtil.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogLoaderUtil.java index 8328ee0d..b8bdfdeb 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/DialogLoaderUtil.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/DialogLoaderUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.dialogs; +package com.erikmafo.btviewer.ui.dialogs; import javafx.fxml.FXMLLoader; import javafx.scene.control.ButtonBar; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/FilePathValidatorUtil.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/FilePathValidatorUtil.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/FilePathValidatorUtil.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/FilePathValidatorUtil.java index a7984044..ba49bdb4 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/FilePathValidatorUtil.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/FilePathValidatorUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.dialogs; +package com.erikmafo.btviewer.ui.dialogs; import javafx.scene.control.Alert; import org.jetbrains.annotations.Nullable; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/ProtoObjectDialogController.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/ProtoObjectDialogController.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/ProtoObjectDialogController.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/ProtoObjectDialogController.java index 1cffbb7e..25c8a479 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/ProtoObjectDialogController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/ProtoObjectDialogController.java @@ -1,9 +1,9 @@ -package com.erikmafo.ltviewer.ui.dialogs; +package com.erikmafo.btviewer.ui.dialogs; -import com.erikmafo.ltviewer.model.ProtoObjectDefinition; -import com.erikmafo.ltviewer.ui.ActionEventUtil; -import com.erikmafo.ltviewer.util.AlertUtil; -import com.erikmafo.ltviewer.util.ProtoUtil; +import com.erikmafo.btviewer.model.ProtoObjectDefinition; +import com.erikmafo.btviewer.ui.ActionEventUtil; +import com.erikmafo.btviewer.util.AlertUtil; +import com.erikmafo.btviewer.util.ProtoUtil; import javafx.beans.binding.Bindings; import javafx.event.ActionEvent; import javafx.fxml.FXML; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/TableSettingsDialog.java b/src/main/java/com/erikmafo/btviewer/ui/dialogs/TableSettingsDialog.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/ui/dialogs/TableSettingsDialog.java rename to src/main/java/com/erikmafo/btviewer/ui/dialogs/TableSettingsDialog.java index 34013794..be6f4f34 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/dialogs/TableSettingsDialog.java +++ b/src/main/java/com/erikmafo/btviewer/ui/dialogs/TableSettingsDialog.java @@ -1,11 +1,11 @@ -package com.erikmafo.ltviewer.ui.dialogs; - -import com.erikmafo.ltviewer.model.BigtableColumn; -import com.erikmafo.ltviewer.model.ProtoObjectDefinition; -import com.erikmafo.ltviewer.model.SortUtil; -import com.erikmafo.ltviewer.model.BigtableTableSettings; -import com.erikmafo.ltviewer.model.CellDefinition; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +package com.erikmafo.btviewer.ui.dialogs; + +import com.erikmafo.btviewer.model.BigtableColumn; +import com.erikmafo.btviewer.model.ProtoObjectDefinition; +import com.erikmafo.btviewer.model.SortUtil; +import com.erikmafo.btviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.model.CellDefinition; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleStringProperty; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/menubar/MenuBarController.java b/src/main/java/com/erikmafo/btviewer/ui/menubar/MenuBarController.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/ui/menubar/MenuBarController.java rename to src/main/java/com/erikmafo/btviewer/ui/menubar/MenuBarController.java index 0611cab1..6d0d909a 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/menubar/MenuBarController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/menubar/MenuBarController.java @@ -1,9 +1,9 @@ -package com.erikmafo.ltviewer.ui.menubar; +package com.erikmafo.btviewer.ui.menubar; -import com.erikmafo.ltviewer.services.credential.LoadCredentialsPathService; -import com.erikmafo.ltviewer.services.credential.SaveCredentialsPathService; -import com.erikmafo.ltviewer.ui.dialogs.CredentialsPathDialog; -import com.erikmafo.ltviewer.util.OperatingSystemUtil; +import com.erikmafo.btviewer.services.credential.LoadCredentialsPathService; +import com.erikmafo.btviewer.services.credential.SaveCredentialsPathService; +import com.erikmafo.btviewer.ui.dialogs.CredentialsPathDialog; +import com.erikmafo.btviewer.util.OperatingSystemUtil; import javafx.concurrent.WorkerStateEvent; import javafx.event.ActionEvent; import javafx.fxml.FXML; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/AddInstanceDialog.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/AddInstanceDialog.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/AddInstanceDialog.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/AddInstanceDialog.java index 703a18d2..23240b14 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/AddInstanceDialog.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/AddInstanceDialog.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.fxml.FXML; import javafx.scene.control.ButtonBar; import javafx.scene.control.Dialog; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/InstanceTreeItem.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/InstanceTreeItem.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/InstanceTreeItem.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/InstanceTreeItem.java index 9ef53f56..de45dd56 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/InstanceTreeItem.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/InstanceTreeItem.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.services.table.ListTablesService; -import com.erikmafo.ltviewer.util.AlertUtil; +import com.erikmafo.btviewer.services.table.ListTablesService; +import com.erikmafo.btviewer.util.AlertUtil; import javafx.scene.control.TreeItem; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectExplorerController.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectExplorerController.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectExplorerController.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectExplorerController.java index 546c162f..c07911a8 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectExplorerController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectExplorerController.java @@ -1,10 +1,10 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.services.instance.SaveInstanceService; -import com.erikmafo.ltviewer.services.project.RemoveProjectService; -import com.erikmafo.ltviewer.util.AlertUtil; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.services.instance.SaveInstanceService; +import com.erikmafo.btviewer.services.project.RemoveProjectService; +import com.erikmafo.btviewer.util.AlertUtil; import com.google.inject.Provider; import javafx.beans.property.ReadOnlyObjectProperty; import javafx.beans.property.SimpleObjectProperty; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectItemMenuController.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectItemMenuController.java similarity index 87% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectItemMenuController.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectItemMenuController.java index ab349b0a..0b48b2ee 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectItemMenuController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectItemMenuController.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.services.project.RemoveProjectService; +import com.erikmafo.btviewer.services.project.RemoveProjectService; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.MenuItem; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectTreeItem.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectTreeItem.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectTreeItem.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectTreeItem.java index d51432d3..7fe9c451 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/ProjectTreeItem.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/ProjectTreeItem.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.services.instance.LoadInstancesService; -import com.erikmafo.ltviewer.util.AlertUtil; +import com.erikmafo.btviewer.services.instance.LoadInstancesService; +import com.erikmafo.btviewer.util.AlertUtil; import javafx.concurrent.WorkerStateEvent; import javafx.scene.control.TreeItem; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/RootTreeItem.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/RootTreeItem.java similarity index 93% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/RootTreeItem.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/RootTreeItem.java index 49f2595b..f27a2c84 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/RootTreeItem.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/RootTreeItem.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.services.project.LoadProjectsService; -import com.erikmafo.ltviewer.util.AlertUtil; +import com.erikmafo.btviewer.services.project.LoadProjectsService; +import com.erikmafo.btviewer.util.AlertUtil; import com.google.inject.Provider; import javafx.scene.control.TreeItem; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableItemMenuController.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableItemMenuController.java similarity index 79% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableItemMenuController.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableItemMenuController.java index b8ac27da..9a2912e6 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableItemMenuController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableItemMenuController.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; import javafx.fxml.FXML; import javafx.scene.control.MenuItem; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableTreeItem.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableTreeItem.java similarity index 77% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableTreeItem.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableTreeItem.java index ea9abcf2..26f4c61d 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TableTreeItem.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TableTreeItem.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; import javafx.scene.control.TreeItem; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TreeItemData.java b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TreeItemData.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TreeItemData.java rename to src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TreeItemData.java index 944dce3c..c18bc1dc 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/projectexplorer/TreeItemData.java +++ b/src/main/java/com/erikmafo/btviewer/ui/projectexplorer/TreeItemData.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.projectexplorer; +package com.erikmafo.btviewer.ui.projectexplorer; -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; import javafx.beans.property.BooleanProperty; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleBooleanProperty; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxController.java b/src/main/java/com/erikmafo/btviewer/ui/querybox/QueryBoxController.java similarity index 90% rename from src/main/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxController.java rename to src/main/java/com/erikmafo/btviewer/ui/querybox/QueryBoxController.java index ffa46bd0..b544c8a6 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/querybox/QueryBoxController.java @@ -1,14 +1,14 @@ -package com.erikmafo.ltviewer.ui.querybox; - -import com.erikmafo.ltviewer.model.BigtableInstance; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.QueryResultRow; -import com.erikmafo.ltviewer.services.query.BigtableQueryService; -import com.erikmafo.ltviewer.sql.SqlParser; -import com.erikmafo.ltviewer.sql.SqlQuery; -import com.erikmafo.ltviewer.ui.timer.TimerView; -import com.erikmafo.ltviewer.util.AlertUtil; -import com.erikmafo.ltviewer.util.StringUtil; +package com.erikmafo.btviewer.ui.querybox; + +import com.erikmafo.btviewer.model.BigtableInstance; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.QueryResultRow; +import com.erikmafo.btviewer.services.query.BigtableQueryService; +import com.erikmafo.btviewer.sql.SqlParser; +import com.erikmafo.btviewer.sql.SqlQuery; +import com.erikmafo.btviewer.ui.timer.TimerView; +import com.erikmafo.btviewer.util.AlertUtil; +import com.erikmafo.btviewer.util.StringUtil; import javafx.application.Platform; import javafx.beans.binding.Bindings; import javafx.beans.property.ObjectProperty; @@ -30,7 +30,7 @@ import java.time.Duration; import java.util.regex.Pattern; -import static com.erikmafo.ltviewer.ui.querybox.SyntaxHighlightingUtil.computeSyntaxHighlighting; +import static com.erikmafo.btviewer.ui.querybox.SyntaxHighlightingUtil.computeSyntaxHighlighting; public class QueryBoxController { diff --git a/src/main/java/com/erikmafo/ltviewer/ui/querybox/SyntaxHighlightingUtil.java b/src/main/java/com/erikmafo/btviewer/ui/querybox/SyntaxHighlightingUtil.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/ui/querybox/SyntaxHighlightingUtil.java rename to src/main/java/com/erikmafo/btviewer/ui/querybox/SyntaxHighlightingUtil.java index 4d3eba6d..2846d2ff 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/querybox/SyntaxHighlightingUtil.java +++ b/src/main/java/com/erikmafo/btviewer/ui/querybox/SyntaxHighlightingUtil.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.ui.querybox; +package com.erikmafo.btviewer.ui.querybox; -import com.erikmafo.ltviewer.sql.SqlToken; -import com.erikmafo.ltviewer.sql.SqlTokenType; -import com.erikmafo.ltviewer.sql.SqlTokenizer; +import com.erikmafo.btviewer.sql.SqlToken; +import com.erikmafo.btviewer.sql.SqlTokenType; +import com.erikmafo.btviewer.sql.SqlTokenizer; import org.fxmisc.richtext.model.StyleSpans; import org.fxmisc.richtext.model.StyleSpansBuilder; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultRowTreeItem.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultRowTreeItem.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultRowTreeItem.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultRowTreeItem.java index 0bb8646b..5a85e571 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultRowTreeItem.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultRowTreeItem.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.ui.queryresult; +package com.erikmafo.btviewer.ui.queryresult; -import com.erikmafo.ltviewer.model.QueryResultRow; +import com.erikmafo.btviewer.model.QueryResultRow; import javafx.collections.ObservableList; import javafx.scene.control.TreeItem; import org.jetbrains.annotations.Contract; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultViewController.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultViewController.java similarity index 94% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultViewController.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultViewController.java index d35d379a..bfbcd3aa 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/QueryResultViewController.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/QueryResultViewController.java @@ -1,19 +1,19 @@ -package com.erikmafo.ltviewer.ui.queryresult; - -import com.erikmafo.ltviewer.model.BigtableCell; -import com.erikmafo.ltviewer.model.BigtableColumn; -import com.erikmafo.ltviewer.model.BigtableTable; -import com.erikmafo.ltviewer.model.BigtableTableSettings; -import com.erikmafo.ltviewer.model.BigtableValueConverter; -import com.erikmafo.ltviewer.model.QueryResultRow; -import com.erikmafo.ltviewer.services.table.LoadTableSettingsService; -import com.erikmafo.ltviewer.services.table.SaveTableSettingsService; -import com.erikmafo.ltviewer.ui.queryresult.cell.CellTimestampDisplayMode; -import com.erikmafo.ltviewer.ui.queryresult.cell.CellView; -import com.erikmafo.ltviewer.ui.queryresult.rowkey.RowKeyView; -import com.erikmafo.ltviewer.ui.dialogs.TableSettingsDialog; -import com.erikmafo.ltviewer.util.AlertUtil; -import com.erikmafo.ltviewer.util.OperatingSystemUtil; +package com.erikmafo.btviewer.ui.queryresult; + +import com.erikmafo.btviewer.model.BigtableCell; +import com.erikmafo.btviewer.model.BigtableColumn; +import com.erikmafo.btviewer.model.BigtableTable; +import com.erikmafo.btviewer.model.BigtableTableSettings; +import com.erikmafo.btviewer.model.BigtableValueConverter; +import com.erikmafo.btviewer.model.QueryResultRow; +import com.erikmafo.btviewer.services.table.LoadTableSettingsService; +import com.erikmafo.btviewer.services.table.SaveTableSettingsService; +import com.erikmafo.btviewer.ui.queryresult.cell.CellTimestampDisplayMode; +import com.erikmafo.btviewer.ui.queryresult.cell.CellView; +import com.erikmafo.btviewer.ui.queryresult.rowkey.RowKeyView; +import com.erikmafo.btviewer.ui.dialogs.TableSettingsDialog; +import com.erikmafo.btviewer.util.AlertUtil; +import com.erikmafo.btviewer.util.OperatingSystemUtil; import javafx.beans.binding.Bindings; import javafx.beans.property.*; import javafx.beans.value.ObservableValue; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactory.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactory.java similarity index 86% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactory.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactory.java index 1eeb3482..8bec8449 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactory.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactory.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; -import com.erikmafo.ltviewer.model.BigtableValue; -import com.erikmafo.ltviewer.model.ValueTypeConstants; +import com.erikmafo.btviewer.model.BigtableValue; +import com.erikmafo.btviewer.model.ValueTypeConstants; import javafx.scene.Node; import javafx.scene.control.Label; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellTimestampDisplayMode.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellTimestampDisplayMode.java similarity index 88% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellTimestampDisplayMode.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellTimestampDisplayMode.java index 86535f64..236080d3 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellTimestampDisplayMode.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellTimestampDisplayMode.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellView.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellView.java similarity index 92% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellView.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellView.java index c9e996f2..1b168877 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellView.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/CellView.java @@ -1,10 +1,10 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; -import com.erikmafo.ltviewer.model.BigtableCell; -import com.erikmafo.ltviewer.model.BigtableValue; -import com.erikmafo.ltviewer.model.BigtableValueConverter; -import com.erikmafo.ltviewer.model.ValueTypeConstants; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +import com.erikmafo.btviewer.model.BigtableCell; +import com.erikmafo.btviewer.model.BigtableValue; +import com.erikmafo.btviewer.model.BigtableValueConverter; +import com.erikmafo.btviewer.model.ValueTypeConstants; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.beans.binding.Bindings; import javafx.beans.binding.ObjectBinding; import javafx.beans.property.*; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactory.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactory.java similarity index 97% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactory.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactory.java index dc627ec8..f15d3207 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactory.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactory.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; -import com.erikmafo.ltviewer.util.Check; +import com.erikmafo.btviewer.util.Check; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/rowkey/RowKeyView.java b/src/main/java/com/erikmafo/btviewer/ui/queryresult/rowkey/RowKeyView.java similarity index 77% rename from src/main/java/com/erikmafo/ltviewer/ui/queryresult/rowkey/RowKeyView.java rename to src/main/java/com/erikmafo/btviewer/ui/queryresult/rowkey/RowKeyView.java index 9ff1736c..7a793125 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/queryresult/rowkey/RowKeyView.java +++ b/src/main/java/com/erikmafo/btviewer/ui/queryresult/rowkey/RowKeyView.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.ui.queryresult.rowkey; +package com.erikmafo.btviewer.ui.queryresult.rowkey; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.layout.Pane; diff --git a/src/main/java/com/erikmafo/ltviewer/ui/timer/TimerView.java b/src/main/java/com/erikmafo/btviewer/ui/timer/TimerView.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/ui/timer/TimerView.java rename to src/main/java/com/erikmafo/btviewer/ui/timer/TimerView.java index 32bf71cc..1ad7487f 100644 --- a/src/main/java/com/erikmafo/ltviewer/ui/timer/TimerView.java +++ b/src/main/java/com/erikmafo/btviewer/ui/timer/TimerView.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.ui.timer; +package com.erikmafo.btviewer.ui.timer; -import com.erikmafo.ltviewer.util.FXMLLoaderUtil; +import com.erikmafo.btviewer.util.FXMLLoaderUtil; import javafx.animation.Animation; import javafx.animation.KeyFrame; import javafx.animation.Timeline; diff --git a/src/main/java/com/erikmafo/ltviewer/util/AlertUtil.java b/src/main/java/com/erikmafo/btviewer/util/AlertUtil.java similarity index 95% rename from src/main/java/com/erikmafo/ltviewer/util/AlertUtil.java rename to src/main/java/com/erikmafo/btviewer/util/AlertUtil.java index 75fbcbd0..ab3ad319 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/AlertUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/AlertUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import javafx.concurrent.WorkerStateEvent; import javafx.scene.control.Alert; diff --git a/src/main/java/com/erikmafo/ltviewer/util/ByteStringConverterUtil.java b/src/main/java/com/erikmafo/btviewer/util/ByteStringConverterUtil.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/util/ByteStringConverterUtil.java rename to src/main/java/com/erikmafo/btviewer/util/ByteStringConverterUtil.java index 5017de04..79242145 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/ByteStringConverterUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/ByteStringConverterUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import com.google.protobuf.ByteString; import org.jetbrains.annotations.Contract; diff --git a/src/main/java/com/erikmafo/ltviewer/util/Cache.java b/src/main/java/com/erikmafo/btviewer/util/Cache.java similarity index 91% rename from src/main/java/com/erikmafo/ltviewer/util/Cache.java rename to src/main/java/com/erikmafo/btviewer/util/Cache.java index 2168a1ff..200e74c2 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/Cache.java +++ b/src/main/java/com/erikmafo/btviewer/util/Cache.java @@ -1,9 +1,8 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import java.io.IOException; import java.util.HashMap; import java.util.Map; -import java.util.function.Supplier; public class Cache { diff --git a/src/main/java/com/erikmafo/ltviewer/util/Check.java b/src/main/java/com/erikmafo/btviewer/util/Check.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/util/Check.java rename to src/main/java/com/erikmafo/btviewer/util/Check.java index 659dbb2a..bb84dde4 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/Check.java +++ b/src/main/java/com/erikmafo/btviewer/util/Check.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/util/FXMLLoaderUtil.java b/src/main/java/com/erikmafo/btviewer/util/FXMLLoaderUtil.java similarity index 96% rename from src/main/java/com/erikmafo/ltviewer/util/FXMLLoaderUtil.java rename to src/main/java/com/erikmafo/btviewer/util/FXMLLoaderUtil.java index e472fac7..6ae02498 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/FXMLLoaderUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/FXMLLoaderUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import javafx.fxml.FXMLLoader; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/erikmafo/ltviewer/util/OperatingSystemUtil.java b/src/main/java/com/erikmafo/btviewer/util/OperatingSystemUtil.java similarity index 90% rename from src/main/java/com/erikmafo/ltviewer/util/OperatingSystemUtil.java rename to src/main/java/com/erikmafo/btviewer/util/OperatingSystemUtil.java index 0050cfcc..be5cc720 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/OperatingSystemUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/OperatingSystemUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; public class OperatingSystemUtil { diff --git a/src/main/java/com/erikmafo/ltviewer/util/ProtoUtil.java b/src/main/java/com/erikmafo/btviewer/util/ProtoUtil.java similarity index 98% rename from src/main/java/com/erikmafo/ltviewer/util/ProtoUtil.java rename to src/main/java/com/erikmafo/btviewer/util/ProtoUtil.java index 53f1c136..aa82c6e3 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/ProtoUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/ProtoUtil.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; -import com.erikmafo.ltviewer.model.ProtoObjectDefinition; +import com.erikmafo.btviewer.model.ProtoObjectDefinition; import com.google.protobuf.ByteString; import com.google.protobuf.DescriptorProtos; import com.google.protobuf.Descriptors; diff --git a/src/main/java/com/erikmafo/ltviewer/util/StringUtil.java b/src/main/java/com/erikmafo/btviewer/util/StringUtil.java similarity index 77% rename from src/main/java/com/erikmafo/ltviewer/util/StringUtil.java rename to src/main/java/com/erikmafo/btviewer/util/StringUtil.java index 8f5cc846..0c5754d1 100644 --- a/src/main/java/com/erikmafo/ltviewer/util/StringUtil.java +++ b/src/main/java/com/erikmafo/btviewer/util/StringUtil.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; public class StringUtil { diff --git a/src/main/resources/fxml/bigtable_menu_bar.fxml b/src/main/resources/fxml/bigtable_menu_bar.fxml index 7db6df2b..55d81836 100644 --- a/src/main/resources/fxml/bigtable_menu_bar.fxml +++ b/src/main/resources/fxml/bigtable_menu_bar.fxml @@ -5,7 +5,7 @@ diff --git a/src/main/resources/fxml/main.fxml b/src/main/resources/fxml/main.fxml index 9e428320..a9cd74d9 100644 --- a/src/main/resources/fxml/main.fxml +++ b/src/main/resources/fxml/main.fxml @@ -4,7 +4,7 @@ diff --git a/src/main/resources/fxml/project_explorer.fxml b/src/main/resources/fxml/project_explorer.fxml index 672c94b3..efaed71a 100644 --- a/src/main/resources/fxml/project_explorer.fxml +++ b/src/main/resources/fxml/project_explorer.fxml @@ -2,7 +2,7 @@ diff --git a/src/main/resources/fxml/project_item_menu.fxml b/src/main/resources/fxml/project_item_menu.fxml index 73b68184..e0c3051f 100644 --- a/src/main/resources/fxml/project_item_menu.fxml +++ b/src/main/resources/fxml/project_item_menu.fxml @@ -4,7 +4,7 @@ + fx:controller="com.erikmafo.btviewer.ui.projectexplorer.ProjectItemMenuController"> diff --git a/src/main/resources/fxml/proto_object_dialog.fxml b/src/main/resources/fxml/proto_object_dialog.fxml index f0d1ad7a..1f27134a 100644 --- a/src/main/resources/fxml/proto_object_dialog.fxml +++ b/src/main/resources/fxml/proto_object_dialog.fxml @@ -9,7 +9,7 @@ - - + @@ -10,7 +10,7 @@ + fx:controller="com.erikmafo.btviewer.ui.querybox.QueryBoxController"> diff --git a/src/main/resources/fxml/query_result_view.fxml b/src/main/resources/fxml/query_result_view.fxml index c4d2ad35..f52b2db1 100644 --- a/src/main/resources/fxml/query_result_view.fxml +++ b/src/main/resources/fxml/query_result_view.fxml @@ -8,7 +8,7 @@ diff --git a/src/main/resources/fxml/table_item_menu.fxml b/src/main/resources/fxml/table_item_menu.fxml index a77adfa7..6ea1326d 100644 --- a/src/main/resources/fxml/table_item_menu.fxml +++ b/src/main/resources/fxml/table_item_menu.fxml @@ -4,7 +4,7 @@ + fx:controller="com.erikmafo.btviewer.ui.projectexplorer.TableItemMenuController"> diff --git a/src/test/java/com/erikmafo/ltviewer/model/AggregationTest.java b/src/test/java/com/erikmafo/btviewer/model/AggregationTest.java similarity index 93% rename from src/test/java/com/erikmafo/ltviewer/model/AggregationTest.java rename to src/test/java/com/erikmafo/btviewer/model/AggregationTest.java index 04a13e15..acda4d49 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/AggregationTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/AggregationTest.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.sql.functions.AggregationExpression; +import com.erikmafo.btviewer.sql.functions.AggregationExpression; import org.jetbrains.annotations.NotNull; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/model/BigtableCellTest.java b/src/test/java/com/erikmafo/btviewer/model/BigtableCellTest.java similarity index 96% rename from src/test/java/com/erikmafo/ltviewer/model/BigtableCellTest.java rename to src/test/java/com/erikmafo/btviewer/model/BigtableCellTest.java index fcbb62df..b03bb7c1 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/BigtableCellTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/BigtableCellTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import com.google.cloud.bigtable.data.v2.models.RowCell; import com.google.protobuf.ByteString; diff --git a/src/test/java/com/erikmafo/ltviewer/model/BigtableValueConverterTest.java b/src/test/java/com/erikmafo/btviewer/model/BigtableValueConverterTest.java similarity index 97% rename from src/test/java/com/erikmafo/ltviewer/model/BigtableValueConverterTest.java rename to src/test/java/com/erikmafo/btviewer/model/BigtableValueConverterTest.java index 20b3c715..bbe05c7c 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/BigtableValueConverterTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/BigtableValueConverterTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import com.google.protobuf.ByteString; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/model/BigtableValueTest.java b/src/test/java/com/erikmafo/btviewer/model/BigtableValueTest.java similarity index 90% rename from src/test/java/com/erikmafo/ltviewer/model/BigtableValueTest.java rename to src/test/java/com/erikmafo/btviewer/model/BigtableValueTest.java index bcccc3ab..5d708ddf 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/BigtableValueTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/BigtableValueTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/model/ByteStringConverterImplTest.java b/src/test/java/com/erikmafo/btviewer/model/ByteStringConverterImplTest.java similarity index 89% rename from src/test/java/com/erikmafo/ltviewer/model/ByteStringConverterImplTest.java rename to src/test/java/com/erikmafo/btviewer/model/ByteStringConverterImplTest.java index 256da646..46729752 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/ByteStringConverterImplTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/ByteStringConverterImplTest.java @@ -1,9 +1,9 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; -import com.erikmafo.ltviewer.sql.ByteStringConverter; -import com.erikmafo.ltviewer.sql.Field; -import com.erikmafo.ltviewer.sql.Value; -import com.erikmafo.ltviewer.sql.ValueType; +import com.erikmafo.btviewer.sql.ByteStringConverter; +import com.erikmafo.btviewer.sql.Field; +import com.erikmafo.btviewer.sql.Value; +import com.erikmafo.btviewer.sql.ValueType; import junitparams.JUnitParamsRunner; import junitparams.Parameters; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/model/SortUtilTest.java b/src/test/java/com/erikmafo/btviewer/model/SortUtilTest.java similarity index 98% rename from src/test/java/com/erikmafo/ltviewer/model/SortUtilTest.java rename to src/test/java/com/erikmafo/btviewer/model/SortUtilTest.java index 3d4dc816..211f5f03 100644 --- a/src/test/java/com/erikmafo/ltviewer/model/SortUtilTest.java +++ b/src/test/java/com/erikmafo/btviewer/model/SortUtilTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.model; +package com.erikmafo.btviewer.model; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtilTest.java b/src/test/java/com/erikmafo/btviewer/sql/DateTimeFormatUtilTest.java similarity index 91% rename from src/test/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtilTest.java rename to src/test/java/com/erikmafo/btviewer/sql/DateTimeFormatUtilTest.java index 83684364..a2a3f495 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/DateTimeFormatUtilTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/DateTimeFormatUtilTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/FieldTest.java b/src/test/java/com/erikmafo/btviewer/sql/FieldTest.java similarity index 90% rename from src/test/java/com/erikmafo/ltviewer/sql/FieldTest.java rename to src/test/java/com/erikmafo/btviewer/sql/FieldTest.java index dbf108d5..9c95d055 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/FieldTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/FieldTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/SqlParserTest.java b/src/test/java/com/erikmafo/btviewer/sql/SqlParserTest.java similarity index 95% rename from src/test/java/com/erikmafo/ltviewer/sql/SqlParserTest.java rename to src/test/java/com/erikmafo/btviewer/sql/SqlParserTest.java index 5a651e62..339e428e 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/SqlParserTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/SqlParserTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/SqlTokenizerTest.java b/src/test/java/com/erikmafo/btviewer/sql/SqlTokenizerTest.java similarity index 99% rename from src/test/java/com/erikmafo/ltviewer/sql/SqlTokenizerTest.java rename to src/test/java/com/erikmafo/btviewer/sql/SqlTokenizerTest.java index fe7c37a8..2406ff85 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/SqlTokenizerTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/SqlTokenizerTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/ValueTest.java b/src/test/java/com/erikmafo/btviewer/sql/ValueTest.java similarity index 96% rename from src/test/java/com/erikmafo/ltviewer/sql/ValueTest.java rename to src/test/java/com/erikmafo/btviewer/sql/ValueTest.java index 73d706ab..95363899 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/ValueTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/ValueTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql; +package com.erikmafo.btviewer.sql; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRangeTest.java b/src/test/java/com/erikmafo/btviewer/sql/convert/BigtableRowRangeTest.java similarity index 96% rename from src/test/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRangeTest.java rename to src/test/java/com/erikmafo/btviewer/sql/convert/BigtableRowRangeTest.java index a18b51f0..cbe42359 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/convert/BigtableRowRangeTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/convert/BigtableRowRangeTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.sql.convert; +package com.erikmafo.btviewer.sql.convert; import com.google.cloud.bigtable.data.v2.models.Query; import com.google.cloud.bigtable.data.v2.models.Range; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionExpressionTest.java b/src/test/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionExpressionTest.java similarity index 94% rename from src/test/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionExpressionTest.java rename to src/test/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionExpressionTest.java index c9b2689e..60e8ad1d 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/functions/AggregationExpressionExpressionTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/functions/AggregationExpressionExpressionTest.java @@ -1,6 +1,6 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.SqlTokenizer; +import com.erikmafo.btviewer.sql.SqlTokenizer; import junitparams.JUnitParamsRunner; import junitparams.Parameters; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParserTest.java b/src/test/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParserTest.java similarity index 92% rename from src/test/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParserTest.java rename to src/test/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParserTest.java index e880f804..f53dc506 100644 --- a/src/test/java/com/erikmafo/ltviewer/sql/functions/ValueFunctionExpressionParserTest.java +++ b/src/test/java/com/erikmafo/btviewer/sql/functions/ValueFunctionExpressionParserTest.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.sql.functions; +package com.erikmafo.btviewer.sql.functions; -import com.erikmafo.ltviewer.sql.SqlTokenizer; -import com.erikmafo.ltviewer.sql.ValueType; +import com.erikmafo.btviewer.sql.SqlTokenizer; +import com.erikmafo.btviewer.sql.ValueType; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/erikmafo/ltviewer/testingutils/ExtraTableViewMatchers.java b/src/test/java/com/erikmafo/btviewer/testingutils/ExtraTableViewMatchers.java similarity index 96% rename from src/test/java/com/erikmafo/ltviewer/testingutils/ExtraTableViewMatchers.java rename to src/test/java/com/erikmafo/btviewer/testingutils/ExtraTableViewMatchers.java index 61c8e392..17782ff9 100644 --- a/src/test/java/com/erikmafo/ltviewer/testingutils/ExtraTableViewMatchers.java +++ b/src/test/java/com/erikmafo/btviewer/testingutils/ExtraTableViewMatchers.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.testingutils; +package com.erikmafo.btviewer.testingutils; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; diff --git a/src/test/java/com/erikmafo/ltviewer/ui/MainAppTest.java b/src/test/java/com/erikmafo/btviewer/ui/MainAppTest.java similarity index 85% rename from src/test/java/com/erikmafo/ltviewer/ui/MainAppTest.java rename to src/test/java/com/erikmafo/btviewer/ui/MainAppTest.java index b0ef9545..0cce1b15 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/MainAppTest.java +++ b/src/test/java/com/erikmafo/btviewer/ui/MainAppTest.java @@ -1,8 +1,8 @@ -package com.erikmafo.ltviewer.ui; +package com.erikmafo.btviewer.ui; -import com.erikmafo.ltviewer.MainApp; -import com.erikmafo.ltviewer.config.AppConfig; -import com.erikmafo.ltviewer.ui.projectexplorer.AddInstanceDialog; +import com.erikmafo.btviewer.MainApp; +import com.erikmafo.btviewer.config.AppConfig; +import com.erikmafo.btviewer.ui.projectexplorer.AddInstanceDialog; import javafx.scene.input.MouseButton; import javafx.stage.Stage; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxControllerTest.java b/src/test/java/com/erikmafo/btviewer/ui/querybox/QueryBoxControllerTest.java similarity index 90% rename from src/test/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxControllerTest.java rename to src/test/java/com/erikmafo/btviewer/ui/querybox/QueryBoxControllerTest.java index f97f181d..b685a6ce 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/querybox/QueryBoxControllerTest.java +++ b/src/test/java/com/erikmafo/btviewer/ui/querybox/QueryBoxControllerTest.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.querybox; +package com.erikmafo.btviewer.ui.querybox; -import com.erikmafo.ltviewer.config.AppConfig; -import com.erikmafo.ltviewer.services.ServicesModule; +import com.erikmafo.btviewer.config.AppConfig; +import com.erikmafo.btviewer.services.ServicesModule; import com.google.inject.Guice; import javafx.fxml.FXMLLoader; import javafx.scene.Node; diff --git a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactoryTest.java b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactoryTest.java similarity index 86% rename from src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactoryTest.java rename to src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactoryTest.java index e594845a..c4e2eee7 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/CellContentFactoryTest.java +++ b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/CellContentFactoryTest.java @@ -1,7 +1,7 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; -import com.erikmafo.ltviewer.model.BigtableValue; -import com.erikmafo.ltviewer.model.ValueTypeConstants; +import com.erikmafo.btviewer.model.BigtableValue; +import com.erikmafo.btviewer.model.ValueTypeConstants; import javafx.scene.control.Label; import javafx.scene.control.TreeView; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java similarity index 91% rename from src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java rename to src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java index 3c8fd05c..e96973e5 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java +++ b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/JsonTreeViewFactoryTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; import org.junit.Test; import org.testfx.framework.junit.ApplicationTest; diff --git a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/TestDataConstants.java b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/TestDataConstants.java similarity index 91% rename from src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/TestDataConstants.java rename to src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/TestDataConstants.java index d7ce9581..a8118df8 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/queryresult/cell/TestDataConstants.java +++ b/src/test/java/com/erikmafo/btviewer/ui/queryresult/cell/TestDataConstants.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.queryresult.cell; +package com.erikmafo.btviewer.ui.queryresult.cell; public class TestDataConstants { diff --git a/src/test/java/com/erikmafo/ltviewer/ui/timer/TimerViewTest.java b/src/test/java/com/erikmafo/btviewer/ui/timer/TimerViewTest.java similarity index 94% rename from src/test/java/com/erikmafo/ltviewer/ui/timer/TimerViewTest.java rename to src/test/java/com/erikmafo/btviewer/ui/timer/TimerViewTest.java index 0a49c9f0..d5a36cc9 100644 --- a/src/test/java/com/erikmafo/ltviewer/ui/timer/TimerViewTest.java +++ b/src/test/java/com/erikmafo/btviewer/ui/timer/TimerViewTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.ui.timer; +package com.erikmafo.btviewer.ui.timer; import javafx.scene.Scene; import javafx.stage.Stage; diff --git a/src/test/java/com/erikmafo/ltviewer/util/ByteStringConverterUtilTest.java b/src/test/java/com/erikmafo/btviewer/util/ByteStringConverterUtilTest.java similarity index 97% rename from src/test/java/com/erikmafo/ltviewer/util/ByteStringConverterUtilTest.java rename to src/test/java/com/erikmafo/btviewer/util/ByteStringConverterUtilTest.java index 57121678..72933836 100644 --- a/src/test/java/com/erikmafo/ltviewer/util/ByteStringConverterUtilTest.java +++ b/src/test/java/com/erikmafo/btviewer/util/ByteStringConverterUtilTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import com.google.protobuf.ByteString; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/util/CheckTest.java b/src/test/java/com/erikmafo/btviewer/util/CheckTest.java similarity index 96% rename from src/test/java/com/erikmafo/ltviewer/util/CheckTest.java rename to src/test/java/com/erikmafo/btviewer/util/CheckTest.java index 3cea8e82..ee321bf3 100644 --- a/src/test/java/com/erikmafo/ltviewer/util/CheckTest.java +++ b/src/test/java/com/erikmafo/btviewer/util/CheckTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/util/ProtoUtilTest.java b/src/test/java/com/erikmafo/btviewer/util/ProtoUtilTest.java similarity index 83% rename from src/test/java/com/erikmafo/ltviewer/util/ProtoUtilTest.java rename to src/test/java/com/erikmafo/btviewer/util/ProtoUtilTest.java index 8347b13e..cc0f885c 100644 --- a/src/test/java/com/erikmafo/ltviewer/util/ProtoUtilTest.java +++ b/src/test/java/com/erikmafo/btviewer/util/ProtoUtilTest.java @@ -1,11 +1,7 @@ -package com.erikmafo.ltviewer.util; - -import com.erikmafo.ltviewer.model.ProtoObjectDefinition; -import com.erikmafo.ltviewer.services.internal.testdata.PersonOuterClass; -import com.google.gson.Gson; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonParser; -import com.google.gson.JsonSerializer; +package com.erikmafo.btviewer.util; + +import com.erikmafo.btviewer.model.ProtoObjectDefinition; +import com.erikmafo.btviewer.services.internal.testdata.PersonOuterClass; import org.jetbrains.annotations.NotNull; import org.junit.Test; diff --git a/src/test/java/com/erikmafo/ltviewer/util/StringUtilTest.java b/src/test/java/com/erikmafo/btviewer/util/StringUtilTest.java similarity index 93% rename from src/test/java/com/erikmafo/ltviewer/util/StringUtilTest.java rename to src/test/java/com/erikmafo/btviewer/util/StringUtilTest.java index 2913d41d..9fedfc94 100644 --- a/src/test/java/com/erikmafo/ltviewer/util/StringUtilTest.java +++ b/src/test/java/com/erikmafo/btviewer/util/StringUtilTest.java @@ -1,4 +1,4 @@ -package com.erikmafo.ltviewer.util; +package com.erikmafo.btviewer.util; import org.junit.Test;