feat(config): persistent directories, auto-open files, and strict project scope

- Implemented persistent directory memory for Action Model and Dataset generators (per project).
- Added configuration to automatically open generated files in the editor with a customizable limit.
- Enforced strict project-scope file selection for i18n and XSD settings.
- Switched to relative path storage for i18n/XSD configuration to enhance project portability.
- Improved File Browser logic to start at the current directory or fallback to project root.
- Fixed compilation errors and optimized imports in configuration classes.
- Bumped plugin version to 3.2.4.
This commit is contained in:
2026-04-18 11:14:26 +07:00
parent 4da00c10e4
commit 475555da83
17 changed files with 317 additions and 36 deletions

View File

@@ -55,6 +55,10 @@
<FIELD NAME="PROJ_FROM_YEAR" TYPE="NUMBER" WIDTH="4" LABEL="plcp.from_year"/>
</FIELDS>
</DATASET>
<FOREIGN-DATASETS>
<DATASET DATASET-ID="DS-PROJECT-STTGYS" MASTER-FIELDS="PROJ_ID,ACM_CODE" DETAIL-FIELDS="PROJ_ID" DELETE-WITH-MASTER="Y"/>
<DATASET DATASET-ID="DS-PROJECT-STTGYS-ITEMS" MASTER-FIELDS="PROJ_ID,ACM_CODE" DETAIL-FIELDS="PROJ_ID" DELETE-WITH-MASTER="Y"/>
</FOREIGN-DATASETS>
</DATASETS>
<FORM>
@@ -120,7 +124,7 @@
<FIELD NAME="PROJ_YEAR" CAPTION="plcp.year" INPUTTYPE="TEXT" READONLY="Y" DATATYPE="TEXT"/>
<FIELD NAME="VPJM_CODE" CAPTION="plcp.pjm_code" INPUTTYPE="TEXT" READONLY="Y"/>
<FIELD NAME="PJM_CODE" CAPTION="plcp.pjm_name" INPUTTYPE="COMBOBOX" REQUIRE="Y" EDIT-READONLY="Y">
<AJAX-OPTION URL="/api-data.jbx" DATASET="DS-PROJECT-02" VALUE-FIELD="PJM_CODE" TEXT-FIELD="PJM_NAME">
<AJAX-OPTION URL="/api-data.jbx" DATASET="DS-PROJECT-02" VIEW-DATASET="DS-PROJECT-03" VALUE-FIELD="PJM_CODE" TEXT-FIELD="PJM_NAME">
<UPDATE-FIELDS>
<FIELD SRC="PJM_CODE" TARGET="VPJM_CODE"></FIELD>
</UPDATE-FIELDS>