mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-22 08:39:27 +00:00
Move WeatherAppViewModel to ui package
This commit is contained in:
parent
4167fae9d7
commit
222a296868
@ -13,7 +13,7 @@ import org.jetbrains.plugins.template.CoroutineScopeHolder
|
|||||||
import org.jetbrains.plugins.template.ui.ChatAppSample
|
import org.jetbrains.plugins.template.ui.ChatAppSample
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.Location
|
import org.jetbrains.plugins.template.weatherApp.model.Location
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.LocationsProvider
|
import org.jetbrains.plugins.template.weatherApp.services.LocationsProvider
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.WeatherAppViewModel
|
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppViewModel
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastService
|
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastService
|
||||||
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppSample
|
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppSample
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package org.jetbrains.plugins.template.weatherApp.services
|
package org.jetbrains.plugins.template.weatherApp.ui
|
||||||
|
|
||||||
import com.intellij.openapi.Disposable
|
import com.intellij.openapi.Disposable
|
||||||
import kotlinx.coroutines.*
|
import kotlinx.coroutines.*
|
||||||
@ -8,6 +8,7 @@ import kotlinx.coroutines.flow.asStateFlow
|
|||||||
import org.jetbrains.plugins.template.weatherApp.model.Location
|
import org.jetbrains.plugins.template.weatherApp.model.Location
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.SelectableLocation
|
import org.jetbrains.plugins.template.weatherApp.model.SelectableLocation
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
|
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
|
||||||
|
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastServiceApi
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -28,7 +28,7 @@ import org.jetbrains.plugins.template.weatherApp.WeatherAppColors
|
|||||||
import org.jetbrains.plugins.template.weatherApp.model.DailyForecast
|
import org.jetbrains.plugins.template.weatherApp.model.DailyForecast
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.Location
|
import org.jetbrains.plugins.template.weatherApp.model.Location
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
|
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastUIState
|
import org.jetbrains.plugins.template.weatherApp.ui.WeatherForecastUIState
|
||||||
import org.jetbrains.plugins.template.weatherApp.ui.WeatherIcons
|
import org.jetbrains.plugins.template.weatherApp.ui.WeatherIcons
|
||||||
import java.time.LocalDateTime
|
import java.time.LocalDateTime
|
||||||
import java.time.format.DateTimeFormatter
|
import java.time.format.DateTimeFormatter
|
||||||
|
|||||||
@ -12,8 +12,8 @@ import kotlinx.coroutines.flow.Flow
|
|||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.Location
|
import org.jetbrains.plugins.template.weatherApp.model.Location
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.LocationsUIState
|
import org.jetbrains.plugins.template.weatherApp.ui.LocationsUIState
|
||||||
import org.jetbrains.plugins.template.weatherApp.services.MyLocationsViewModelApi
|
import org.jetbrains.plugins.template.weatherApp.ui.MyLocationsViewModelApi
|
||||||
import org.jetbrains.plugins.template.weatherApp.ui.MyLocationsListWithEmptyListPlaceholder
|
import org.jetbrains.plugins.template.weatherApp.ui.MyLocationsListWithEmptyListPlaceholder
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package org.jetbrains.plugins.template.weatherApp.services
|
package org.jetbrains.plugins.template.weatherApp.services
|
||||||
|
|
||||||
import org.jetbrains.plugins.template.weatherApp.model.Location
|
import org.jetbrains.plugins.template.weatherApp.model.Location
|
||||||
|
import org.jetbrains.plugins.template.weatherApp.ui.LocationsUIState
|
||||||
import org.junit.Assert.*
|
import org.junit.Assert.*
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user