mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DBE: sql resolve mapping
This commit is contained in:
@@ -603,7 +603,7 @@ public abstract class PerFileConfigurableBase<T> implements SearchableConfigurab
|
||||
protected ComboBoxButton createComboBoxButton(Presentation presentation) {
|
||||
return new ComboBoxButton(presentation) {
|
||||
protected JBPopup createPopup(Runnable onDispose) {
|
||||
JBPopup popup = createValueEditorPopup(target, onDispose, getDataContext(), o -> {
|
||||
JBPopup popup = createValueEditorPopup(target, value.produce(), onDispose, getDataContext(), o -> {
|
||||
consumer.consume(o);
|
||||
updateText();
|
||||
});
|
||||
@@ -617,6 +617,7 @@ public abstract class PerFileConfigurableBase<T> implements SearchableConfigurab
|
||||
|
||||
@NotNull
|
||||
protected JBPopup createValueEditorPopup(@Nullable Object target,
|
||||
@Nullable T value,
|
||||
@Nullable Runnable onDispose,
|
||||
@NotNull DataContext dataContext,
|
||||
@NotNull Consumer<T> onChosen) {
|
||||
|
||||
Reference in New Issue
Block a user