From fd18a54deb2d98c22c52d713c4d8d30ff3534040 Mon Sep 17 00:00:00 2001 From: Mykhailo Lytvyn Date: Fri, 17 Mar 2023 17:41:23 +0100 Subject: [PATCH] #287 | Added Context Parameters node for Business Process Diagram --- gradle.properties | 4 +- resources/META-INF/plugin-release-info.xml | 11 +++- .../colorSchemes/HybrisDiagramDarcula.xml | 1 + .../colorSchemes/HybrisDiagramDefault.xml | 1 + .../hybris/common/utils/HybrisIcons.java | 28 +++++----- .../businessProcess/BpDiagramColorManager.kt | 2 + .../businessProcess/BpDiagramColors.kt | 1 + .../BpDiagramElementManager.kt | 29 ++++++---- .../BpDiagramNodeContentManager.kt | 6 +- .../impl/BpGraphServiceImpl.kt | 28 +++++++--- .../node/BpDiagramDataModel.kt | 8 ++- .../businessProcess/node/BpDiagramEdgeType.kt | 1 + .../businessProcess/node/BpDiagramNode.kt | 25 ++++++--- .../node/BpDiagramRelationship.kt | 19 ++++--- .../node/graph/BpGraphFactory.kt | 55 ++++++++++++++----- .../node/graph/BpGraphField.kt | 23 ++++++++ .../graph/BpGraphFieldContextParameter.kt | 27 +++++++++ .../node/graph/BpGraphFieldParameter.kt | 4 +- .../businessProcess/node/graph/BpGraphNode.kt | 5 +- .../graph/BpGraphNodeContextParameters.kt | 52 ++++++++++++++++++ .../node/graph/BpGraphNodeDefault.kt | 8 +-- .../node/graph/BpGraphNodeNavigable.kt | 25 +++++++++ .../node/graph/BpGraphNodeRoot.kt | 6 +- .../typeSystem/node/TSDiagramColorManager.kt | 10 +--- .../typeSystem/node/TSDiagramDataModel.kt | 2 +- .../system/businessProcess/model/Process.java | 8 ++- 26 files changed, 293 insertions(+), 96 deletions(-) create mode 100644 src/com/intellij/idea/plugin/hybris/diagram/businessProcess/node/graph/BpGraphField.kt create mode 100644 src/com/intellij/idea/plugin/hybris/diagram/businessProcess/node/graph/BpGraphFieldContextParameter.kt create mode 100644 src/com/intellij/idea/plugin/hybris/diagram/businessProcess/node/graph/BpGraphNodeContextParameters.kt create mode 100644 src/com/intellij/idea/plugin/hybris/diagram/businessProcess/node/graph/BpGraphNodeNavigable.kt diff --git a/gradle.properties b/gradle.properties index 0e1f7f76b..a9b8c202d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ intellij.update.since.until.build=true intellij.plugin.name=SAP-Commerce-Developers-Toolset intellij.plugin.version=2023.1.2 -intellij.plugin.since.build=231.8109.2 +intellij.plugin.since.build=231.8109.90 intellij.plugin.until.build=231.* intellij.type=IU @@ -27,7 +27,7 @@ intellij.download.sources=true # https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl # See https://jb.gg/intellij-platform-builds-list for available build versions # EAP snapshots -> https://www.jetbrains.com/intellij-repository/snapshots -plugin.verifier.ide.versions=IU-231.8109.2 +plugin.verifier.ide.versions=IU-231.8109.90 # Plugin Dependencies -> https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html # Platform explorer (Plugin) -> https://plugins.jetbrains.com/intellij-platform-explorer/extensions diff --git a/resources/META-INF/plugin-release-info.xml b/resources/META-INF/plugin-release-info.xml index 470002e79..1a83188c6 100644 --- a/resources/META-INF/plugin-release-info.xml +++ b/resources/META-INF/plugin-release-info.xml @@ -110,11 +110,16 @@
  • Feature: Added Legend MD file (#279)
  • +
  • Business Process Diagrams Improvements + +
  • Feature: Added navigation to generated Item and Enum classes from the items.xml (#284)
  • Feature: Added navigation to generated Enum Values fields from the items.xml (#285)
  • -
  • Feature: Added node properties for Business Process Diagrams (#267)
  • -
  • Feature: Added edges coloring for Business Process Diagrams (#265)
  • -
  • Feature: Added cycle edges coloring for Business Process Diagrams (#266)
  • Feature: Improved PSI cache usage (#258)
  • Feature: Improved performance of the Global Meta Model and TS LineMarker (#257)
  • Feature: IDEA modules by default will be stored in the /.idea/idea-modules (#259)
  • diff --git a/resources/colorSchemes/HybrisDiagramDarcula.xml b/resources/colorSchemes/HybrisDiagramDarcula.xml index e4cdd5693..083812346 100644 --- a/resources/colorSchemes/HybrisDiagramDarcula.xml +++ b/resources/colorSchemes/HybrisDiagramDarcula.xml @@ -12,6 +12,7 @@