You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2026/04/05 10:29:08 UTC
(struts-intellij-plugin) branch feat/struts-diagram-tab updated (2dde740 -> 9b510c3)
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch feat/struts-diagram-tab
in repository https://gitbox.apache.org/repos/asf/struts-intellij-plugin.git
from 2dde740 fix: resolve threading violations in Diagram tab
add 9b510c3 feat(diagram): show local packages only and add early DTD validation
No new revisions were added by this update.
Summary of changes:
.../fileEditor/Struts2DiagramFileEditor.java | 9 +-
.../diagram/model/StrutsConfigDiagramModel.java | 62 ++++++++++--
.../dom/inspection/Struts2ModelInspection.java | 22 +++++
.../struts2/dom/inspection/StrutsDtdValidator.java | 72 ++++++++++++++
.../resources/messages/Struts2Bundle.properties | 2 +
.../diagram/StrutsConfigDiagramModelTest.java | 105 +++++++++++++++++++++
.../dom/inspection/StrutsDtdValidatorTest.java | 74 +++++++++++++++
.../struts2/dom/struts/StrutsHighlightingTest.java | 4 +
.../struts-local-a.xml} | 12 ++-
.../struts-local-b.xml} | 7 +-
.../strutsXml/highlighting/struts-dtd-https.xml} | 9 +-
11 files changed, 360 insertions(+), 18 deletions(-)
create mode 100644 src/main/java/com/intellij/struts2/dom/inspection/StrutsDtdValidator.java
create mode 100644 src/test/java/com/intellij/struts2/diagram/StrutsConfigDiagramModelTest.java
create mode 100644 src/test/java/com/intellij/struts2/dom/inspection/StrutsDtdValidatorTest.java
copy src/test/testData/{strutsXml/completion/struts-completionvariants-result_name.xml => diagram/struts-local-a.xml} (82%)
copy src/test/testData/{gutterJsp/actionClass/struts-actionClass.xml => diagram/struts-local-b.xml} (89%)
copy src/{main/resources/fileTemplates/j2ee/struts_6_0.xml.ft => test/testData/strutsXml/highlighting/struts-dtd-https.xml} (53%)