Skip to content

Commit

Permalink
Merge pull request #289 from AxonFramework/fix/missing-class-renderers
Browse files Browse the repository at this point in the history
Add renderers to class-level popups so they are rendered correctly
  • Loading branch information
CodeDrivenMitch authored Oct 1, 2024
2 parents 686304c + 3daf769 commit bf15afa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Axon Framework plugin Changelog

## [0.8.8]
- Fix classes not rendering the correct value in popup of classes
- Plugin is now compatible with IDEA 2024.3 (IDEA 243.*) with minimum version of 2024.2
- Fix various deprecation warnings
- Fix various javadoc issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ClassLineMarkerProvider : LineMarkerProvider {
val publishers = element.creatorResolver().getCreatorsForPayload(qualifiedName)
handlers + publishers
})
.setTargetRenderer { AxonNavigationTargetRenderer.INSTANCE }
.createLineMarkerInfo(element)
}
}
Expand All @@ -67,6 +68,7 @@ class ClassLineMarkerProvider : LineMarkerProvider {
.setTooltipText("Navigate to entities in the same command model hierarchy")
.setEmptyPopupText("No related entities were found")
.setTargets(NotNullLazyValue.lazy { items })
.setTargetRenderer { AxonNavigationTargetRenderer.INSTANCE }
.createLineMarkerInfo(element)
}

Expand Down

0 comments on commit bf15afa

Please sign in to comment.