mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
GitOrigin-RevId: 41e9d4cb58e0180c26ed94df4bca4287d19c308b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9d823ad5dd
commit
95e5bb6399
@@ -19,7 +19,7 @@ import com.intellij.openapi.options.ConfigurableEP;
|
||||
import com.intellij.openapi.options.SearchableConfigurable;
|
||||
|
||||
/**
|
||||
* To provide additional options in General section register implementation of {@link com.intellij.openapi.options.SearchableConfigurable} in the plugin.xml:
|
||||
* To provide additional options in General section register implementation of {@link SearchableConfigurable} in the plugin.xml:
|
||||
* <p/>
|
||||
* <extensions defaultExtensionNs="com.intellij"><br>
|
||||
* <generalOptionsProvider instance="class-name"/><br>
|
||||
|
||||
@@ -28,9 +28,6 @@ final class SystemOptionsTopHitProvider implements OptionsTopHitProvider.Applica
|
||||
)
|
||||
));
|
||||
|
||||
//option("Use default browser", "isUseDefaultBrowser", "setUseDefaultBrowser"),
|
||||
//option("Show confirmation before extracting files", "isConfirmExtractFiles", "setConfirmExtractFiles"),
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Collection<OptionDescription> getOptions() {
|
||||
@@ -45,6 +42,7 @@ final class SystemOptionsTopHitProvider implements OptionsTopHitProvider.Applica
|
||||
|
||||
static BooleanOptionDescription option(String option, String getter, String setter) {
|
||||
return new PublicMethodBasedOptionDescription(option, "preferences.general", getter, setter) {
|
||||
@NotNull
|
||||
@Override
|
||||
public Object getInstance() {
|
||||
return GeneralSettings.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user