Skip to content

Commit

Permalink
Add renderers to class-level popups so they are rendered correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDrivenMitch committed Sep 30, 2024
1 parent 1849e17 commit 3c8638d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Axon Framework plugin Changelog

## [0.8.8]
- Fix classes not rendering the correct value in popup of classes

## [0.8.7]
- Plugin is now compatible with IDEA 2024.2 (IDEA 242.*)

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 3c8638d

Please sign in to comment.