mirror of
https://github.com/xpipe-io/xpipe.git
synced 2025-04-19 02:33:39 +00:00
Rework vm hierarchy
This commit is contained in:
parent
cc7cb430a2
commit
6241b2184a
14 changed files with 78 additions and 54 deletions
|
@ -321,7 +321,8 @@ public abstract class StoreEntryComp extends SimpleComp {
|
|||
|
||||
if (DataStorage.get().isRootEntry(getWrapper().getEntry())) {
|
||||
var color = new Menu(AppI18n.get("color"), new FontIcon("mdi2f-format-color-fill"));
|
||||
var none = new MenuItem("None");
|
||||
var none = new MenuItem();
|
||||
none.textProperty().bind(AppI18n.observable("none"));
|
||||
none.setOnAction(event -> {
|
||||
getWrapper().getEntry().setColor(null);
|
||||
event.consume();
|
||||
|
|
|
@ -17,8 +17,6 @@ import io.xpipe.app.storage.DataColor;
|
|||
import io.xpipe.app.storage.DataStorage;
|
||||
import io.xpipe.app.storage.DataStoreCategory;
|
||||
import io.xpipe.app.util.ContextMenuHelper;
|
||||
import io.xpipe.app.util.DataStoreFormatter;
|
||||
|
||||
import javafx.beans.binding.Bindings;
|
||||
import javafx.beans.property.SimpleBooleanProperty;
|
||||
import javafx.css.PseudoClass;
|
||||
|
@ -33,7 +31,6 @@ import javafx.scene.input.KeyCodeCombination;
|
|||
import javafx.scene.input.KeyEvent;
|
||||
import javafx.scene.input.MouseButton;
|
||||
import javafx.scene.layout.Region;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Value;
|
||||
import org.kordamp.ikonli.javafx.FontIcon;
|
||||
|
@ -197,14 +194,16 @@ public class StoreCategoryComp extends SimpleComp {
|
|||
contextMenu.getItems().add(new SeparatorMenuItem());
|
||||
|
||||
var color = new Menu(AppI18n.get("color"), new FontIcon("mdi2f-format-color-fill"));
|
||||
var none = new MenuItem("None");
|
||||
var none = new MenuItem();
|
||||
none.textProperty().bind(AppI18n.observable("none"));
|
||||
none.setOnAction(event -> {
|
||||
category.getCategory().setColor(null);
|
||||
event.consume();
|
||||
});
|
||||
color.getItems().add(none);
|
||||
Arrays.stream(DataColor.values()).forEach(dataStoreColor -> {
|
||||
MenuItem m = new MenuItem(DataStoreFormatter.capitalize(dataStoreColor.getId()));
|
||||
MenuItem m = new MenuItem();
|
||||
m.textProperty().bind(AppI18n.observable(dataStoreColor.getId()));
|
||||
m.setOnAction(event -> {
|
||||
category.getCategory().setColor(dataStoreColor);
|
||||
event.consume();
|
||||
|
|
|
@ -11,11 +11,11 @@ vmwareGuiDescription=Om en virtuel maskine skal startes i baggrunden eller i et
|
|||
vmwareEncryptionPassword=Krypteringsadgangskode
|
||||
#custom
|
||||
vmwareEncryptionPasswordDescription=Den adgangskode, der bruges til at kryptere VM'en.
|
||||
vmwarePasswordDescription=Den påkrævede adgangskode for gæstebrugeren.
|
||||
vmwarePassword=Brugerens adgangskode
|
||||
vmwareUser=Gæstebruger
|
||||
vmPasswordDescription=Den påkrævede adgangskode for gæstebrugeren.
|
||||
vmPassword=Brugerens adgangskode
|
||||
vmUser=Gæstebruger
|
||||
runTempContainer=Kør midlertidig container
|
||||
vmwareUserDescription=Brugernavnet på din primære gæstebruger
|
||||
vmUserDescription=Brugernavnet på din primære gæstebruger
|
||||
dockerTempRunAlertTitle=Kør midlertidig container
|
||||
dockerTempRunAlertHeader=Dette vil køre en shell-proces i en midlertidig container, som automatisk bliver fjernet, når den stoppes.
|
||||
imageName=Navn på billede
|
||||
|
@ -409,3 +409,5 @@ setDefault=Indstil standard
|
|||
removeDefault=Fjern standard
|
||||
connectAsOtherUser=Opret forbindelse som anden bruger
|
||||
provideUsername=Giv et alternativt brugernavn til at logge ind med
|
||||
vmIdentity=Gæsteidentitet
|
||||
vmIdentityDescription=Den SSH-identitetsgodkendelsesmetode, der skal bruges til at oprette forbindelse, hvis det er nødvendigt
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Nicht laufende Instanzen anzeigen
|
|||
vmwareGuiDescription=Ob eine virtuelle Maschine im Hintergrund oder in einem Fenster gestartet werden soll.
|
||||
vmwareEncryptionPassword=Verschlüsselungspasswort
|
||||
vmwareEncryptionPasswordDescription=Das optionale Passwort, das zur Verschlüsselung der VM verwendet wird.
|
||||
vmwarePasswordDescription=Das erforderliche Passwort für den Gastbenutzer.
|
||||
vmwarePassword=Benutzer-Passwort
|
||||
vmwareUser=Gast-Benutzer
|
||||
vmPasswordDescription=Das erforderliche Passwort für den Gastbenutzer.
|
||||
vmPassword=Benutzer-Passwort
|
||||
vmUser=Gast-Benutzer
|
||||
runTempContainer=Temporärer Container ausführen
|
||||
vmwareUserDescription=Der Benutzername deines primären Gastbenutzers
|
||||
vmUserDescription=Der Benutzername deines primären Gastbenutzers
|
||||
dockerTempRunAlertTitle=Temporärer Container ausführen
|
||||
dockerTempRunAlertHeader=Damit wird ein Shell-Prozess in einem temporären Container ausgeführt, der automatisch entfernt wird, sobald er gestoppt wird.
|
||||
#custom
|
||||
|
@ -387,3 +387,5 @@ setDefault=Standard einstellen
|
|||
removeDefault=Standard entfernen
|
||||
connectAsOtherUser=Als anderer Benutzer verbinden
|
||||
provideUsername=Einen alternativen Benutzernamen zum Einloggen angeben
|
||||
vmIdentity=Gast-Identität
|
||||
vmIdentityDescription=Die SSH-Identitätsauthentifizierungsmethode, die bei Bedarf für die Verbindung verwendet wird
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Show non-running instances
|
|||
vmwareGuiDescription=Whether to start a virtual machine in the background or in a window.
|
||||
vmwareEncryptionPassword=Encryption password
|
||||
vmwareEncryptionPasswordDescription=The optional password used to encrypt the VM.
|
||||
vmwarePasswordDescription=The required password for the guest user.
|
||||
vmwarePassword=User password
|
||||
vmwareUser=Guest user
|
||||
vmPasswordDescription=The required password for the guest user.
|
||||
vmPassword=User password
|
||||
vmUser=Guest user
|
||||
runTempContainer=Run temporary container
|
||||
vmwareUserDescription=The username of your primary guest user
|
||||
vmUserDescription=The username of your primary guest user
|
||||
dockerTempRunAlertTitle=Run temporary container
|
||||
dockerTempRunAlertHeader=This will run a shell process in a temporary container that will get automatically removed once it is stopped.
|
||||
imageName=Image name
|
||||
|
@ -385,3 +385,5 @@ setDefault=Set default
|
|||
removeDefault=Remove default
|
||||
connectAsOtherUser=Connect as other user
|
||||
provideUsername=Provide alternative username to log in with
|
||||
vmIdentity=Guest identity
|
||||
vmIdentityDescription=The SSH identity authentication method to use for connecting if needed
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Mostrar instancias no en ejecución
|
|||
vmwareGuiDescription=Si iniciar una máquina virtual en segundo plano o en una ventana.
|
||||
vmwareEncryptionPassword=Contraseña de encriptación
|
||||
vmwareEncryptionPasswordDescription=La contraseña opcional utilizada para encriptar la VM.
|
||||
vmwarePasswordDescription=La contraseña necesaria para el usuario invitado.
|
||||
vmwarePassword=Contraseña de usuario
|
||||
vmwareUser=Usuario invitado
|
||||
vmPasswordDescription=La contraseña necesaria para el usuario invitado.
|
||||
vmPassword=Contraseña de usuario
|
||||
vmUser=Usuario invitado
|
||||
runTempContainer=Ejecutar un contenedor temporal
|
||||
vmwareUserDescription=El nombre de usuario de tu usuario invitado principal
|
||||
vmUserDescription=El nombre de usuario de tu usuario invitado principal
|
||||
dockerTempRunAlertTitle=Ejecutar un contenedor temporal
|
||||
dockerTempRunAlertHeader=Esto ejecutará un proceso shell en un contenedor temporal que se eliminará automáticamente cuando se detenga.
|
||||
imageName=Nombre de la imagen
|
||||
|
@ -383,3 +383,5 @@ setDefault=Establecer por defecto
|
|||
removeDefault=Eliminar por defecto
|
||||
connectAsOtherUser=Conectarse como otro usuario
|
||||
provideUsername=Proporcionar un nombre de usuario alternativo con el que iniciar sesión
|
||||
vmIdentity=Identidad de invitado
|
||||
vmIdentityDescription=El método de autenticación de identidad SSH a utilizar para conectarse si es necesario
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Afficher les instances non exécutées
|
|||
vmwareGuiDescription=S'il faut démarrer une machine virtuelle en arrière-plan ou dans une fenêtre.
|
||||
vmwareEncryptionPassword=Mot de passe de cryptage
|
||||
vmwareEncryptionPasswordDescription=Le mot de passe facultatif utilisé pour crypter la VM.
|
||||
vmwarePasswordDescription=Le mot de passe requis pour l'utilisateur invité.
|
||||
vmwarePassword=Mot de passe de l'utilisateur
|
||||
vmwareUser=Utilisateur invité
|
||||
vmPasswordDescription=Le mot de passe requis pour l'utilisateur invité.
|
||||
vmPassword=Mot de passe de l'utilisateur
|
||||
vmUser=Utilisateur invité
|
||||
runTempContainer=Exécuter un conteneur temporaire
|
||||
vmwareUserDescription=Le nom d'utilisateur de l'invité principal
|
||||
vmUserDescription=Le nom d'utilisateur de l'invité principal
|
||||
dockerTempRunAlertTitle=Exécuter un conteneur temporaire
|
||||
dockerTempRunAlertHeader=Cela permet d'exécuter un processus shell dans un conteneur temporaire qui sera automatiquement supprimé une fois qu'il aura été arrêté.
|
||||
imageName=Nom de l'image
|
||||
|
@ -383,3 +383,5 @@ setDefault=Définir par défaut
|
|||
removeDefault=Supprimer la valeur par défaut
|
||||
connectAsOtherUser=Se connecter en tant qu'autre utilisateur
|
||||
provideUsername=Fournir un autre nom d'utilisateur pour se connecter
|
||||
vmIdentity=Identité de l'invité
|
||||
vmIdentityDescription=La méthode d'authentification de l'identité SSH à utiliser pour se connecter si nécessaire
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Mostra le istanze non in esecuzione
|
|||
vmwareGuiDescription=Se avviare una macchina virtuale in background o in una finestra.
|
||||
vmwareEncryptionPassword=Password di crittografia
|
||||
vmwareEncryptionPasswordDescription=La password opzionale utilizzata per criptare la VM.
|
||||
vmwarePasswordDescription=La password richiesta per l'utente ospite.
|
||||
vmwarePassword=Password utente
|
||||
vmwareUser=Utente ospite
|
||||
vmPasswordDescription=La password richiesta per l'utente ospite.
|
||||
vmPassword=Password utente
|
||||
vmUser=Utente ospite
|
||||
runTempContainer=Eseguire un contenitore temporaneo
|
||||
vmwareUserDescription=Il nome utente dell'utente ospite principale
|
||||
vmUserDescription=Il nome utente dell'utente ospite principale
|
||||
dockerTempRunAlertTitle=Eseguire un contenitore temporaneo
|
||||
dockerTempRunAlertHeader=Esegue un processo di shell in un contenitore temporaneo che verrà rimosso automaticamente una volta terminato.
|
||||
imageName=Nome dell'immagine
|
||||
|
@ -383,3 +383,5 @@ setDefault=Imposta predefinito
|
|||
removeDefault=Rimuovi l'impostazione predefinita
|
||||
connectAsOtherUser=Connettersi come altro utente
|
||||
provideUsername=Fornisce un nome utente alternativo con cui accedere
|
||||
vmIdentity=Identità dell'ospite
|
||||
vmIdentityDescription=Il metodo di autenticazione dell'identità SSH da utilizzare per la connessione, se necessario
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=実行されていないインスタンスを表示す
|
|||
vmwareGuiDescription=仮想マシンをバックグラウンドで起動するか、ウィンドウで起動するか。
|
||||
vmwareEncryptionPassword=暗号化パスワード
|
||||
vmwareEncryptionPasswordDescription=VMを暗号化するためのオプションのパスワード。
|
||||
vmwarePasswordDescription=ゲストユーザーに必要なパスワード。
|
||||
vmwarePassword=ユーザーパスワード
|
||||
vmwareUser=ゲストユーザー
|
||||
vmPasswordDescription=ゲストユーザーに必要なパスワード。
|
||||
vmPassword=ユーザーパスワード
|
||||
vmUser=ゲストユーザー
|
||||
runTempContainer=一時コンテナを実行する
|
||||
vmwareUserDescription=プライマリゲストユーザーのユーザー名
|
||||
vmUserDescription=プライマリゲストユーザーのユーザー名
|
||||
dockerTempRunAlertTitle=一時コンテナを実行する
|
||||
dockerTempRunAlertHeader=これは一時的なコンテナでシェルプロセスを実行し、停止されると自動的に削除される。
|
||||
imageName=画像名
|
||||
|
@ -383,3 +383,5 @@ setDefault=デフォルトを設定する
|
|||
removeDefault=デフォルトを削除する
|
||||
connectAsOtherUser=他のユーザーとして接続する
|
||||
provideUsername=別のユーザー名でログインする
|
||||
vmIdentity=ゲストID
|
||||
vmIdentityDescription=必要に応じて接続に使用するSSH ID認証方法
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Niet-lopende instanties tonen
|
|||
vmwareGuiDescription=Of een virtuele machine op de achtergrond of in een venster moet worden gestart.
|
||||
vmwareEncryptionPassword=Encryptie wachtwoord
|
||||
vmwareEncryptionPasswordDescription=Het optionele wachtwoord dat wordt gebruikt om de VM te versleutelen.
|
||||
vmwarePasswordDescription=Het vereiste wachtwoord voor de gastgebruiker.
|
||||
vmwarePassword=Wachtwoord gebruiker
|
||||
vmwareUser=Gast gebruiker
|
||||
vmPasswordDescription=Het vereiste wachtwoord voor de gastgebruiker.
|
||||
vmPassword=Wachtwoord gebruiker
|
||||
vmUser=Gast gebruiker
|
||||
runTempContainer=Tijdelijke container uitvoeren
|
||||
vmwareUserDescription=De gebruikersnaam van je primaire gastgebruiker
|
||||
vmUserDescription=De gebruikersnaam van je primaire gastgebruiker
|
||||
dockerTempRunAlertTitle=Tijdelijke container uitvoeren
|
||||
dockerTempRunAlertHeader=Hiermee wordt een shellproces uitgevoerd in een tijdelijke container die automatisch wordt verwijderd zodra het wordt gestopt.
|
||||
imageName=Naam afbeelding
|
||||
|
@ -383,3 +383,5 @@ setDefault=Standaard instellen
|
|||
removeDefault=Standaard verwijderen
|
||||
connectAsOtherUser=Verbinden als andere gebruiker
|
||||
provideUsername=Geef een alternatieve gebruikersnaam om mee in te loggen
|
||||
vmIdentity=Identiteit van de gast
|
||||
vmIdentityDescription=De SSH-identiteitsverificatiemethode om eventueel te gebruiken om verbinding te maken
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Mostra instâncias não em execução
|
|||
vmwareGuiDescription=Se pretende iniciar uma máquina virtual em segundo plano ou numa janela.
|
||||
vmwareEncryptionPassword=Palavra-passe de encriptação
|
||||
vmwareEncryptionPasswordDescription=A palavra-passe opcional utilizada para encriptar a VM.
|
||||
vmwarePasswordDescription=A palavra-passe necessária para o utilizador convidado.
|
||||
vmwarePassword=Palavra-passe do utilizador
|
||||
vmwareUser=Utilizador convidado
|
||||
vmPasswordDescription=A palavra-passe necessária para o utilizador convidado.
|
||||
vmPassword=Palavra-passe do utilizador
|
||||
vmUser=Utilizador convidado
|
||||
runTempContainer=Executa um contentor temporário
|
||||
vmwareUserDescription=O nome de utilizador do teu principal utilizador convidado
|
||||
vmUserDescription=O nome de utilizador do teu principal utilizador convidado
|
||||
dockerTempRunAlertTitle=Executa um contentor temporário
|
||||
dockerTempRunAlertHeader=Isto irá executar um processo shell num contentor temporário que será automaticamente removido assim que for parado.
|
||||
imageName=Nome da imagem
|
||||
|
@ -383,3 +383,5 @@ setDefault=Definir predefinição
|
|||
removeDefault=Remover predefinição
|
||||
connectAsOtherUser=Liga-te como outro utilizador
|
||||
provideUsername=Fornece um nome de utilizador alternativo para iniciar sessão
|
||||
vmIdentity=Identidade do convidado
|
||||
vmIdentityDescription=O método de autenticação de identidade SSH a utilizar para estabelecer ligação, se necessário
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Показать неработающие экземпл
|
|||
vmwareGuiDescription=Запускать ли виртуальную машину в фоновом режиме или в окне.
|
||||
vmwareEncryptionPassword=Пароль шифрования
|
||||
vmwareEncryptionPasswordDescription=Необязательный пароль, используемый для шифрования виртуальной машины.
|
||||
vmwarePasswordDescription=Необходимый пароль для гостевого пользователя.
|
||||
vmwarePassword=Пароль пользователя
|
||||
vmwareUser=Гость-пользователь
|
||||
vmPasswordDescription=Необходимый пароль для гостевого пользователя.
|
||||
vmPassword=Пароль пользователя
|
||||
vmUser=Гость-пользователь
|
||||
runTempContainer=Запустить временный контейнер
|
||||
vmwareUserDescription=Имя пользователя твоего основного гостевого пользователя
|
||||
vmUserDescription=Имя пользователя твоего основного гостевого пользователя
|
||||
dockerTempRunAlertTitle=Запустить временный контейнер
|
||||
dockerTempRunAlertHeader=Это запустит shell-процесс во временном контейнере, который будет автоматически удален после его остановки.
|
||||
imageName=Название изображения
|
||||
|
@ -383,3 +383,5 @@ setDefault=Установить по умолчанию
|
|||
removeDefault=Убрать значение по умолчанию
|
||||
connectAsOtherUser=Подключиться как другой пользователь
|
||||
provideUsername=Предоставьте альтернативное имя пользователя для входа в систему
|
||||
vmIdentity=Идентификация гостя
|
||||
vmIdentityDescription=Метод аутентификации SSH, который нужно использовать для подключения при необходимости
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=Çalışmayan örnekleri göster
|
|||
vmwareGuiDescription=Bir sanal makinenin arka planda mı yoksa bir pencerede mi başlatılacağı.
|
||||
vmwareEncryptionPassword=Şifreleme parolası
|
||||
vmwareEncryptionPasswordDescription=VM'yi şifrelemek için kullanılan isteğe bağlı parola.
|
||||
vmwarePasswordDescription=Konuk kullanıcı için gerekli parola.
|
||||
vmwarePassword=Kullanıcı şifresi
|
||||
vmwareUser=Misafir kullanıcı
|
||||
vmPasswordDescription=Konuk kullanıcı için gerekli parola.
|
||||
vmPassword=Kullanıcı şifresi
|
||||
vmUser=Misafir kullanıcı
|
||||
runTempContainer=Geçici konteyneri çalıştır
|
||||
vmwareUserDescription=Birincil konuk kullanıcınızın kullanıcı adı
|
||||
vmUserDescription=Birincil konuk kullanıcınızın kullanıcı adı
|
||||
dockerTempRunAlertTitle=Geçici konteyneri çalıştır
|
||||
dockerTempRunAlertHeader=Bu, durdurulduğunda otomatik olarak kaldırılacak geçici bir kapsayıcıda bir kabuk işlemi çalıştıracaktır.
|
||||
imageName=Resim adı
|
||||
|
@ -383,3 +383,5 @@ setDefault=Varsayılanı ayarla
|
|||
removeDefault=Varsayılanı kaldır
|
||||
connectAsOtherUser=Diğer kullanıcı olarak bağlan
|
||||
provideUsername=Oturum açmak için alternatif kullanıcı adı sağlayın
|
||||
vmIdentity=Misafir kimliği
|
||||
vmIdentityDescription=Gerekirse bağlanmak için kullanılacak SSH kimlik doğrulama yöntemi
|
||||
|
|
|
@ -9,11 +9,11 @@ showNonRunningInstances=显示非运行实例
|
|||
vmwareGuiDescription=是在后台启动虚拟机,还是在窗口中启动。
|
||||
vmwareEncryptionPassword=加密密码
|
||||
vmwareEncryptionPasswordDescription=用于加密虚拟机的可选密码。
|
||||
vmwarePasswordDescription=访客用户所需的密码。
|
||||
vmwarePassword=用户密码
|
||||
vmwareUser=访客用户
|
||||
vmPasswordDescription=访客用户所需的密码。
|
||||
vmPassword=用户密码
|
||||
vmUser=访客用户
|
||||
runTempContainer=运行临时容器
|
||||
vmwareUserDescription=主要访客用户的用户名
|
||||
vmUserDescription=主要访客用户的用户名
|
||||
dockerTempRunAlertTitle=运行临时容器
|
||||
dockerTempRunAlertHeader=这将在临时容器中运行一个 shell 进程,一旦停止,该进程将自动删除。
|
||||
imageName=图像名称
|
||||
|
@ -383,3 +383,5 @@ setDefault=设置默认值
|
|||
removeDefault=删除默认值
|
||||
connectAsOtherUser=以其他用户身份连接
|
||||
provideUsername=提供其他登录用户名
|
||||
vmIdentity=访客身份
|
||||
vmIdentityDescription=必要时用于连接的 SSH 身份验证方法
|
||||
|
|
Loading…
Add table
Reference in a new issue