diff --git a/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelFactory.kt b/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelFactory.kt index 9e68878..10183cb 100644 --- a/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelFactory.kt +++ b/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelFactory.kt @@ -18,7 +18,7 @@ class DemoPanelFactory : ToolWindowFactory { } - // TODO: use UI bundle instead of a string here? + // TODO use UI bundle instead of a string here? private val runTaskMethodButton = JButton("Run task function").apply { isBorderPainted = false isVisible = true @@ -37,13 +37,13 @@ class DemoPanelFactory : ToolWindowFactory { } toolWindow.component.add(panel) - // TODO: add another listener? This example as a demo for now + // TODO add another listener? This example as a demo for now runTaskMethodButton.setListener { NotificationGroupManager.getInstance().getNotificationGroup(DEMO_PLUGIN_NOTIFICATION) .createNotification("This panel demonstrates how the plugin works. The current task is a theory task, the plugin does nothing.", NotificationType.INFORMATION) .notify(project) } - // TODO: add an action to the button + // TODO add an action to the button } private fun JButton.setListener(listener: ActionListener) { @@ -53,4 +53,4 @@ class DemoPanelFactory : ToolWindowFactory { addActionListener(listener) } -} \ No newline at end of file +} diff --git a/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelWindow.kt b/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelWindow.kt index f9bc163..d6da6c3 100644 --- a/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelWindow.kt +++ b/courseSection/accessingPsiElements/accessingPsiElementesTheory/src/main/kotlin/jetbrains/academy/plugin/course/dev/ui/DemoPanelWindow.kt @@ -11,7 +11,7 @@ class DemoPanelWindow(service: DemoPanelService) { get() = windowBrowser.component init { - // TODO: load the panel's content + // TODO load the panel's content Disposer.register(service, windowBrowser) } -} \ No newline at end of file +}