Jmix version: 1.4.0
Jmix Studio plugin version: 1.4.0-221
IntelliJ IDEA 2022.1.4 (Community Edition)
Build #IC-221.6008.13, built on July 19, 2022
Runtime version: 11.0.15+10-b2043.56 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Kotlin: 221-1.7.20-release-201-IJ5591.52
Java 17.0.4 2022-07-19 LTS
Java™ SE Runtime Environment (build 17.0.4+11-LTS-179)
Java HotSpot™ 64-Bit Server VM (build 17.0.4+11-LTS-179, mixed mode, sharing)
Operating System: macOS 13.0.1 (22A400)
File System: Case-Sensitive Journaled HFS+ (APFS)
Datebase: PostgreSQL 13
Hello Everyone
For your information, when I use the Rename function in the Designer to refactor an enumeration, all of the references are renamed but in my screen XML the package is removed from the optionsEnum definition. I found this in my own project and can reproduce it in your Stored Procedures example.
For example…
public enum CarColors implements EnumClass<Integer> {
and a screen component…
<comboBox optionsEnum="com.company.storedprocedures.entity.CarColors"/>
After renaming CarColors to CarColor…
public enum CarColor implements EnumClass<Integer> {
My screen component has the following code…
<comboBox optionsEnum="CarColor"/>
Please note that I have tried using all of the options in the refactoring dialog without any difference; the package name is always deleted.
I hope that this information helps.
Best regards
Chris