diff --git a/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/NewActivitiBpmnAction.kt b/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/NewActivitiBpmnAction.kt
index c794d2ab..45ea03e9 100644
--- a/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/NewActivitiBpmnAction.kt
+++ b/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/NewActivitiBpmnAction.kt
@@ -6,6 +6,7 @@ import com.intellij.ide.fileTemplates.FileTemplate
import com.intellij.ide.fileTemplates.FileTemplateManager
import com.intellij.ide.fileTemplates.actions.AttributesDefaults
import com.intellij.ide.fileTemplates.ui.CreateFromTemplateDialog
+import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.io.FileUtilRt
@@ -29,6 +30,10 @@ class NewActivitiBpmnAction:
}
}
+ override fun getActionUpdateThread(): ActionUpdateThread {
+ return ActionUpdateThread.BGT
+ }
+
override fun getActionName(directory: PsiDirectory?, newName: String, templateName: String?) = NEW_FILE
override fun buildDialog(project: Project, directory: PsiDirectory, builder: CreateFileFromTemplateDialog.Builder) {
diff --git a/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/ViewActivitiBpmnDiagramAction.kt b/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/ViewActivitiBpmnDiagramAction.kt
index 98323e1e..2878fa3f 100644
--- a/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/ViewActivitiBpmnDiagramAction.kt
+++ b/activiti-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/activiti/plugin/actions/ViewActivitiBpmnDiagramAction.kt
@@ -24,8 +24,4 @@ class ViewActivitiBpmnDiagramAction : BaseViewBpmnDiagramAction() {
override fun notificationBalloon(project: Project, message: String, type: NotificationType) {
showNotificationBalloon(project, message, type)
}
-
- override fun getActionUpdateThread(): ActionUpdateThread {
- return ActionUpdateThread.BGT
- }
}
diff --git a/activiti-intellij-plugin/src/main/resources/META-INF/plugin.xml b/activiti-intellij-plugin/src/main/resources/META-INF/plugin.xml
index d1112106..cd1ab6af 100644
--- a/activiti-intellij-plugin/src/main/resources/META-INF/plugin.xml
+++ b/activiti-intellij-plugin/src/main/resources/META-INF/plugin.xml
@@ -4,7 +4,7 @@
0.5.4.3:
0.5.3.1:
-0.5.4.3:
0.5.3.1:
-0.5.4.3:
0.5.3.1:
-