> On Apr 7, 2019, at 5:25 AM, Christian Lenz <christian.l...@gmx.net> wrote:
> 
> Hey guys,
> 
> I want to mention here the repo of IntelliJ the community edition. They do it 
> as a package inside of the platform called Icons: 
> https://github.com/JetBrains/intellij-community/tree/master/platform/icons as 
> you can see, everything (I don’t know whether it is 100% or less but most of 
> the Icons are inside of this package in subpackages. This is somehow 
> centralized and not packed with each module and we don’t need find any Icon 
> out. And as far as I can see, they use SVG Icons.
> 

I discourage such a merge where icons from various modules wind up inside a 
single module. The module code itself still has to reference these things, and 
as such now must touch more than one module just to add an image. Why would I 
want N graphic files if I am using the platform but not the modules which 
require the N graphics? I call that bloat. I think if we are having an issue 
finding icons, and need a solution, we should solve that versus a giant lump; 
it could be a module manifest marker or something similar.

> So all on all, I know that atm it is not possible to have it like this, but 
> this is, imho the future, that what we want and will be a lot of work. But 
> maybe we can start to move Icons one by one to such a public package. And 
> yes, I know that this will change the platform too(?).

I do think we could have a module which is used to convert graphics etc, and 
can then use an SPI. We can of course support SVG etc this way, but then too, 
could allow any other image type to be plugged in by a module author as needed. 
It would be super handy too to be able to support SVG clip paths for sprites or 
similar for pixel based images.

Wade
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

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



Reply via email to