eirikbakke opened a new pull request #1278: [NETBEANS-2604] Support SVG icon 
loading from ImageUtilities
URL: https://github.com/apache/netbeans/pull/1278
 
 
   This PR adds support for SVG icon loading from ImageUtilities, and tests it 
by adding SVG icons for the Undo and Redo actions. See 
https://issues.apache.org/jira/browse/NETBEANS-2604 and the attached 
screenshot. This PR depends on https://github.com/apache/netbeans/pull/1273, 
which must be applied first. This PR can be reviewed more or less independently 
(just ignore the first commit, which contains all the changes from the other 
PR).
   
   Some questions for more experienced NetBeans veterans:
   - Are my module and package naming conventions appropriate? (E.g. put 
SVGLoader in org.openide.util.spi, and name the implementation module 
"org.openide.util.ui.svg".)
   - Am I filling in apichanges.xml correctly? (The previous entry, about 
VectorIcon, was from an earlier PR of mine as well, but I don't see that one 
reflected at https://bits.netbeans.org/11.0/javadoc/apichanges.html , which 
puzzles me.)
   - Is it correct to use "OpenIDE-Module-Display-Category=Infrastructure" for 
the SVG Loader module? (In 
platform/openide.util.ui.svg/src/org/openide/util/svg/Bundle.properties.)
   - Would it be better to keep the SVGLoader SPI in a private package, instead 
having the implementation module depend on the implementation version of 
openide.util.ui to gain access to it? I don't anticipate anyone ever needing to 
provide an alternative implementation.
   - Is there anything I need to do to verify that the JAR hashes are correct? 
The JARs from Maven Central are not exactly the same as those from 
https://xmlgraphics.apache.org/batik/download.html .
   - Is the inclusion of a some dependency JARs (commons-io, commons-logging, 
and xml-apis) from libs.batik OK? They all have the same Apache 2.0 license. 
There are existing wrapper modules for commons-io and commons-logging, but 
those are in the "ide" cluster, and I assume modules in the "platform" cluster 
shouldn't depend on modules in the "ide" cluster?
   - Am I doing versioning right for the libs.batik library? Does it make sense 
to assign it version 1.0 rather than Batik's own version, which is 1.11?
   
   ![SVG icon 
screenshot](https://user-images.githubusercontent.com/886243/58744078-46de6f00-840b-11e9-892e-69caadc65b43.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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