mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-20 15:49:23 +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.ui.WeatherAppSample
|
||||
|
||||
class MyToolWindowFactory : ToolWindowFactory, DumbAware {
|
||||
class ComposeSamplesToolWindowFactory : ToolWindowFactory, DumbAware {
|
||||
|
||||
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
|
||||
toolWindow.addComposeTab("Weather App") {
|
||||
@ -14,6 +14,6 @@
|
||||
<resource-bundle>messages.ComposeTemplate</resource-bundle>
|
||||
|
||||
<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>
|
||||
</idea-plugin>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user