Skip to content

Commit 07a89cf

Browse files
committed
rename
1 parent a8e566d commit 07a89cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/toolwindow/AmazonQToolWindowFactory.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class AmazonQToolWindowFactory : ToolWindowFactory, DumbAware {
6666
ToolkitConnectionManager.getInstance(project).activeConnectionForFeature(QConnection.getInstance())?.let { qConn ->
6767
openMeetQPage(project)
6868
}
69-
prepareChatContent(project, qPanel)
69+
preparePanelContent(project, qPanel)
7070
}
7171
}
7272
)
@@ -75,7 +75,7 @@ class AmazonQToolWindowFactory : ToolWindowFactory, DumbAware {
7575
RefreshQChatPanelButtonPressedListener.TOPIC,
7676
object : RefreshQChatPanelButtonPressedListener {
7777
override fun onRefresh() {
78-
prepareChatContent(project, qPanel)
78+
preparePanelContent(project, qPanel)
7979
}
8080
}
8181
)
@@ -85,7 +85,7 @@ class AmazonQToolWindowFactory : ToolWindowFactory, DumbAware {
8585
object : BearerTokenProviderListener {
8686
override fun onChange(providerId: String, newScopes: List<String>?) {
8787
if (ToolkitConnectionManager.getInstance(project).connectionStateForFeature(QConnection.getInstance()) == BearerTokenAuthState.AUTHORIZED) {
88-
prepareChatContent(project, qPanel)
88+
preparePanelContent(project, qPanel)
8989
}
9090
}
9191
}
@@ -97,12 +97,12 @@ class AmazonQToolWindowFactory : ToolWindowFactory, DumbAware {
9797
// note we name myProject intentionally ow it will shadow the "project" provided by the IDE
9898
override fun onProfileSelected(myProject: Project, profile: QRegionProfile?) {
9999
if (project.isDisposed) return
100-
prepareChatContent(project, qPanel)
100+
preparePanelContent(project, qPanel)
101101
}
102102
}
103103
)
104104

105-
prepareChatContent(project, qPanel)
105+
preparePanelContent(project, qPanel)
106106

107107
val content = contentManager.factory.createContent(mainPanel, null, false).also {
108108
it.isCloseable = true
@@ -112,7 +112,7 @@ class AmazonQToolWindowFactory : ToolWindowFactory, DumbAware {
112112
contentManager.addContent(content)
113113
}
114114

115-
private fun prepareChatContent(
115+
private fun preparePanelContent(
116116
project: Project,
117117
qPanel: Wrapper,
118118
) {

0 commit comments

Comments
 (0)