mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-04 03:40:32 +00:00
Various fixes
This commit is contained in:
@@ -53,7 +53,8 @@ public class StoreChoiceComp<T extends DataStore> extends SimpleRegionBuilder {
|
||||
Class<?> storeClass,
|
||||
Predicate<DataStoreEntryRef<T>> applicableCheck,
|
||||
StoreCategoryWrapper categoryRoot,
|
||||
StoreCategoryWrapper explicitCategory) {
|
||||
StoreCategoryWrapper explicitCategory,
|
||||
boolean requireComplete) {
|
||||
this.selected = selected;
|
||||
this.popover = new StoreChoicePopover<>(
|
||||
self,
|
||||
|
||||
@@ -30,7 +30,7 @@ public class CustomSpiceClient implements ExternalSpiceClient {
|
||||
.nameAndDescription("customSpiceCommand")
|
||||
.addComp(
|
||||
new TextFieldComp(command, false)
|
||||
.apply(struc -> struc.get().setPromptText("myspiceClient $FILE"))
|
||||
.apply(struc -> struc.setPromptText("myspiceClient $FILE"))
|
||||
.maxWidth(600),
|
||||
command)
|
||||
.bind(() -> CustomSpiceClient.builder().command(command.get()).build(), property);
|
||||
|
||||
@@ -216,7 +216,8 @@ public interface ScriptTextSource {
|
||||
var sourceChoice = new StoreChoiceComp<>(null, ref, ScriptCollectionSourceStore.class,
|
||||
ignored -> true,
|
||||
StoreViewState.get().getAllScriptsCategory(),
|
||||
StoreViewState.get().getScriptSourcesCategory());
|
||||
StoreViewState.get().getScriptSourcesCategory(),
|
||||
true);
|
||||
|
||||
var importButton = new ButtonComp(null, new LabelGraphic.IconGraphic("mdi2i-import"), () -> {
|
||||
var current = AppDialog.getCurrentModalOverlay();
|
||||
|
||||
Generated
+1
@@ -1961,3 +1961,4 @@ inPlaceScript=In-place script
|
||||
generic=Generic
|
||||
syncToPlainDirectory=Sync to plain directory
|
||||
syncToPlainDirectoryDescription=When syncing to a local directory, you can either treat this directory as another git repository or just as a plain directory. If the plain directory setting is enabled, the directory is not initialized as a git repository.
|
||||
openSpiceSession=Open SPICE session
|
||||
|
||||
Reference in New Issue
Block a user