public class IdeaProjectSettingsService extends ProjectSettingsService implements ArtifactAwareProjectSettingsService
Constructor and Description |
---|
IdeaProjectSettingsService(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
canOpenContentEntriesSettings() |
boolean |
canOpenLibraryOrSdkSettings(OrderEntry orderEntry) |
boolean |
canOpenModuleDependenciesSettings() |
boolean |
canOpenModuleLibrarySettings() |
boolean |
canOpenModuleSettings() |
Sdk |
chooseAndSetSdk()
Deprecated.
Please use
SdkPopupFactory instead.
Many usages of that API are too bogus and do duplicate similar code all other the place.
It is not even possible to filter unneeded SDK types or SDK instances in the dialog.
This method is no longer supported and behaves a bit broken: the first call returns null ,
the second call may return a chosen SDK from the first call (only once). This is the way to
avoid breaking the older code scenarios. |
void |
openArtifactSettings(Artifact artifact) |
void |
openContentEntriesSettings(Module module) |
void |
openGlobalLibraries() |
void |
openLibrary(Library library) |
void |
openLibraryOrSdkSettings(OrderEntry orderEntry) |
void |
openModuleDependenciesSettings(Module module,
OrderEntry orderEntry) |
void |
openModuleLibrarySettings(Module module) |
void |
openModuleSettings(Module module) |
void |
openProjectSettings() |
boolean |
processModulesMoved(Module[] modules,
ModuleGroup targetGroup) |
void |
showModuleConfigurationDialog(java.lang.String moduleToSelect,
java.lang.String editorNameToSelect) |
getInstance
public IdeaProjectSettingsService(Project project)
public void openProjectSettings()
openProjectSettings
in class ProjectSettingsService
public void openGlobalLibraries()
openGlobalLibraries
in class ProjectSettingsService
public void openLibrary(Library library)
openLibrary
in class ProjectSettingsService
public boolean canOpenModuleSettings()
canOpenModuleSettings
in class ProjectSettingsService
public void openModuleSettings(Module module)
openModuleSettings
in class ProjectSettingsService
public boolean canOpenModuleLibrarySettings()
canOpenModuleLibrarySettings
in class ProjectSettingsService
public void openModuleLibrarySettings(Module module)
openModuleLibrarySettings
in class ProjectSettingsService
public boolean canOpenContentEntriesSettings()
canOpenContentEntriesSettings
in class ProjectSettingsService
public void openContentEntriesSettings(Module module)
openContentEntriesSettings
in class ProjectSettingsService
public boolean canOpenModuleDependenciesSettings()
canOpenModuleDependenciesSettings
in class ProjectSettingsService
public void openModuleDependenciesSettings(Module module, OrderEntry orderEntry)
openModuleDependenciesSettings
in class ProjectSettingsService
public boolean canOpenLibraryOrSdkSettings(OrderEntry orderEntry)
canOpenLibraryOrSdkSettings
in class ProjectSettingsService
public void openLibraryOrSdkSettings(OrderEntry orderEntry)
openLibraryOrSdkSettings
in class ProjectSettingsService
public boolean processModulesMoved(Module[] modules, ModuleGroup targetGroup)
processModulesMoved
in class ProjectSettingsService
public void showModuleConfigurationDialog(java.lang.String moduleToSelect, java.lang.String editorNameToSelect)
showModuleConfigurationDialog
in class ProjectSettingsService
@Deprecated public Sdk chooseAndSetSdk()
SdkPopupFactory
instead.
Many usages of that API are too bogus and do duplicate similar code all other the place.
It is not even possible to filter unneeded SDK types or SDK instances in the dialog.
This method is no longer supported and behaves a bit broken: the first call returns null
,
the second call may return a chosen SDK from the first call (only once). This is the way to
avoid breaking the older code scenarios.chooseAndSetSdk
in class ProjectSettingsService
public void openArtifactSettings(Artifact artifact)
openArtifactSettings
in interface ArtifactAwareProjectSettingsService