This is an automated email from the ASF dual-hosted git repository.

cgarcia pushed a commit to branch feature/app
in repository https://gitbox.apache.org/repos/asf/plc4x-extras.git


The following commit(s) were added to refs/heads/feature/app by this push:
     new b39f140  New projectype for plc4x. SubProject Tests.
b39f140 is described below

commit b39f140369c36c8db0b8810a53f9269281b1b417
Author: César García <[email protected]>
AuthorDate: Thu Feb 5 19:42:37 2026 -0400

    New projectype for plc4x. SubProject Tests.
---
 plc4j/tools/malbec/projecttype/hmi/pom.xml         |   6 ++
 .../hmi/ftype/Plc4xBobFileTypeVisualElement.form   |   2 +-
 .../hmi/ftype/Plc4xBobFileTypeVisualElement.java   |   2 +-
 ...ory.java => Plc4xHMISubProjectFactoryIMpl.java} |  13 ++-
 ...SubProject.java => Plc4xHMISubProjectImpl.java} |  16 +--
 ...Plc4xHMISubProjectLogicalViewProviderImpl.java} |  46 ++++-----
 .../hmi/impl/Plc4xHMISubProjectNodeFactory.java    | 111 +++++++++++++++++++++
 ...er.java => Plc4xHMISubProjectProviderImpl.java} |  14 +--
 .../malbec/projecttype/impl/Plc4xProjectImpl.java  |   6 +-
 .../impl/Plc4xProjectLogicalViewImpl.java          |   5 +-
 10 files changed, 167 insertions(+), 54 deletions(-)

diff --git a/plc4j/tools/malbec/projecttype/hmi/pom.xml 
b/plc4j/tools/malbec/projecttype/hmi/pom.xml
index 99c1f7b..4c788c0 100644
--- a/plc4j/tools/malbec/projecttype/hmi/pom.xml
+++ b/plc4j/tools/malbec/projecttype/hmi/pom.xml
@@ -113,5 +113,11 @@
             <artifactId>org-netbeans-modules-projectapi</artifactId>
             <version>${netbeans.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.netbeans.api</groupId>
+            <artifactId>org-netbeans-modules-projectuiapi</artifactId>
+            <version>RELEASE280</version>
+            <type>jar</type>
+        </dependency>
     </dependencies>
 </project>
\ No newline at end of file
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.form
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.form
index 6fe1c2a..5201e3a 100644
--- 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.form
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.form
@@ -21,7 +21,7 @@
 
 -->
 
-<Form version="1.3" maxVersion="1.9" 
type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+<Form version="1.4" maxVersion="1.9" 
type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   <AuxValues>
     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" 
value="1"/>
     <AuxValue name="FormSettings_autoSetComponentName" 
type="java.lang.Boolean" value="false"/>
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.java
index 55aee14..b66c1b4 100644
--- 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.java
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/ftype/Plc4xBobFileTypeVisualElement.java
@@ -36,7 +36,7 @@ import org.openide.windows.TopComponent;
     mimeType = "text/bob+xml",
     persistenceType = TopComponent.PERSISTENCE_NEVER,
     preferredID = "Plc4xBobFileTypeVisual",
-    position = 2000
+    position = 0
 )
 @Messages("LBL_Plc4xBobFileType_VISUAL=Visual")
 public final class Plc4xBobFileTypeVisualElement extends JPanel implements 
MultiViewElement {
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactory.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactoryIMpl.java
similarity index 73%
rename from 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactory.java
rename to 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactoryIMpl.java
index 334916c..f17a3b3 100644
--- 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactory.java
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectFactoryIMpl.java
@@ -16,7 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
 package org.apache.plc4x.malbec.hmi.impl;
 
 import java.io.IOException;
@@ -27,18 +26,22 @@ import org.openide.filesystems.FileObject;
 import org.openide.util.lookup.ServiceProvider;
 
 @ServiceProvider(service=ProjectFactory.class)
-public class Plc4xHMISubProjectFactory implements ProjectFactory {
+public class Plc4xHMISubProjectFactoryImpl implements ProjectFactory {
 
-    public static final String PROJECT_FILE = "test.bob";    
+    public static final String HMI_SUBPROJECT_DIRECTORY = "hmi";    
     
     @Override
     public boolean isProject(FileObject fo) {
-        return fo.getFileObject(PROJECT_FILE) != null;
+        System.out.println("Carpeta: " + fo.isFolder());
+        System.out.println("Name: >" + fo.getName() +">");        
+        boolean isHMIFolder = 
fo.getName().equalsIgnoreCase(HMI_SUBPROJECT_DIRECTORY) && fo.isFolder();
+        System.out.println("isFolder: " + isHMIFolder);        
+        return isHMIFolder;
     }
 
     @Override
     public Project loadProject(FileObject fo, ProjectState ps) throws 
IOException {
-        return isProject(fo) ? new Plc4xHMISubProject(fo, ps) : null;
+        return isProject(fo) ? new Plc4xHMISubProjectImpl(fo, ps) : null;
     }
 
     @Override
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProject.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectImpl.java
similarity index 80%
rename from 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProject.java
rename to 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectImpl.java
index 019b628..9ea2d1d 100644
--- 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProject.java
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectImpl.java
@@ -16,7 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
 package org.apache.plc4x.malbec.hmi.impl;
 
 import java.beans.PropertyChangeListener;
@@ -31,13 +30,13 @@ import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 import org.openide.util.lookup.Lookups;
 
-public class Plc4xHMISubProject implements  Project{
+public class Plc4xHMISubProjectImpl implements  Project{
 
     private final FileObject projectDir;
     private final ProjectState state;
     private Lookup lkp;    
 
-    public Plc4xHMISubProject(FileObject projectDir, ProjectState state) {
+    public Plc4xHMISubProjectImpl(FileObject projectDir, ProjectState state) {
         this.projectDir = projectDir;
         this.state = state;
     }
@@ -52,16 +51,17 @@ public class Plc4xHMISubProject implements  Project{
         if (lkp == null) {
             lkp = Lookups.fixed(new Object[]{
             // register your features here
-                new Plc4xHMIProjectInformation(),
+                new Plc4xHMISubProjectInformation(),
+                new Plc4xHMISubProjectLogicalViewProviderImpl(this),
             });
         }
         return lkp;
     }
     
-    private class Plc4xHMIProjectInformation implements ProjectInformation {
+    private class Plc4xHMISubProjectInformation implements ProjectInformation {
 
         @StaticResource()
-        public static final String CUSTOMER_ICON = 
"org/apache/plc4x/malbec/hmi/nodes/PanelOperador.png";    
+        public static final String HMI_SUBPROJECT_ICON = 
"org/apache/plc4x/malbec/hmi/nodes/PanelOperador.png";    
 
         @Override
         public String getName() {
@@ -75,12 +75,12 @@ public class Plc4xHMISubProject implements  Project{
 
         @Override
         public Icon getIcon() {
-            return new ImageIcon(ImageUtilities.loadImage(CUSTOMER_ICON));
+            return new 
ImageIcon(ImageUtilities.loadImage(HMI_SUBPROJECT_ICON));
         }
 
         @Override
         public Project getProject() {
-            return Plc4xHMISubProject.this;
+            return Plc4xHMISubProjectImpl.this;
         }
 
         @Override
diff --git 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectLogicalViewProviderImpl.java
similarity index 75%
copy from 
plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
copy to 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectLogicalViewProviderImpl.java
index 40456ca..b0f39f3 100644
--- 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectLogicalViewProviderImpl.java
@@ -16,14 +16,14 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.plc4x.malbec.projecttype.impl;
+package org.apache.plc4x.malbec.hmi.impl;
 
 import java.awt.Image;
 import javax.swing.Action;
 import org.netbeans.api.annotations.common.StaticResource;
+import org.netbeans.api.project.Project;
 import org.netbeans.spi.project.ui.LogicalViewProvider;
 import org.netbeans.spi.project.ui.support.CommonProjectActions;
-import org.netbeans.spi.project.ui.support.NodeFactorySupport;
 import org.openide.filesystems.FileObject;
 import org.openide.loaders.DataFolder;
 import org.openide.loaders.DataObjectNotFoundException;
@@ -34,24 +34,23 @@ import org.openide.nodes.Node;
 import org.openide.util.Exceptions;
 import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
-
 import org.openide.util.lookup.Lookups;
 import org.openide.util.lookup.ProxyLookup;
 
-public class Plc4xProjectLogicalViewImpl implements LogicalViewProvider {
 
-    
+public class Plc4xHMISubProjectLogicalViewProviderImpl implements  
LogicalViewProvider {
+
     @StaticResource()
-    public static final String CUSTOMER_ICON = 
"org/apache/plc4x/malbec/projecttype/impl/Proyecto.png";       
+    public static final String HMI_SUBPROJECT_ICON = 
"org/apache/plc4x/malbec/hmi/nodes/PanelOperador.png";
     
-    private final Plc4xProjectImpl project;
+    private final Project project;
 
-    public Plc4xProjectLogicalViewImpl(Plc4xProjectImpl project) {
+    public Plc4xHMISubProjectLogicalViewProviderImpl(Project project) {
         this.project = project;
     }
     
     @Override
-    public Node createLogicalView() {    
+    public Node createLogicalView() {
         try {
             //Obtain the project directory's node:
             FileObject projectDirectory = project.getProjectDirectory();
@@ -69,25 +68,23 @@ public class Plc4xProjectLogicalViewImpl implements 
LogicalViewProvider {
 
     @Override
     public Node findPath(Node node, Object o) {
-        //leave unimplemented for now
+        //
         return null;
     }
     
     private final class ProjectNode extends FilterNode {
 
-        final Plc4xProjectImpl project;
+        final Project project;
 
-        public ProjectNode(Node node, Plc4xProjectImpl project)
+        public ProjectNode(Node node, Project project)
             throws DataObjectNotFoundException {
             super(node,
-                  NodeFactorySupport.createCompositeChildren(project,
-                            "Projects/org-plc4x-project/Nodes"),
-//                  new FilterNode.Children(node),
-                  new ProxyLookup(
-                  new Lookup[]{
-                  Lookups.singleton(project),
-                  node.getLookup()
-            }));
+                    new FilterNode.Children(node),
+                    new ProxyLookup(
+                    new Lookup[]{
+                        Lookups.singleton(project),
+                        node.getLookup()
+                    }));
             this.project = project;
         }
 
@@ -97,14 +94,13 @@ public class Plc4xProjectLogicalViewImpl implements 
LogicalViewProvider {
                         CommonProjectActions.newFileAction(),
                         CommonProjectActions.copyProjectAction(),
                         CommonProjectActions.deleteProjectAction(),
-                        CommonProjectActions.closeProjectAction(),
-                        CommonProjectActions.customizeProjectAction()
+                        CommonProjectActions.closeProjectAction()
                     };
         }
 
         @Override
         public Image getIcon(int type) {
-            return ImageUtilities.loadImage(CUSTOMER_ICON);
+            return ImageUtilities.loadImage(HMI_SUBPROJECT_ICON );
         }
 
         @Override
@@ -117,6 +113,8 @@ public class Plc4xProjectLogicalViewImpl implements 
LogicalViewProvider {
             return project.getProjectDirectory().getName();
         }
 
-    }    
+    }
+
+   
     
 }
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectNodeFactory.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectNodeFactory.java
new file mode 100644
index 0000000..8361771
--- /dev/null
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectNodeFactory.java
@@ -0,0 +1,111 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.plc4x.malbec.hmi.impl;
+
+import java.awt.Image;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+import javax.swing.event.ChangeListener;
+import org.netbeans.api.annotations.common.StaticResource;
+import org.netbeans.api.project.Project;
+import org.netbeans.spi.project.ui.support.NodeFactory;
+import org.netbeans.spi.project.ui.support.NodeList;
+import org.openide.loaders.DataObject;
+import org.openide.loaders.DataObjectNotFoundException;
+import org.openide.nodes.FilterNode;
+import org.openide.nodes.Node;
+import static org.openide.nodes.NodeTransfer.node;
+import org.openide.util.Exceptions;
+import org.openide.util.ImageUtilities;
+
[email protected](projectType = "org-plc4x-project", position = 10)
+public class Plc4xHMISubProjectNodeFactory implements NodeFactory{
+    
+    @StaticResource()
+    public static final String HMI_SUBPROJECT_ICON = 
"org/apache/plc4x/malbec/hmi/nodes/PanelOperador.png";    
+
+    @Override
+    public NodeList<?> createNodes(Project project) {
+        Plc4xHMISubProjectProviderImpl rsp = project.getLookup().
+            lookup(Plc4xHMISubProjectProviderImpl.class);
+        assert rsp != null;
+        return new ProjectsNodeList(rsp.getSubprojects());
+    }
+    
+    private class ProjectsNodeList implements NodeList<Project> {
+        Set<? extends Project> subprojects; 
+        
+        public ProjectsNodeList(Set<? extends Project> subprojects) {
+            this.subprojects = subprojects;
+        }        
+
+        @Override
+        public List<Project> keys() {
+            List<Project> result = new ArrayList<Project>();
+            for (Project oneReportSubProject : subprojects) {
+                result.add(oneReportSubProject);
+            }
+            return result;
+        }
+
+        @Override
+        public void addChangeListener(ChangeListener cl) {
+            //
+        }
+
+        @Override
+        public void removeChangeListener(ChangeListener cl) {
+            //
+        }
+
+        @Override
+        public Node node(Project k) {
+             FilterNode fn = null;
+            try {
+                fn = new FilterNode(DataObject.find(k.
+                        getProjectDirectory()).getNodeDelegate()){
+                    @Override
+                    public Image getIcon(int type) {
+                        return ImageUtilities.loadImage(HMI_SUBPROJECT_ICON );
+                    }
+                    @Override
+                    public Image getOpenedIcon(int type) {
+                        return ImageUtilities.loadImage(HMI_SUBPROJECT_ICON );
+                    }
+                };
+            } catch (DataObjectNotFoundException ex) {
+                Exceptions.printStackTrace(ex);
+            }
+            return fn;
+        }
+
+        @Override
+        public void addNotify() {
+            //
+        }
+
+        @Override
+        public void removeNotify() {
+            //
+        }
+    }    
+    
+    
+}
diff --git 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProvider.java
 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProviderImpl.java
similarity index 89%
rename from 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProvider.java
rename to 
plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProviderImpl.java
index 2097dd0..4d5b06d 100644
--- 
a/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProvider.java
+++ 
b/plc4j/tools/malbec/projecttype/hmi/src/main/java/org/apache/plc4x/malbec/hmi/impl/Plc4xHMISubProjectProviderImpl.java
@@ -29,15 +29,11 @@ import org.netbeans.spi.project.SubprojectProvider;
 import org.openide.filesystems.FileObject;
 import org.openide.util.Exceptions;
 
-/**
- *
- * @author cgarcia
- */
-public class Plc4xHMISubProjectProvider implements SubprojectProvider {
+public class Plc4xHMISubProjectProviderImpl implements SubprojectProvider {
 
     private final Project project;
 
-    public Plc4xHMISubProjectProvider(Project project) {
+    public Plc4xHMISubProjectProviderImpl(Project project) {
         this.project = project;
     }
     
@@ -63,9 +59,9 @@ public class Plc4xHMISubProjectProvider implements 
SubprojectProvider {
             for (FileObject childFolder : reportsFolder.getChildren()) {
                 try {
                     Project subp = ProjectManager.getDefault().
-                        findProject(childFolder);
-                    if (subp != null && subp instanceof Plc4xHMISubProject) {
-                        newProjects.add((Plc4xHMISubProject) subp);
+                        findProject(reportsFolder);
+                    if (subp != null && subp instanceof 
Plc4xHMISubProjectImpl) {
+                        newProjects.add((Plc4xHMISubProjectImpl) subp);
                     }
                 } catch (IOException ex) {
                     Exceptions.printStackTrace(ex);
diff --git 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectImpl.java
 
b/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectImpl.java
index 8decf52..2d98aaa 100644
--- 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectImpl.java
+++ 
b/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectImpl.java
@@ -21,7 +21,7 @@ package org.apache.plc4x.malbec.projecttype.impl;
 import java.beans.PropertyChangeListener;
 import javax.swing.Icon;
 import javax.swing.ImageIcon;
-import org.apache.plc4x.malbec.hmi.impl.Plc4xHMISubProjectProvider;
+import org.apache.plc4x.malbec.hmi.impl.Plc4xHMISubProjectProviderImpl;
 import org.apache.plc4x.malbec.projecttype.panels.Plc4xGeneralPropertiesImpl;
 import org.netbeans.api.annotations.common.StaticResource;
 import org.netbeans.api.project.Project;
@@ -58,8 +58,8 @@ public class Plc4xProjectImpl implements Project{
                 new Plc4xProjectInfoImpl(),
                 new Plc4xProjectLogicalViewImpl(this),
                 new Plc4xCustomizerProviderImpl(this),
-                new Plc4xHMISubProjectProvider(this),
-                new Plc4xGeneralPropertiesImpl()
+                new Plc4xHMISubProjectProviderImpl(this),
+                new Plc4xGeneralPropertiesImpl(),
             });
         }
         return lkp;
diff --git 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
 
b/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
index 40456ca..72161c2 100644
--- 
a/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
+++ 
b/plc4j/tools/malbec/projecttype/malbec-projecttype/src/main/java/org/apache/plc4x/malbec/projecttype/impl/Plc4xProjectLogicalViewImpl.java
@@ -34,7 +34,6 @@ import org.openide.nodes.Node;
 import org.openide.util.Exceptions;
 import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
-
 import org.openide.util.lookup.Lookups;
 import org.openide.util.lookup.ProxyLookup;
 
@@ -42,7 +41,7 @@ public class Plc4xProjectLogicalViewImpl implements 
LogicalViewProvider {
 
     
     @StaticResource()
-    public static final String CUSTOMER_ICON = 
"org/apache/plc4x/malbec/projecttype/impl/Proyecto.png";       
+    public static final String HMI_SUBPROJECT_ICON = 
"org/apache/plc4x/malbec/projecttype/impl/Proyecto.png";       
     
     private final Plc4xProjectImpl project;
 
@@ -104,7 +103,7 @@ public class Plc4xProjectLogicalViewImpl implements 
LogicalViewProvider {
 
         @Override
         public Image getIcon(int type) {
-            return ImageUtilities.loadImage(CUSTOMER_ICON);
+            return ImageUtilities.loadImage(HMI_SUBPROJECT_ICON);
         }
 
         @Override

Reply via email to