public class ShowSettingsUtilImpl extends ShowSettingsUtil
Constructor and Description |
---|
ShowSettingsUtilImpl() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createDimensionKey(Configurable configurable) |
boolean |
editConfigurable(java.awt.Component parent,
Configurable configurable) |
boolean |
editConfigurable(java.awt.Component parent,
Configurable configurable,
java.lang.Runnable advancedInitialization) |
boolean |
editConfigurable(java.awt.Component parent,
java.lang.String displayName) |
boolean |
editConfigurable(java.awt.Component parent,
java.lang.String dimensionServiceKey,
Configurable configurable) |
boolean |
editConfigurable(java.awt.Component parent,
java.lang.String displayName,
java.lang.Runnable advancedInitialization) |
boolean |
editConfigurable(Project project,
Configurable configurable) |
boolean |
editConfigurable(Project project,
Configurable configurable,
java.lang.Runnable advancedInitialization) |
boolean |
editConfigurable(Project project,
java.lang.String dimensionServiceKey,
Configurable configurable) |
boolean |
editConfigurable(Project project,
java.lang.String dimensionServiceKey,
Configurable configurable,
boolean showApplyButton) |
static ConfigurableGroup [] |
getConfigurableGroups(Project project,
boolean withIdeSettings) |
static java.util.List<Configurable> |
getConfigurables(Project project,
boolean withIdeSettings) |
static DialogWrapper |
getDialog(Project project,
java.util.List<? extends ConfigurableGroup> groups,
Configurable toSelect) |
<T extends Configurable> |
showSettingsDialog(Project project,
java.lang.Class<T> configurableClass) |
<T extends Configurable> |
showSettingsDialog(Project project,
java.lang.Class<T> configurableClass,
java.util.function.Consumer<? super T> additionalConfiguration) |
void |
showSettingsDialog(Project project,
Configurable toSelect) |
void |
showSettingsDialog(Project project,
ConfigurableGroup... groups) |
void |
showSettingsDialog(Project project,
java.util.function.Predicate<? super Configurable> predicate,
java.util.function.Consumer<? super Configurable> additionalConfiguration) |
void |
showSettingsDialog(Project project,
java.lang.String nameToSelect) |
static void |
showSettingsDialog(Project project,
java.lang.String idToSelect,
java.lang.String filter) |
getInstance, getSettingsMenuName
public static DialogWrapper getDialog(Project project, java.util.List<? extends ConfigurableGroup> groups, Configurable toSelect)
public static ConfigurableGroup [] getConfigurableGroups(Project project, boolean withIdeSettings)
project
- a project used to load project settings or null
withIdeSettings
- specifies whether to load application settings or notpublic static java.util.List<Configurable> getConfigurables(Project project, boolean withIdeSettings)
project
- a project used to load project settings or null
withIdeSettings
- specifies whether to load application settings or notpublic void showSettingsDialog(Project project, ConfigurableGroup... groups)
showSettingsDialog
in class ShowSettingsUtil
public <T extends Configurable> void showSettingsDialog(Project project, java.lang.Class<T> configurableClass)
showSettingsDialog
in class ShowSettingsUtil
public <T extends Configurable> void showSettingsDialog(Project project, java.lang.Class<T> configurableClass, java.util.function.Consumer<? super T> additionalConfiguration)
showSettingsDialog
in class ShowSettingsUtil
public void showSettingsDialog(Project project, java.util.function.Predicate<? super Configurable> predicate, java.util.function.Consumer<? super Configurable> additionalConfiguration)
showSettingsDialog
in class ShowSettingsUtil
public void showSettingsDialog(Project project, java.lang.String nameToSelect)
showSettingsDialog
in class ShowSettingsUtil
public static void showSettingsDialog(Project project, java.lang.String idToSelect, java.lang.String filter)
public void showSettingsDialog(Project project, Configurable toSelect)
showSettingsDialog
in class ShowSettingsUtil
public boolean editConfigurable(Project project, Configurable configurable)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(Project project, java.lang.String dimensionServiceKey, Configurable configurable)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(Project project, java.lang.String dimensionServiceKey, Configurable configurable, boolean showApplyButton)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(Project project, Configurable configurable, java.lang.Runnable advancedInitialization)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(java.awt.Component parent, Configurable configurable)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(java.awt.Component parent, java.lang.String displayName)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(java.awt.Component parent, java.lang.String displayName, java.lang.Runnable advancedInitialization)
editConfigurable
in class ShowSettingsUtil
public boolean editConfigurable(java.awt.Component parent, Configurable configurable, java.lang.Runnable advancedInitialization)
editConfigurable
in class ShowSettingsUtil
public static java.lang.String createDimensionKey(Configurable configurable)
public boolean editConfigurable(java.awt.Component parent, java.lang.String dimensionServiceKey, Configurable configurable)
editConfigurable
in class ShowSettingsUtil