Chris2011 closed pull request #983: NETBEANS-1498 - Added Maven2Icon.gif to 
change the pom file icon to it.
URL: https://github.com/apache/incubator-netbeans/pull/983
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/java/maven.grammar/src/org/netbeans/modules/maven/grammar/Maven2Icon.gif 
b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/Maven2Icon.gif
new file mode 100644
index 0000000000..50a11df481
Binary files /dev/null and 
b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/Maven2Icon.gif 
differ
diff --git 
a/java/maven.grammar/src/org/netbeans/modules/maven/grammar/POMDataObject.java 
b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/POMDataObject.java
index 0fec10045c..6086a999c4 100644
--- 
a/java/maven.grammar/src/org/netbeans/modules/maven/grammar/POMDataObject.java
+++ 
b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/POMDataObject.java
@@ -68,7 +68,7 @@
 
     public static final String SETTINGS_MIME_TYPE = 
"text/x-maven-settings+xml";
 
-    static final @StaticResource String POM_ICON = 
"org/netbeans/modules/maven/grammar/xmlObject.gif";
+    static final @StaticResource String POM_ICON = 
"org/netbeans/modules/maven/grammar/Maven2Icon.gif";
 
     private static final Logger LOG = 
Logger.getLogger(POMDataObject.class.getName());
 
diff --git 
a/java/maven.grammar/src/org/netbeans/modules/maven/grammar/layer.xml 
b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/layer.xml
index 791fbcfbe8..f3c0a47dbc 100644
--- a/java/maven.grammar/src/org/netbeans/modules/maven/grammar/layer.xml
+++ b/java/maven.grammar/src/org/netbeans/modules/maven/grammar/layer.xml
@@ -97,7 +97,7 @@
                         <attr name="dataObjectClass" 
stringvalue="org.netbeans.modules.maven.grammar.POMDataObject"/>
                         <attr name="instanceCreate" 
methodvalue="org.openide.loaders.DataLoaderPool.factory"/>
                         <attr name="mimeType" 
stringvalue="text/x-maven-pom+xml"/>
-                        <attr name="iconBase" 
stringvalue="org/netbeans/modules/xml/resources/xmlObject.gif"/>
+                        <attr name="iconBase" 
stringvalue="org/netbeans/modules/maven/grammar/Maven2Icon.gif"/>
                     </file>
                 </folder>
             </folder>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to