mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-21 16:19:22 +00:00
Refactor: Rename MyToolWindowFactory to ComposeSamplesToolWindowFactory and update related plugin.xml references
This commit is contained in:
parent
53b4a2cb55
commit
11dfe41249
@ -11,7 +11,7 @@ import org.jetbrains.plugins.template.weatherApp.services.LocationsProvider
|
|||||||
import org.jetbrains.plugins.template.weatherApp.services.MyLocationsViewModel
|
import org.jetbrains.plugins.template.weatherApp.services.MyLocationsViewModel
|
||||||
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppSample
|
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppSample
|
||||||
|
|
||||||
class MyToolWindowFactory : ToolWindowFactory, DumbAware {
|
class ComposeSamplesToolWindowFactory : ToolWindowFactory, DumbAware {
|
||||||
|
|
||||||
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
|
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
|
||||||
toolWindow.addComposeTab("Weather App") {
|
toolWindow.addComposeTab("Weather App") {
|
||||||
@ -14,6 +14,6 @@
|
|||||||
<resource-bundle>messages.ComposeTemplate</resource-bundle>
|
<resource-bundle>messages.ComposeTemplate</resource-bundle>
|
||||||
|
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
<toolWindow factoryClass="org.jetbrains.plugins.template.toolWindow.MyToolWindowFactory" id="MyToolWindow"/>
|
<toolWindow factoryClass="org.jetbrains.plugins.template.toolWindow.ComposeSamplesToolWindowFactory" id="ComposeSamplesToolWindow"/>
|
||||||
</extensions>
|
</extensions>
|
||||||
</idea-plugin>
|
</idea-plugin>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user