Skip to content

Commit ded2bc4

Browse files
committed
Rename NotificaitonGroup Id
1 parent 5bd7ebc commit ded2bc4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev-assist/src/main/java/de/fraunhofer/iem/devassist/actions/ExportAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
7070
exportFile.writeToJsonFile(JSONFileLoader.getMethods(), filePath);
7171

7272
String notificationContent = JSONFileLoader.getMethods().size() + " methods exported to: " + filePath;
73-
NotificationGroupManager.getInstance().getNotificationGroup("Plugin-1").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
73+
NotificationGroupManager.getInstance().getNotificationGroup("Process_Completed").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
7474

7575

7676
} catch (IOException e) {

dev-assist/src/main/java/de/fraunhofer/iem/devassist/ui/MethodListTree.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public void launchSwan(HashMap<String, String> values) {
376376
JSONFileLoader.setReloading(false);
377377

378378
String notificationContent = "SRM List updated";
379-
NotificationGroupManager.getInstance().getNotificationGroup("Plugin-1").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
379+
NotificationGroupManager.getInstance().getNotificationGroup("Process_Completed").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
380380

381381
ConfigurationFileNotifier fileNotifier = bus.syncPublisher(ConfigurationFileNotifier.FILE_NOTIFIER_TOPIC);
382382
fileNotifier.loadUpdatedFile(values.get(Constants.OUTPUT_FILE));
@@ -388,7 +388,7 @@ public void launchSwan(HashMap<String, String> values) {
388388
@Override
389389
public void launchSecuCheck() {
390390
String notificationContent = "SecuCheck results exported to "+PropertiesComponent.getInstance(project).getValue(Constants.OUTPUT_DIRECTORY);
391-
NotificationGroupManager.getInstance().getNotificationGroup("Plugin-1").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
391+
NotificationGroupManager.getInstance().getNotificationGroup("Process_Completed").createNotification(notificationContent, NotificationType.INFORMATION).notify(project);
392392
}
393393
});
394394

dev-assist/src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<codeInsight.lineMarkerProvider language="JAVA"
2323
implementationClass="de.fraunhofer.iem.devassist.ui.markers.ErrorLineMarker"/>
2424
<toolWindow id="Dev-Assist" anchor="right" factoryClass="de.fraunhofer.iem.devassist.ui.SummaryToolWindow" icon="PluginIcons.DEV_ASSIST"/>
25-
<notificationGroup id="Plugin-1" displayType="TOOL_WINDOW"/>
25+
<notificationGroup id="Process_Completed" displayType="TOOL_WINDOW"/>
2626
</extensions>
2727

2828
<actions>

0 commit comments

Comments
 (0)