Package edu.wpi.grip.core.settings
Interface SettingsProvider
-
- All Known Implementing Classes:
Pipeline
public interface SettingsProviderProvides access to the project's settings. This should be injected to get access to the settings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppSettingsgetAppSettings()Gets the current global app settings.CodeGenerationSettingsgetCodeGenerationSettings()Gets the current code generation settings.ProjectSettingsgetProjectSettings()This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toProjectSettingsChangedEventto get updates.
-
-
-
Method Detail
-
getProjectSettings
ProjectSettings getProjectSettings()
This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toProjectSettingsChangedEventto get updates.- Returns:
- The current per-project settings.
-
getAppSettings
AppSettings getAppSettings()
Gets the current global app settings. This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toAppSettingsChangedEventto get updates.- Returns:
- the current global app settings
-
getCodeGenerationSettings
CodeGenerationSettings getCodeGenerationSettings()
Gets the current code generation settings. This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toAppSettingsChangedEventto get updates.- Returns:
- the current code generation settings
-
-