Craig Raw
5 years ago
16 changed files with 83 additions and 22 deletions
@ -1 +1 @@ |
|||||
Subproject commit cbffaf3e416e0d94a01a9c00c99d9f2d61018d1e |
Subproject commit 019a3cf34f60da053ca7b5540e2bb7bcee6fbd50 |
@ -0,0 +1,19 @@ |
|||||
|
package com.sparrowwallet.sparrow.keystoreimport; |
||||
|
|
||||
|
import com.sparrowwallet.sparrow.control.KeystoreImportAccordion; |
||||
|
import com.sparrowwallet.sparrow.external.Electrum; |
||||
|
import com.sparrowwallet.sparrow.external.KeystoreImport; |
||||
|
import javafx.collections.FXCollections; |
||||
|
import javafx.fxml.FXML; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
public class SwController extends KeystoreImportDetailController { |
||||
|
@FXML |
||||
|
private KeystoreImportAccordion importAccordion; |
||||
|
|
||||
|
public void initializeView() { |
||||
|
List<KeystoreImport> importers = List.of(new Electrum()); |
||||
|
importAccordion.setKeystoreImporters(getMasterController().getWallet(), FXCollections.observableList(importers)); |
||||
|
} |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
|
||||
|
<?import java.lang.*?> |
||||
|
<?import java.util.*?> |
||||
|
<?import javafx.scene.*?> |
||||
|
<?import javafx.scene.control.*?> |
||||
|
<?import javafx.scene.layout.*?> |
||||
|
<?import com.sparrowwallet.sparrow.control.KeystoreImportAccordion?> |
||||
|
|
||||
|
<AnchorPane stylesheets="@keystoreimport.css" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="com.sparrowwallet.sparrow.keystoreimport.SwController"> |
||||
|
<ScrollPane AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0" fitToWidth="true"> |
||||
|
<KeystoreImportAccordion fx:id="importAccordion" /> |
||||
|
</ScrollPane> |
||||
|
</AnchorPane> |
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in new issue