diff --git a/apps/sampler-javafx/src/main/java/module-info.java b/apps/sampler-javafx/src/main/java/module-info.java index 28758a05c..0fa1c272b 100644 --- a/apps/sampler-javafx/src/main/java/module-info.java +++ b/apps/sampler-javafx/src/main/java/module-info.java @@ -69,4 +69,5 @@ requires org.kordamp.ikonli.win10; requires org.kordamp.ikonli.zondicons; uses org.kordamp.ikonli.IkonHandler; + uses org.kordamp.ikonli.IkonProvider; } diff --git a/apps/sampler-javafx/src/main/java/org/kordamp/ikonli/sampler/javafx/Sampler.java b/apps/sampler-javafx/src/main/java/org/kordamp/ikonli/sampler/javafx/Sampler.java index b092e280d..2f90ed0b6 100644 --- a/apps/sampler-javafx/src/main/java/org/kordamp/ikonli/sampler/javafx/Sampler.java +++ b/apps/sampler-javafx/src/main/java/org/kordamp/ikonli/sampler/javafx/Sampler.java @@ -27,93 +27,14 @@ import javafx.scene.layout.GridPane; import javafx.stage.Stage; import org.kordamp.ikonli.Ikon; -import org.kordamp.ikonli.bpmn.Bpmn; -import org.kordamp.ikonli.captainicon.Captainicon; -import org.kordamp.ikonli.codicons.Codicons; -import org.kordamp.ikonli.coreui.CoreUiBrands; -import org.kordamp.ikonli.coreui.CoreUiFree; -import org.kordamp.ikonli.dashicons.Dashicons; -import org.kordamp.ikonli.devicons.Devicons; -import org.kordamp.ikonli.elusive.Elusive; -import org.kordamp.ikonli.entypo.Entypo; -import org.kordamp.ikonli.evaicons.Evaicons; -import org.kordamp.ikonli.feather.Feather; -import org.kordamp.ikonli.fluentui.FluentUiFilledAL; -import org.kordamp.ikonli.fluentui.FluentUiFilledMZ; -import org.kordamp.ikonli.fluentui.FluentUiRegularAL; -import org.kordamp.ikonli.fluentui.FluentUiRegularMZ; -import org.kordamp.ikonli.fontawesome.FontAwesome; -import org.kordamp.ikonli.fontawesome5.FontAwesomeBrands; -import org.kordamp.ikonli.fontawesome5.FontAwesomeRegular; -import org.kordamp.ikonli.fontawesome5.FontAwesomeSolid; -import org.kordamp.ikonli.fontelico.Fontelico; -import org.kordamp.ikonli.foundation.Foundation; -import org.kordamp.ikonli.hawconsfilled.HawconsFilled; -import org.kordamp.ikonli.hawconsstroke.HawconsStroke; -import org.kordamp.ikonli.icomoon.Icomoon; -import org.kordamp.ikonli.ionicons.Ionicons; -import org.kordamp.ikonli.ionicons4.Ionicons4IOS; -import org.kordamp.ikonli.ionicons4.Ionicons4Logo; -import org.kordamp.ikonli.ionicons4.Ionicons4Material; +import org.kordamp.ikonli.IkonProvider; import org.kordamp.ikonli.javafx.FontIcon; -import org.kordamp.ikonli.ligaturesymbols.LigatureSymbols; -import org.kordamp.ikonli.lineawesome.LineAwesomeBrands; -import org.kordamp.ikonli.lineawesome.LineAwesomeRegular; -import org.kordamp.ikonli.lineawesome.LineAwesomeSolid; -import org.kordamp.ikonli.linecons.Linecons; -import org.kordamp.ikonli.maki.Maki; -import org.kordamp.ikonli.maki2.Maki2; -import org.kordamp.ikonli.mapicons.Mapicons; -import org.kordamp.ikonli.material.Material; -import org.kordamp.ikonli.materialdesign.MaterialDesignA; -import org.kordamp.ikonli.materialdesign.MaterialDesignB; -import org.kordamp.ikonli.materialdesign.MaterialDesignC; -import org.kordamp.ikonli.materialdesign.MaterialDesignD; -import org.kordamp.ikonli.materialdesign.MaterialDesignE; -import org.kordamp.ikonli.materialdesign.MaterialDesignF; -import org.kordamp.ikonli.materialdesign.MaterialDesignG; -import org.kordamp.ikonli.materialdesign.MaterialDesignH; -import org.kordamp.ikonli.materialdesign.MaterialDesignI; -import org.kordamp.ikonli.materialdesign.MaterialDesignJ; -import org.kordamp.ikonli.materialdesign.MaterialDesignK; -import org.kordamp.ikonli.materialdesign.MaterialDesignL; -import org.kordamp.ikonli.materialdesign.MaterialDesignM; -import org.kordamp.ikonli.materialdesign.MaterialDesignN; -import org.kordamp.ikonli.materialdesign.MaterialDesignO; -import org.kordamp.ikonli.materialdesign.MaterialDesignP; -import org.kordamp.ikonli.materialdesign.MaterialDesignQ; -import org.kordamp.ikonli.materialdesign.MaterialDesignR; -import org.kordamp.ikonli.materialdesign.MaterialDesignS; -import org.kordamp.ikonli.materialdesign.MaterialDesignT; -import org.kordamp.ikonli.materialdesign.MaterialDesignU; -import org.kordamp.ikonli.materialdesign.MaterialDesignV; -import org.kordamp.ikonli.materialdesign.MaterialDesignW; -import org.kordamp.ikonli.materialdesign.MaterialDesignX; -import org.kordamp.ikonli.materialdesign.MaterialDesignY; -import org.kordamp.ikonli.materialdesign.MaterialDesignZ; -import org.kordamp.ikonli.medicons.Medicons; -import org.kordamp.ikonli.metrizeicons.MetrizeIcons; -import org.kordamp.ikonli.microns.Microns; -import org.kordamp.ikonli.ociicons.Ociicons; -import org.kordamp.ikonli.octicons.Octicons; -import org.kordamp.ikonli.openiconic.Openiconic; -import org.kordamp.ikonli.paymentfont.PaymentFont; -import org.kordamp.ikonli.remixicon.RemixiconAL; -import org.kordamp.ikonli.remixicon.RemixiconMZ; -import org.kordamp.ikonli.runestroicons.Runestroicons; -import org.kordamp.ikonli.simpleicons.SimpleIcons; -import org.kordamp.ikonli.simplelineicons.SimpleLineIcons; -import org.kordamp.ikonli.themify.Themify; -import org.kordamp.ikonli.typicons.Typicons; -import org.kordamp.ikonli.weathericons.WeatherIcons; -import org.kordamp.ikonli.websymbols.Websymbols; -import org.kordamp.ikonli.whhg.WhhgAL; -import org.kordamp.ikonli.whhg.WhhgMZ; -import org.kordamp.ikonli.win10.Win10; -import org.kordamp.ikonli.zondicons.Zondicons; import java.net.URL; import java.util.EnumSet; +import java.util.Map; +import java.util.ServiceLoader; +import java.util.TreeMap; import static java.util.EnumSet.allOf; @@ -126,89 +47,15 @@ public void start(Stage primaryStage) throws Exception { URL location = getClass().getResource("sampler.fxml"); FXMLLoader fxmlLoader = new FXMLLoader(location); TabPane tabPane = fxmlLoader.load(); - tabPane.getTabs().add(new DemoTab(Bpmn.class, allOf(Bpmn.class))); - tabPane.getTabs().add(new DemoTab(Captainicon.class, allOf(Captainicon.class))); - tabPane.getTabs().add(new DemoTab(Codicons.class, allOf(Codicons.class))); - tabPane.getTabs().add(new DemoTab(CoreUiBrands.class, allOf(CoreUiBrands.class))); - tabPane.getTabs().add(new DemoTab(CoreUiFree.class, allOf(CoreUiFree.class))); - tabPane.getTabs().add(new DemoTab(Dashicons.class, allOf(Dashicons.class))); - tabPane.getTabs().add(new DemoTab(Devicons.class, allOf(Devicons.class))); - tabPane.getTabs().add(new DemoTab(Elusive.class, allOf(Elusive.class))); - tabPane.getTabs().add(new DemoTab(Entypo.class, allOf(Entypo.class))); - tabPane.getTabs().add(new DemoTab(Evaicons.class, allOf(Evaicons.class))); - tabPane.getTabs().add(new DemoTab(Feather.class, allOf(Feather.class))); - tabPane.getTabs().add(new DemoTab(FluentUiFilledAL.class, allOf(FluentUiFilledAL.class))); - tabPane.getTabs().add(new DemoTab(FluentUiFilledMZ.class, allOf(FluentUiFilledMZ.class))); - tabPane.getTabs().add(new DemoTab(FluentUiRegularAL.class, allOf(FluentUiRegularAL.class))); - tabPane.getTabs().add(new DemoTab(FluentUiRegularMZ.class, allOf(FluentUiRegularMZ.class))); - tabPane.getTabs().add(new DemoTab(FontAwesome.class, allOf(FontAwesome.class))); - tabPane.getTabs().add(new DemoTab(FontAwesomeBrands.class, allOf(FontAwesomeBrands.class))); - tabPane.getTabs().add(new DemoTab(FontAwesomeSolid.class, allOf(FontAwesomeSolid.class))); - tabPane.getTabs().add(new DemoTab(FontAwesomeRegular.class, allOf(FontAwesomeRegular.class))); - tabPane.getTabs().add(new DemoTab(Fontelico.class, allOf(Fontelico.class))); - tabPane.getTabs().add(new DemoTab(Foundation.class, allOf(Foundation.class))); - tabPane.getTabs().add(new DemoTab(HawconsFilled.class, allOf(HawconsFilled.class))); - tabPane.getTabs().add(new DemoTab(HawconsStroke.class, allOf(HawconsStroke.class))); - tabPane.getTabs().add(new DemoTab(Icomoon.class, allOf(Icomoon.class))); - tabPane.getTabs().add(new DemoTab(Ionicons4Material.class, allOf(Ionicons4Material.class))); - tabPane.getTabs().add(new DemoTab(Ionicons4IOS.class, allOf(Ionicons4IOS.class))); - tabPane.getTabs().add(new DemoTab(Ionicons4Logo.class, allOf(Ionicons4Logo.class))); - tabPane.getTabs().add(new DemoTab(Ionicons.class, allOf(Ionicons.class))); - tabPane.getTabs().add(new DemoTab(LigatureSymbols.class, allOf(LigatureSymbols.class))); - tabPane.getTabs().add(new DemoTab(LineAwesomeBrands.class, allOf(LineAwesomeBrands.class))); - tabPane.getTabs().add(new DemoTab(LineAwesomeSolid.class, allOf(LineAwesomeSolid.class))); - tabPane.getTabs().add(new DemoTab(LineAwesomeRegular.class, allOf(LineAwesomeRegular.class))); - tabPane.getTabs().add(new DemoTab(Linecons.class, allOf(Linecons.class))); - tabPane.getTabs().add(new DemoTab(Maki.class, allOf(Maki.class))); - tabPane.getTabs().add(new DemoTab(Maki2.class, allOf(Maki2.class))); - tabPane.getTabs().add(new DemoTab(Mapicons.class, allOf(Mapicons.class))); - tabPane.getTabs().add(new DemoTab(Material.class, allOf(Material.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignA.class, allOf(MaterialDesignA.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignB.class, allOf(MaterialDesignB.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignC.class, allOf(MaterialDesignC.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignD.class, allOf(MaterialDesignD.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignE.class, allOf(MaterialDesignE.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignF.class, allOf(MaterialDesignF.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignG.class, allOf(MaterialDesignG.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignH.class, allOf(MaterialDesignH.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignI.class, allOf(MaterialDesignI.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignJ.class, allOf(MaterialDesignJ.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignK.class, allOf(MaterialDesignK.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignL.class, allOf(MaterialDesignL.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignM.class, allOf(MaterialDesignM.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignN.class, allOf(MaterialDesignN.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignO.class, allOf(MaterialDesignO.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignP.class, allOf(MaterialDesignP.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignQ.class, allOf(MaterialDesignQ.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignR.class, allOf(MaterialDesignR.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignS.class, allOf(MaterialDesignS.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignT.class, allOf(MaterialDesignT.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignU.class, allOf(MaterialDesignU.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignV.class, allOf(MaterialDesignV.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignW.class, allOf(MaterialDesignW.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignX.class, allOf(MaterialDesignX.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignY.class, allOf(MaterialDesignY.class))); - tabPane.getTabs().add(new DemoTab(MaterialDesignZ.class, allOf(MaterialDesignZ.class))); - tabPane.getTabs().add(new DemoTab(Medicons.class, allOf(Medicons.class))); - tabPane.getTabs().add(new DemoTab(MetrizeIcons.class, allOf(MetrizeIcons.class))); - tabPane.getTabs().add(new DemoTab(Microns.class, allOf(Microns.class))); - tabPane.getTabs().add(new DemoTab(Ociicons.class, allOf(Ociicons.class))); - tabPane.getTabs().add(new DemoTab(Octicons.class, allOf(Octicons.class))); - tabPane.getTabs().add(new DemoTab(Openiconic.class, allOf(Openiconic.class))); - tabPane.getTabs().add(new DemoTab(PaymentFont.class, allOf(PaymentFont.class))); - tabPane.getTabs().add(new DemoTab(RemixiconAL.class, allOf(RemixiconAL.class))); - tabPane.getTabs().add(new DemoTab(RemixiconMZ.class, allOf(RemixiconMZ.class))); - tabPane.getTabs().add(new DemoTab(Runestroicons.class, allOf(Runestroicons.class))); - tabPane.getTabs().add(new DemoTab(SimpleIcons.class, allOf(SimpleIcons.class))); - tabPane.getTabs().add(new DemoTab(SimpleLineIcons.class, allOf(SimpleLineIcons.class))); - tabPane.getTabs().add(new DemoTab(Themify.class, allOf(Themify.class))); - tabPane.getTabs().add(new DemoTab(Typicons.class, allOf(Typicons.class))); - tabPane.getTabs().add(new DemoTab(WeatherIcons.class, allOf(WeatherIcons.class))); - tabPane.getTabs().add(new DemoTab(Websymbols.class, allOf(Websymbols.class))); - tabPane.getTabs().add(new DemoTab(WhhgAL.class, allOf(WhhgAL.class))); - tabPane.getTabs().add(new DemoTab(WhhgMZ.class, allOf(WhhgMZ.class))); - tabPane.getTabs().add(new DemoTab(Win10.class, allOf(Win10.class))); - tabPane.getTabs().add(new DemoTab(Zondicons.class, allOf(Zondicons.class))); + + Map ikons = new TreeMap<>(); + ServiceLoader providers = ServiceLoader.load(IkonProvider.class); + for (IkonProvider provider : providers) { + ikons.put(provider.getIkon().getSimpleName(), provider); + } + for (IkonProvider provider : ikons.values()) { + tabPane.getTabs().add(new DemoTab(provider.getIkon(), allOf(provider.getIkon()))); + } Scene scene = new Scene(tabPane); scene.getStylesheets().add("org/kordamp/ikonli/sampler/javafx/sampler.css"); diff --git a/apps/sampler-swing/src/main/java/module-info.java b/apps/sampler-swing/src/main/java/module-info.java index c3c894dd7..2968357bc 100644 --- a/apps/sampler-swing/src/main/java/module-info.java +++ b/apps/sampler-swing/src/main/java/module-info.java @@ -66,4 +66,5 @@ requires org.kordamp.ikonli.win10; requires org.kordamp.ikonli.zondicons; uses org.kordamp.ikonli.IkonHandler; + uses org.kordamp.ikonli.IkonProvider; } diff --git a/apps/sampler-swing/src/main/java/org/kordamp/ikonli/sampler/swing/Sampler.java b/apps/sampler-swing/src/main/java/org/kordamp/ikonli/sampler/swing/Sampler.java index 5e51973a2..58a734e62 100644 --- a/apps/sampler-swing/src/main/java/org/kordamp/ikonli/sampler/swing/Sampler.java +++ b/apps/sampler-swing/src/main/java/org/kordamp/ikonli/sampler/swing/Sampler.java @@ -18,94 +18,15 @@ package org.kordamp.ikonli.sampler.swing; import org.kordamp.ikonli.Ikon; -import org.kordamp.ikonli.bpmn.Bpmn; -import org.kordamp.ikonli.captainicon.Captainicon; -import org.kordamp.ikonli.codicons.Codicons; -import org.kordamp.ikonli.coreui.CoreUiBrands; -import org.kordamp.ikonli.coreui.CoreUiFree; -import org.kordamp.ikonli.dashicons.Dashicons; -import org.kordamp.ikonli.devicons.Devicons; -import org.kordamp.ikonli.elusive.Elusive; -import org.kordamp.ikonli.entypo.Entypo; -import org.kordamp.ikonli.evaicons.Evaicons; -import org.kordamp.ikonli.feather.Feather; -import org.kordamp.ikonli.fluentui.FluentUiFilledAL; -import org.kordamp.ikonli.fluentui.FluentUiFilledMZ; -import org.kordamp.ikonli.fluentui.FluentUiRegularAL; -import org.kordamp.ikonli.fluentui.FluentUiRegularMZ; -import org.kordamp.ikonli.fontawesome.FontAwesome; -import org.kordamp.ikonli.fontawesome5.FontAwesomeBrands; -import org.kordamp.ikonli.fontawesome5.FontAwesomeRegular; -import org.kordamp.ikonli.fontawesome5.FontAwesomeSolid; -import org.kordamp.ikonli.fontelico.Fontelico; -import org.kordamp.ikonli.foundation.Foundation; -import org.kordamp.ikonli.hawconsfilled.HawconsFilled; -import org.kordamp.ikonli.hawconsstroke.HawconsStroke; -import org.kordamp.ikonli.icomoon.Icomoon; -import org.kordamp.ikonli.ionicons.Ionicons; -import org.kordamp.ikonli.ionicons4.Ionicons4IOS; -import org.kordamp.ikonli.ionicons4.Ionicons4Logo; -import org.kordamp.ikonli.ionicons4.Ionicons4Material; -import org.kordamp.ikonli.ligaturesymbols.LigatureSymbols; -import org.kordamp.ikonli.lineawesome.LineAwesomeBrands; -import org.kordamp.ikonli.lineawesome.LineAwesomeRegular; -import org.kordamp.ikonli.lineawesome.LineAwesomeSolid; -import org.kordamp.ikonli.linecons.Linecons; -import org.kordamp.ikonli.maki.Maki; -import org.kordamp.ikonli.maki2.Maki2; -import org.kordamp.ikonli.mapicons.Mapicons; -import org.kordamp.ikonli.material.Material; -import org.kordamp.ikonli.materialdesign.MaterialDesignA; -import org.kordamp.ikonli.materialdesign.MaterialDesignB; -import org.kordamp.ikonli.materialdesign.MaterialDesignC; -import org.kordamp.ikonli.materialdesign.MaterialDesignD; -import org.kordamp.ikonli.materialdesign.MaterialDesignE; -import org.kordamp.ikonli.materialdesign.MaterialDesignF; -import org.kordamp.ikonli.materialdesign.MaterialDesignG; -import org.kordamp.ikonli.materialdesign.MaterialDesignH; -import org.kordamp.ikonli.materialdesign.MaterialDesignI; -import org.kordamp.ikonli.materialdesign.MaterialDesignJ; -import org.kordamp.ikonli.materialdesign.MaterialDesignK; -import org.kordamp.ikonli.materialdesign.MaterialDesignL; -import org.kordamp.ikonli.materialdesign.MaterialDesignM; -import org.kordamp.ikonli.materialdesign.MaterialDesignN; -import org.kordamp.ikonli.materialdesign.MaterialDesignO; -import org.kordamp.ikonli.materialdesign.MaterialDesignP; -import org.kordamp.ikonli.materialdesign.MaterialDesignQ; -import org.kordamp.ikonli.materialdesign.MaterialDesignR; -import org.kordamp.ikonli.materialdesign.MaterialDesignS; -import org.kordamp.ikonli.materialdesign.MaterialDesignT; -import org.kordamp.ikonli.materialdesign.MaterialDesignU; -import org.kordamp.ikonli.materialdesign.MaterialDesignV; -import org.kordamp.ikonli.materialdesign.MaterialDesignW; -import org.kordamp.ikonli.materialdesign.MaterialDesignX; -import org.kordamp.ikonli.materialdesign.MaterialDesignY; -import org.kordamp.ikonli.materialdesign.MaterialDesignZ; -import org.kordamp.ikonli.medicons.Medicons; -import org.kordamp.ikonli.metrizeicons.MetrizeIcons; -import org.kordamp.ikonli.microns.Microns; -import org.kordamp.ikonli.ociicons.Ociicons; -import org.kordamp.ikonli.octicons.Octicons; -import org.kordamp.ikonli.openiconic.Openiconic; -import org.kordamp.ikonli.paymentfont.PaymentFont; -import org.kordamp.ikonli.remixicon.RemixiconAL; -import org.kordamp.ikonli.remixicon.RemixiconMZ; -import org.kordamp.ikonli.runestroicons.Runestroicons; -import org.kordamp.ikonli.simpleicons.SimpleIcons; -import org.kordamp.ikonli.simplelineicons.SimpleLineIcons; +import org.kordamp.ikonli.IkonProvider; import org.kordamp.ikonli.swing.FontIcon; -import org.kordamp.ikonli.themify.Themify; -import org.kordamp.ikonli.typicons.Typicons; -import org.kordamp.ikonli.weathericons.WeatherIcons; -import org.kordamp.ikonli.websymbols.Websymbols; -import org.kordamp.ikonli.whhg.WhhgAL; -import org.kordamp.ikonli.whhg.WhhgMZ; -import org.kordamp.ikonli.win10.Win10; -import org.kordamp.ikonli.zondicons.Zondicons; import javax.swing.*; import java.awt.*; import java.util.EnumSet; +import java.util.Map; +import java.util.ServiceLoader; +import java.util.TreeMap; import static java.util.EnumSet.allOf; @@ -120,92 +41,14 @@ public static void main(String[] args) { private static void launch() { JTabbedPane tabPane = new JTabbedPane(); - createTab(tabPane, Bpmn.class, new DemoTab(allOf(Bpmn.class))); - createTab(tabPane, Captainicon.class, new DemoTab(allOf(Captainicon.class))); - createTab(tabPane, Codicons.class, new DemoTab(allOf(Codicons.class))); - createTab(tabPane, CoreUiBrands.class, new DemoTab(allOf(CoreUiBrands.class))); - createTab(tabPane, CoreUiFree.class, new DemoTab(allOf(CoreUiFree.class))); - createTab(tabPane, Dashicons.class, new DemoTab(allOf(Dashicons.class))); - createTab(tabPane, Devicons.class, new DemoTab(allOf(Devicons.class))); - createTab(tabPane, Elusive.class, new DemoTab(allOf(Elusive.class))); - createTab(tabPane, Entypo.class, new DemoTab(allOf(Entypo.class))); - createTab(tabPane, Evaicons.class, new DemoTab(allOf(Evaicons.class))); - createTab(tabPane, Feather.class, new DemoTab(allOf(Feather.class))); - createTab(tabPane, FluentUiFilledAL.class, new DemoTab(allOf(FluentUiFilledAL.class))); - createTab(tabPane, FluentUiFilledMZ.class, new DemoTab(allOf(FluentUiFilledMZ.class))); - createTab(tabPane, FluentUiRegularAL.class, new DemoTab(allOf(FluentUiRegularAL.class))); - createTab(tabPane, FluentUiRegularMZ.class, new DemoTab(allOf(FluentUiRegularMZ.class))); - createTab(tabPane, FontAwesome.class, new DemoTab(allOf(FontAwesome.class))); - createTab(tabPane, FontAwesomeBrands.class, new DemoTab(allOf(FontAwesomeBrands.class))); - createTab(tabPane, FontAwesomeSolid.class, new DemoTab(allOf(FontAwesomeSolid.class))); - createTab(tabPane, FontAwesomeRegular.class, new DemoTab(allOf(FontAwesomeRegular.class))); - createTab(tabPane, Fontelico.class, new DemoTab(allOf(Fontelico.class))); - createTab(tabPane, Foundation.class, new DemoTab(allOf(Foundation.class))); - createTab(tabPane, HawconsFilled.class, new DemoTab(allOf(HawconsFilled.class))); - createTab(tabPane, HawconsStroke.class, new DemoTab(allOf(HawconsStroke.class))); - createTab(tabPane, Icomoon.class, new DemoTab(allOf(Icomoon.class))); - createTab(tabPane, Ionicons4IOS.class, new DemoTab(allOf(Ionicons4IOS.class))); - createTab(tabPane, Ionicons4Material.class, new DemoTab(allOf(Ionicons4Material.class))); - createTab(tabPane, Ionicons4Logo.class, new DemoTab(allOf(Ionicons4Logo.class))); - createTab(tabPane, Ionicons.class, new DemoTab(allOf(Ionicons.class))); - createTab(tabPane, Ionicons4Material.class, new DemoTab(allOf(Ionicons4Material.class))); - createTab(tabPane, Ionicons4IOS.class, new DemoTab(allOf(Ionicons4IOS.class))); - createTab(tabPane, Ionicons4Logo.class, new DemoTab(allOf(Ionicons4Logo.class))); - createTab(tabPane, LigatureSymbols.class, new DemoTab(allOf(LigatureSymbols.class))); - createTab(tabPane, LineAwesomeBrands.class, new DemoTab(allOf(LineAwesomeBrands.class))); - createTab(tabPane, LineAwesomeSolid.class, new DemoTab(allOf(LineAwesomeSolid.class))); - createTab(tabPane, LineAwesomeRegular.class, new DemoTab(allOf(LineAwesomeRegular.class))); - createTab(tabPane, Linecons.class, new DemoTab(allOf(Linecons.class))); - createTab(tabPane, Maki.class, new DemoTab(allOf(Maki.class))); - createTab(tabPane, Maki2.class, new DemoTab(allOf(Maki2.class))); - createTab(tabPane, Mapicons.class, new DemoTab(allOf(Mapicons.class))); - createTab(tabPane, Material.class, new DemoTab(allOf(Material.class))); - createTab(tabPane, MaterialDesignA.class, new DemoTab(allOf(MaterialDesignA.class))); - createTab(tabPane, MaterialDesignB.class, new DemoTab(allOf(MaterialDesignB.class))); - createTab(tabPane, MaterialDesignC.class, new DemoTab(allOf(MaterialDesignC.class))); - createTab(tabPane, MaterialDesignD.class, new DemoTab(allOf(MaterialDesignD.class))); - createTab(tabPane, MaterialDesignE.class, new DemoTab(allOf(MaterialDesignE.class))); - createTab(tabPane, MaterialDesignF.class, new DemoTab(allOf(MaterialDesignF.class))); - createTab(tabPane, MaterialDesignG.class, new DemoTab(allOf(MaterialDesignG.class))); - createTab(tabPane, MaterialDesignH.class, new DemoTab(allOf(MaterialDesignH.class))); - createTab(tabPane, MaterialDesignI.class, new DemoTab(allOf(MaterialDesignI.class))); - createTab(tabPane, MaterialDesignJ.class, new DemoTab(allOf(MaterialDesignJ.class))); - createTab(tabPane, MaterialDesignK.class, new DemoTab(allOf(MaterialDesignK.class))); - createTab(tabPane, MaterialDesignL.class, new DemoTab(allOf(MaterialDesignL.class))); - createTab(tabPane, MaterialDesignM.class, new DemoTab(allOf(MaterialDesignM.class))); - createTab(tabPane, MaterialDesignN.class, new DemoTab(allOf(MaterialDesignN.class))); - createTab(tabPane, MaterialDesignO.class, new DemoTab(allOf(MaterialDesignO.class))); - createTab(tabPane, MaterialDesignP.class, new DemoTab(allOf(MaterialDesignP.class))); - createTab(tabPane, MaterialDesignQ.class, new DemoTab(allOf(MaterialDesignQ.class))); - createTab(tabPane, MaterialDesignR.class, new DemoTab(allOf(MaterialDesignR.class))); - createTab(tabPane, MaterialDesignS.class, new DemoTab(allOf(MaterialDesignS.class))); - createTab(tabPane, MaterialDesignT.class, new DemoTab(allOf(MaterialDesignT.class))); - createTab(tabPane, MaterialDesignU.class, new DemoTab(allOf(MaterialDesignU.class))); - createTab(tabPane, MaterialDesignV.class, new DemoTab(allOf(MaterialDesignV.class))); - createTab(tabPane, MaterialDesignW.class, new DemoTab(allOf(MaterialDesignW.class))); - createTab(tabPane, MaterialDesignX.class, new DemoTab(allOf(MaterialDesignX.class))); - createTab(tabPane, MaterialDesignY.class, new DemoTab(allOf(MaterialDesignY.class))); - createTab(tabPane, MaterialDesignZ.class, new DemoTab(allOf(MaterialDesignZ.class))); - createTab(tabPane, Medicons.class, new DemoTab(allOf(Medicons.class))); - createTab(tabPane, MetrizeIcons.class, new DemoTab(allOf(MetrizeIcons.class))); - createTab(tabPane, Microns.class, new DemoTab(allOf(Microns.class))); - createTab(tabPane, Ociicons.class, new DemoTab(allOf(Ociicons.class))); - createTab(tabPane, Octicons.class, new DemoTab(allOf(Octicons.class))); - createTab(tabPane, Openiconic.class, new DemoTab(allOf(Openiconic.class))); - createTab(tabPane, PaymentFont.class, new DemoTab(allOf(PaymentFont.class))); - createTab(tabPane, RemixiconAL.class, new DemoTab(allOf(RemixiconAL.class))); - createTab(tabPane, RemixiconMZ.class, new DemoTab(allOf(RemixiconMZ.class))); - createTab(tabPane, Runestroicons.class, new DemoTab(allOf(Runestroicons.class))); - createTab(tabPane, SimpleIcons.class, new DemoTab(allOf(SimpleIcons.class))); - createTab(tabPane, SimpleLineIcons.class, new DemoTab(allOf(SimpleLineIcons.class))); - createTab(tabPane, Typicons.class, new DemoTab(allOf(Typicons.class))); - createTab(tabPane, Themify.class, new DemoTab(allOf(Themify.class))); - createTab(tabPane, WeatherIcons.class, new DemoTab(allOf(WeatherIcons.class))); - createTab(tabPane, Websymbols.class, new DemoTab(allOf(Websymbols.class))); - createTab(tabPane, WhhgAL.class, new DemoTab(allOf(WhhgAL.class))); - createTab(tabPane, WhhgMZ.class, new DemoTab(allOf(WhhgMZ.class))); - createTab(tabPane, Win10.class, new DemoTab(allOf(Win10.class))); - createTab(tabPane, Zondicons.class, new DemoTab(allOf(Zondicons.class))); + Map ikons = new TreeMap<>(); + ServiceLoader providers = ServiceLoader.load(IkonProvider.class); + for (IkonProvider provider : providers) { + ikons.put(provider.getIkon().getSimpleName(), provider); + } + for (IkonProvider provider : ikons.values()) { + createTab(tabPane, provider.getIkon(), new DemoTab(allOf(provider.getIkon()))); + } JFrame frame = new JFrame("Ikonli Sampler"); frame.add(tabPane); diff --git a/core/ikonli-core/ikonli-core.gradle b/core/ikonli-core/ikonli-core.gradle index 8372b0637..9a6f6518f 100644 --- a/core/ikonli-core/ikonli-core.gradle +++ b/core/ikonli-core/ikonli-core.gradle @@ -15,3 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +dependencies { + compileOnly "org.kordamp.jipsy:jipsy:${jipsyVersion}" + annotationProcessor "org.kordamp.jipsy:jipsy:${jipsyVersion}" +} \ No newline at end of file diff --git a/core/ikonli-core/src/main/java/module-info.java b/core/ikonli-core/src/main/java/module-info.java index f214e744a..e3884a1cb 100644 --- a/core/ikonli-core/src/main/java/module-info.java +++ b/core/ikonli-core/src/main/java/module-info.java @@ -17,8 +17,11 @@ */ module org.kordamp.ikonli.core { exports org.kordamp.ikonli; + requires static org.kordamp.jipsy; requires java.logging; provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.IkonliIkonResolver; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.IkonliIkonProvider; } \ No newline at end of file diff --git a/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonProvider.java b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonProvider.java new file mode 100644 index 000000000..cedcf60b8 --- /dev/null +++ b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonProvider.java @@ -0,0 +1,25 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli; + +/** + * @author Andres Almiray + */ +public interface IkonProvider { + Class getIkon(); +} \ No newline at end of file diff --git a/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonProvider.java b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonProvider.java new file mode 100644 index 000000000..8bee3a099 --- /dev/null +++ b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonProvider.java @@ -0,0 +1,31 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli; + +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class IkonliIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ikonli.class; + } +} \ No newline at end of file diff --git a/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonResolver.java b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonResolver.java index a8eb568a8..86bc0d4b8 100644 --- a/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonResolver.java +++ b/core/ikonli-core/src/main/java/org/kordamp/ikonli/IkonliIkonResolver.java @@ -17,9 +17,12 @@ */ package org.kordamp.ikonli; +import org.kordamp.jipsy.ServiceProviderFor; + /** * @author Andres Almiray */ +@ServiceProviderFor(IkonHandler.class) public class IkonliIkonResolver extends AbstractIkonHandler { @Override public boolean supports(String description) { diff --git a/core/ikonli-core/src/main/resources/META-INF/services/org.kordamp.ikonli.IkonHandler b/core/ikonli-core/src/main/resources/META-INF/services/org.kordamp.ikonli.IkonHandler deleted file mode 100644 index 651561ad4..000000000 --- a/core/ikonli-core/src/main/resources/META-INF/services/org.kordamp.ikonli.IkonHandler +++ /dev/null @@ -1 +0,0 @@ -org.kordamp.ikonli.IkonliIkonResolver \ No newline at end of file diff --git a/icon-packs/ikonli-bpmn-pack/src/main/java/module-info.java b/icon-packs/ikonli-bpmn-pack/src/main/java/module-info.java index db4f5e353..cde261500 100644 --- a/icon-packs/ikonli-bpmn-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-bpmn-pack/src/main/java/module-info.java @@ -1,5 +1,3 @@ -import org.kordamp.ikonli.bpmn.BpmnIkonHandler; - /* * SPDX-License-Identifier: Apache-2.0 * @@ -23,5 +21,7 @@ exports org.kordamp.ikonli.bpmn; provides org.kordamp.ikonli.IkonHandler - with BpmnIkonHandler; + with org.kordamp.ikonli.bpmn.BpmnIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.bpmn.BpmnIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-bpmn-pack/src/main/java/org/kordamp/ikonli/bpmn/BpmnIkonProvider.java b/icon-packs/ikonli-bpmn-pack/src/main/java/org/kordamp/ikonli/bpmn/BpmnIkonProvider.java new file mode 100644 index 000000000..66caeeef8 --- /dev/null +++ b/icon-packs/ikonli-bpmn-pack/src/main/java/org/kordamp/ikonli/bpmn/BpmnIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.bpmn; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class BpmnIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Bpmn.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-captainicon-pack/src/main/java/module-info.java b/icon-packs/ikonli-captainicon-pack/src/main/java/module-info.java index 65bee8502..06f5783d0 100644 --- a/icon-packs/ikonli-captainicon-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-captainicon-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.captainicon.CaptainiconIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.captainicon.CaptainiconIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-captainicon-pack/src/main/java/org/kordamp/ikonli/captainicon/CaptainiconIkonProvider.java b/icon-packs/ikonli-captainicon-pack/src/main/java/org/kordamp/ikonli/captainicon/CaptainiconIkonProvider.java new file mode 100644 index 000000000..ca0a3d3ce --- /dev/null +++ b/icon-packs/ikonli-captainicon-pack/src/main/java/org/kordamp/ikonli/captainicon/CaptainiconIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.captainicon; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class CaptainiconIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Captainicon.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-codicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-codicons-pack/src/main/java/module-info.java index 08a9fa9b0..83e768206 100644 --- a/icon-packs/ikonli-codicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-codicons-pack/src/main/java/module-info.java @@ -1,5 +1,3 @@ -import org.kordamp.ikonli.codicons.CodiconsIkonHandler; - /* * SPDX-License-Identifier: Apache-2.0 * @@ -23,5 +21,7 @@ exports org.kordamp.ikonli.codicons; provides org.kordamp.ikonli.IkonHandler - with CodiconsIkonHandler; + with org.kordamp.ikonli.codicons.CodiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.codicons.CodiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-codicons-pack/src/main/java/org/kordamp/ikonli/codicons/CodiconsIkonProvider.java b/icon-packs/ikonli-codicons-pack/src/main/java/org/kordamp/ikonli/codicons/CodiconsIkonProvider.java new file mode 100644 index 000000000..593931150 --- /dev/null +++ b/icon-packs/ikonli-codicons-pack/src/main/java/org/kordamp/ikonli/codicons/CodiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.codicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class CodiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Codicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-coreui-pack/src/main/java/module-info.java b/icon-packs/ikonli-coreui-pack/src/main/java/module-info.java index c05f159e7..3d474f334 100644 --- a/icon-packs/ikonli-coreui-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-coreui-pack/src/main/java/module-info.java @@ -23,4 +23,7 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.coreui.CoreUiBrandsIkonHandler, org.kordamp.ikonli.coreui.CoreUiFreeIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.coreui.CoreUiBrandsIkonProvider, + org.kordamp.ikonli.coreui.CoreUiFreeIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiBrandsIkonProvider.java b/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiBrandsIkonProvider.java new file mode 100644 index 000000000..51eba47b1 --- /dev/null +++ b/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiBrandsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.coreui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class CoreUiBrandsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return CoreUiBrands.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiFreeIkonProvider.java b/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiFreeIkonProvider.java new file mode 100644 index 000000000..23be6e9a5 --- /dev/null +++ b/icon-packs/ikonli-coreui-pack/src/main/java/org/kordamp/ikonli/coreui/CoreUiFreeIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.coreui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class CoreUiFreeIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return CoreUiFree.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-dashicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-dashicons-pack/src/main/java/module-info.java index 337d161e4..b509df3bd 100644 --- a/icon-packs/ikonli-dashicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-dashicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.dashicons.DashiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.dashicons.DashiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-dashicons-pack/src/main/java/org/kordamp/ikonli/dashicons/DashiconsIkonProvider.java b/icon-packs/ikonli-dashicons-pack/src/main/java/org/kordamp/ikonli/dashicons/DashiconsIkonProvider.java new file mode 100644 index 000000000..663287fe3 --- /dev/null +++ b/icon-packs/ikonli-dashicons-pack/src/main/java/org/kordamp/ikonli/dashicons/DashiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.dashicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class DashiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Dashicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-devicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-devicons-pack/src/main/java/module-info.java index 880a7ce3f..352bea423 100644 --- a/icon-packs/ikonli-devicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-devicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.devicons.DeviconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.devicons.DeviconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-devicons-pack/src/main/java/org/kordamp/ikonli/devicons/DeviconsIkonProvider.java b/icon-packs/ikonli-devicons-pack/src/main/java/org/kordamp/ikonli/devicons/DeviconsIkonProvider.java new file mode 100644 index 000000000..b990ed3ea --- /dev/null +++ b/icon-packs/ikonli-devicons-pack/src/main/java/org/kordamp/ikonli/devicons/DeviconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.devicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class DeviconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Devicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-elusive-pack/src/main/java/module-info.java b/icon-packs/ikonli-elusive-pack/src/main/java/module-info.java index 23ca9d850..12a9d7f62 100644 --- a/icon-packs/ikonli-elusive-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-elusive-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.elusive.ElusiveIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.elusive.ElusiveIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-elusive-pack/src/main/java/org/kordamp/ikonli/elusive/ElusiveIkonProvider.java b/icon-packs/ikonli-elusive-pack/src/main/java/org/kordamp/ikonli/elusive/ElusiveIkonProvider.java new file mode 100644 index 000000000..4efc11313 --- /dev/null +++ b/icon-packs/ikonli-elusive-pack/src/main/java/org/kordamp/ikonli/elusive/ElusiveIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.elusive; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class ElusiveIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Elusive.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-entypo-pack/src/main/java/module-info.java b/icon-packs/ikonli-entypo-pack/src/main/java/module-info.java index dae8317d1..d65c57bb4 100644 --- a/icon-packs/ikonli-entypo-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-entypo-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.entypo.EntypoIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.entypo.EntypoIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-entypo-pack/src/main/java/org/kordamp/ikonli/entypo/EntypoIkonProvider.java b/icon-packs/ikonli-entypo-pack/src/main/java/org/kordamp/ikonli/entypo/EntypoIkonProvider.java new file mode 100644 index 000000000..eed9bc663 --- /dev/null +++ b/icon-packs/ikonli-entypo-pack/src/main/java/org/kordamp/ikonli/entypo/EntypoIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.entypo; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class EntypoIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Entypo.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-evaicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-evaicons-pack/src/main/java/module-info.java index 8b3043687..a8e2b9c7b 100644 --- a/icon-packs/ikonli-evaicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-evaicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.evaicons.EvaiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.evaicons.EvaiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-evaicons-pack/src/main/java/org/kordamp/ikonli/evaicons/EvaiconsIkonProvider.java b/icon-packs/ikonli-evaicons-pack/src/main/java/org/kordamp/ikonli/evaicons/EvaiconsIkonProvider.java new file mode 100644 index 000000000..dc81db370 --- /dev/null +++ b/icon-packs/ikonli-evaicons-pack/src/main/java/org/kordamp/ikonli/evaicons/EvaiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.evaicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class EvaiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Evaicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-feather-pack/src/main/java/module-info.java b/icon-packs/ikonli-feather-pack/src/main/java/module-info.java index 78917677b..43a4f605e 100644 --- a/icon-packs/ikonli-feather-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-feather-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.feather.FeatherIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.feather.FeatherIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-feather-pack/src/main/java/org/kordamp/ikonli/feather/FeatherIkonProvider.java b/icon-packs/ikonli-feather-pack/src/main/java/org/kordamp/ikonli/feather/FeatherIkonProvider.java new file mode 100644 index 000000000..80ef7cf14 --- /dev/null +++ b/icon-packs/ikonli-feather-pack/src/main/java/org/kordamp/ikonli/feather/FeatherIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.feather; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FeatherIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Feather.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fluentui-pack/src/main/java/module-info.java b/icon-packs/ikonli-fluentui-pack/src/main/java/module-info.java index c3c00686c..b843f5ced 100644 --- a/icon-packs/ikonli-fluentui-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-fluentui-pack/src/main/java/module-info.java @@ -25,4 +25,9 @@ org.kordamp.ikonli.fluentui.FluentUiFilledMZIkonHandler, org.kordamp.ikonli.fluentui.FluentUiRegularALIkonHandler, org.kordamp.ikonli.fluentui.FluentUiRegularMZIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.fluentui.FluentUiFilledALIkonProvider, + org.kordamp.ikonli.fluentui.FluentUiFilledMZIkonProvider, + org.kordamp.ikonli.fluentui.FluentUiRegularALIkonProvider, + org.kordamp.ikonli.fluentui.FluentUiRegularMZIkonProvider; } diff --git a/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledALIkonProvider.java b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledALIkonProvider.java new file mode 100644 index 000000000..475911986 --- /dev/null +++ b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledALIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fluentui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FluentUiFilledALIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FluentUiFilledAL.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledMZIkonProvider.java b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledMZIkonProvider.java new file mode 100644 index 000000000..38dad1338 --- /dev/null +++ b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiFilledMZIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fluentui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FluentUiFilledMZIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FluentUiFilledMZ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularALIkonProvider.java b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularALIkonProvider.java new file mode 100644 index 000000000..8f4f02a65 --- /dev/null +++ b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularALIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fluentui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FluentUiRegularALIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FluentUiRegularAL.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularMZIkonProvider.java b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularMZIkonProvider.java new file mode 100644 index 000000000..95fb3a517 --- /dev/null +++ b/icon-packs/ikonli-fluentui-pack/src/main/java/org/kordamp/ikonli/fluentui/FluentUiRegularMZIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fluentui; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FluentUiRegularMZIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FluentUiRegularMZ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome-pack/src/main/java/module-info.java b/icon-packs/ikonli-fontawesome-pack/src/main/java/module-info.java index 7d48aba46..9707d242b 100644 --- a/icon-packs/ikonli-fontawesome-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-fontawesome-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.fontawesome.FontAwesomeIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.fontawesome.FontAwesomeIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome-pack/src/main/java/org/kordamp/ikonli/fontawesome/FontAwesomeIkonProvider.java b/icon-packs/ikonli-fontawesome-pack/src/main/java/org/kordamp/ikonli/fontawesome/FontAwesomeIkonProvider.java new file mode 100644 index 000000000..827bb41e6 --- /dev/null +++ b/icon-packs/ikonli-fontawesome-pack/src/main/java/org/kordamp/ikonli/fontawesome/FontAwesomeIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fontawesome; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FontAwesomeIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FontAwesome.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome5-pack/src/main/java/module-info.java b/icon-packs/ikonli-fontawesome5-pack/src/main/java/module-info.java index 124a900c4..f7d3cafd7 100644 --- a/icon-packs/ikonli-fontawesome5-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-fontawesome5-pack/src/main/java/module-info.java @@ -24,4 +24,8 @@ with org.kordamp.ikonli.fontawesome5.FontAwesomeBrandsIkonHandler, org.kordamp.ikonli.fontawesome5.FontAwesomeRegularIkonHandler, org.kordamp.ikonli.fontawesome5.FontAwesomeSolidIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.fontawesome5.FontAwesomeBrandsIkonProvider, + org.kordamp.ikonli.fontawesome5.FontAwesomeRegularIkonProvider, + org.kordamp.ikonli.fontawesome5.FontAwesomeSolidIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeBrandsIkonProvider.java b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeBrandsIkonProvider.java new file mode 100644 index 000000000..d08fdf175 --- /dev/null +++ b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeBrandsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fontawesome5; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FontAwesomeBrandsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FontAwesomeBrands.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeRegularIkonProvider.java b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeRegularIkonProvider.java new file mode 100644 index 000000000..53849c865 --- /dev/null +++ b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeRegularIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fontawesome5; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FontAwesomeRegularIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FontAwesomeRegular.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeSolidIkonProvider.java b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeSolidIkonProvider.java new file mode 100644 index 000000000..ebc0b9110 --- /dev/null +++ b/icon-packs/ikonli-fontawesome5-pack/src/main/java/org/kordamp/ikonli/fontawesome5/FontAwesomeSolidIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fontawesome5; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FontAwesomeSolidIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return FontAwesomeSolid.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-fontelico-pack/src/main/java/module-info.java b/icon-packs/ikonli-fontelico-pack/src/main/java/module-info.java index 8c194c54a..908300685 100644 --- a/icon-packs/ikonli-fontelico-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-fontelico-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.fontelico.FontelicoIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.fontelico.FontelicoIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-fontelico-pack/src/main/java/org/kordamp/ikonli/fontelico/FontelicoIkonProvider.java b/icon-packs/ikonli-fontelico-pack/src/main/java/org/kordamp/ikonli/fontelico/FontelicoIkonProvider.java new file mode 100644 index 000000000..73f343f84 --- /dev/null +++ b/icon-packs/ikonli-fontelico-pack/src/main/java/org/kordamp/ikonli/fontelico/FontelicoIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.fontelico; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FontelicoIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Fontelico.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-foundation-pack/src/main/java/module-info.java b/icon-packs/ikonli-foundation-pack/src/main/java/module-info.java index 392fcde40..4a8d2ae94 100644 --- a/icon-packs/ikonli-foundation-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-foundation-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.foundation.FoundationIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.foundation.FoundationIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-foundation-pack/src/main/java/org/kordamp/ikonli/foundation/FoundationIkonProvider.java b/icon-packs/ikonli-foundation-pack/src/main/java/org/kordamp/ikonli/foundation/FoundationIkonProvider.java new file mode 100644 index 000000000..f556faac7 --- /dev/null +++ b/icon-packs/ikonli-foundation-pack/src/main/java/org/kordamp/ikonli/foundation/FoundationIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.foundation; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class FoundationIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Foundation.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-hawconsfilled-pack/src/main/java/module-info.java b/icon-packs/ikonli-hawconsfilled-pack/src/main/java/module-info.java index 4c6c8e5e1..e260e5c8d 100644 --- a/icon-packs/ikonli-hawconsfilled-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-hawconsfilled-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.hawconsfilled.HawconsFilledIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.hawconsfilled.HawconsFilledIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-hawconsfilled-pack/src/main/java/org/kordamp/ikonli/hawconsfilled/HawconsFilledIkonProvider.java b/icon-packs/ikonli-hawconsfilled-pack/src/main/java/org/kordamp/ikonli/hawconsfilled/HawconsFilledIkonProvider.java new file mode 100644 index 000000000..24e041ead --- /dev/null +++ b/icon-packs/ikonli-hawconsfilled-pack/src/main/java/org/kordamp/ikonli/hawconsfilled/HawconsFilledIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.hawconsfilled; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class HawconsFilledIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return HawconsFilled.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-hawconsstroke-pack/src/main/java/module-info.java b/icon-packs/ikonli-hawconsstroke-pack/src/main/java/module-info.java index e6c98d506..62d4372f1 100644 --- a/icon-packs/ikonli-hawconsstroke-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-hawconsstroke-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.hawconsstroke.HawconsStrokeIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.hawconsstroke.HawconsStrokeIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-hawconsstroke-pack/src/main/java/org/kordamp/ikonli/hawconsstroke/HawconsStrokeIkonProvider.java b/icon-packs/ikonli-hawconsstroke-pack/src/main/java/org/kordamp/ikonli/hawconsstroke/HawconsStrokeIkonProvider.java new file mode 100644 index 000000000..23aa6b32b --- /dev/null +++ b/icon-packs/ikonli-hawconsstroke-pack/src/main/java/org/kordamp/ikonli/hawconsstroke/HawconsStrokeIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.hawconsstroke; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class HawconsStrokeIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return HawconsStroke.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-icomoon-pack/src/main/java/module-info.java b/icon-packs/ikonli-icomoon-pack/src/main/java/module-info.java index 98101dd39..4720d70b5 100644 --- a/icon-packs/ikonli-icomoon-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-icomoon-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.icomoon.IcomoonIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.icomoon.IcomoonIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-icomoon-pack/src/main/java/org/kordamp/ikonli/icomoon/IcomoonIkonProvider.java b/icon-packs/ikonli-icomoon-pack/src/main/java/org/kordamp/ikonli/icomoon/IcomoonIkonProvider.java new file mode 100644 index 000000000..e3994f80b --- /dev/null +++ b/icon-packs/ikonli-icomoon-pack/src/main/java/org/kordamp/ikonli/icomoon/IcomoonIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.icomoon; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class IcomoonIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Icomoon.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-ionicons-pack/src/main/java/module-info.java index f6d0b8c88..d536f4900 100644 --- a/icon-packs/ikonli-ionicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-ionicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.ionicons.IoniconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.ionicons.IoniconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons-pack/src/main/java/org/kordamp/ikonli/ionicons/IoniconsIkonProvider.java b/icon-packs/ikonli-ionicons-pack/src/main/java/org/kordamp/ikonli/ionicons/IoniconsIkonProvider.java new file mode 100644 index 000000000..1225a0a2f --- /dev/null +++ b/icon-packs/ikonli-ionicons-pack/src/main/java/org/kordamp/ikonli/ionicons/IoniconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ionicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class IoniconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ionicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons4-pack/src/main/java/module-info.java b/icon-packs/ikonli-ionicons4-pack/src/main/java/module-info.java index 22b393fe7..c52ac65ba 100644 --- a/icon-packs/ikonli-ionicons4-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-ionicons4-pack/src/main/java/module-info.java @@ -24,4 +24,8 @@ with org.kordamp.ikonli.ionicons4.Ionicons4IOSIkonHandler, org.kordamp.ikonli.ionicons4.Ionicons4LogoIkonHandler, org.kordamp.ikonli.ionicons4.Ionicons4MaterialIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.ionicons4.Ionicons4IOSIkonProvider, + org.kordamp.ikonli.ionicons4.Ionicons4LogoIkonProvider, + org.kordamp.ikonli.ionicons4.Ionicons4MaterialIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4IOSIkonProvider.java b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4IOSIkonProvider.java new file mode 100644 index 000000000..75e030eb4 --- /dev/null +++ b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4IOSIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ionicons4; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class Ionicons4IOSIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ionicons4IOS.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4LogoIkonProvider.java b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4LogoIkonProvider.java new file mode 100644 index 000000000..527a6e748 --- /dev/null +++ b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4LogoIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ionicons4; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class Ionicons4LogoIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ionicons4Logo.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4MaterialIkonProvider.java b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4MaterialIkonProvider.java new file mode 100644 index 000000000..a33d7b2af --- /dev/null +++ b/icon-packs/ikonli-ionicons4-pack/src/main/java/org/kordamp/ikonli/ionicons4/Ionicons4MaterialIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ionicons4; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class Ionicons4MaterialIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ionicons4Material.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/module-info.java b/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/module-info.java index 43c826e1f..7d7c2ecda 100644 --- a/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.ligaturesymbols.LigatureSymbolsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.ligaturesymbols.LigatureSymbolsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/org/kordamp/ikonli/ligaturesymbols/LigatureSymbolsIkonProvider.java b/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/org/kordamp/ikonli/ligaturesymbols/LigatureSymbolsIkonProvider.java new file mode 100644 index 000000000..3cc0bb769 --- /dev/null +++ b/icon-packs/ikonli-ligaturesymbols-pack/src/main/java/org/kordamp/ikonli/ligaturesymbols/LigatureSymbolsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ligaturesymbols; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class LigatureSymbolsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return LigatureSymbols.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-lineawesome-pack/src/main/java/module-info.java b/icon-packs/ikonli-lineawesome-pack/src/main/java/module-info.java index 7aba27ecd..0a4c08fb1 100644 --- a/icon-packs/ikonli-lineawesome-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-lineawesome-pack/src/main/java/module-info.java @@ -24,4 +24,8 @@ with org.kordamp.ikonli.lineawesome.LineAwesomeBrandsIkonHandler, org.kordamp.ikonli.lineawesome.LineAwesomeRegularIkonHandler, org.kordamp.ikonli.lineawesome.LineAwesomeSolidIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.lineawesome.LineAwesomeBrandsIkonProvider, + org.kordamp.ikonli.lineawesome.LineAwesomeRegularIkonProvider, + org.kordamp.ikonli.lineawesome.LineAwesomeSolidIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeBrandsIkonProvider.java b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeBrandsIkonProvider.java new file mode 100644 index 000000000..00fcfc357 --- /dev/null +++ b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeBrandsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.lineawesome; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class LineAwesomeBrandsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return LineAwesomeBrands.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeRegularIkonProvider.java b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeRegularIkonProvider.java new file mode 100644 index 000000000..3c9dfac88 --- /dev/null +++ b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeRegularIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.lineawesome; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class LineAwesomeRegularIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return LineAwesomeRegular.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeSolidIkonProvider.java b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeSolidIkonProvider.java new file mode 100644 index 000000000..a27ad6fe4 --- /dev/null +++ b/icon-packs/ikonli-lineawesome-pack/src/main/java/org/kordamp/ikonli/lineawesome/LineAwesomeSolidIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.lineawesome; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class LineAwesomeSolidIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return LineAwesomeSolid.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-linecons-pack/src/main/java/module-info.java b/icon-packs/ikonli-linecons-pack/src/main/java/module-info.java index fcef3b7c5..97977052a 100644 --- a/icon-packs/ikonli-linecons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-linecons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.linecons.LineconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.linecons.LineconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-linecons-pack/src/main/java/org/kordamp/ikonli/linecons/LineconsIkonProvider.java b/icon-packs/ikonli-linecons-pack/src/main/java/org/kordamp/ikonli/linecons/LineconsIkonProvider.java new file mode 100644 index 000000000..272dafd3b --- /dev/null +++ b/icon-packs/ikonli-linecons-pack/src/main/java/org/kordamp/ikonli/linecons/LineconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.linecons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class LineconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Linecons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-maki-pack/src/main/java/module-info.java b/icon-packs/ikonli-maki-pack/src/main/java/module-info.java index 6d8956876..f4adc0eae 100644 --- a/icon-packs/ikonli-maki-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-maki-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.maki.MakiIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.maki.MakiIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-maki-pack/src/main/java/org/kordamp/ikonli/maki/MakiIkonProvider.java b/icon-packs/ikonli-maki-pack/src/main/java/org/kordamp/ikonli/maki/MakiIkonProvider.java new file mode 100644 index 000000000..7268ea9cb --- /dev/null +++ b/icon-packs/ikonli-maki-pack/src/main/java/org/kordamp/ikonli/maki/MakiIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.maki; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MakiIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Maki.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-maki2-pack/src/main/java/module-info.java b/icon-packs/ikonli-maki2-pack/src/main/java/module-info.java index f500c0fe0..d98c8b3f3 100644 --- a/icon-packs/ikonli-maki2-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-maki2-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.maki2.Maki2IkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.maki2.Maki2IkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-maki2-pack/src/main/java/org/kordamp/ikonli/maki2/Maki2IkonProvider.java b/icon-packs/ikonli-maki2-pack/src/main/java/org/kordamp/ikonli/maki2/Maki2IkonProvider.java new file mode 100644 index 000000000..657a96ad6 --- /dev/null +++ b/icon-packs/ikonli-maki2-pack/src/main/java/org/kordamp/ikonli/maki2/Maki2IkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.maki2; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class Maki2IkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Maki2.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-mapicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-mapicons-pack/src/main/java/module-info.java index 46e71dc9c..b0567de97 100644 --- a/icon-packs/ikonli-mapicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-mapicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.mapicons.MapiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.mapicons.MapiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-mapicons-pack/src/main/java/org/kordamp/ikonli/mapicons/MapiconsIkonProvider.java b/icon-packs/ikonli-mapicons-pack/src/main/java/org/kordamp/ikonli/mapicons/MapiconsIkonProvider.java new file mode 100644 index 000000000..85d4819d7 --- /dev/null +++ b/icon-packs/ikonli-mapicons-pack/src/main/java/org/kordamp/ikonli/mapicons/MapiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.mapicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MapiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Mapicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-material-pack/src/main/java/module-info.java b/icon-packs/ikonli-material-pack/src/main/java/module-info.java index cc5c91b3b..8b15495be 100644 --- a/icon-packs/ikonli-material-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-material-pack/src/main/java/module-info.java @@ -21,5 +21,7 @@ exports org.kordamp.ikonli.material; provides org.kordamp.ikonli.IkonHandler - with org.kordamp.ikonli.material.MaterialkonHandler; + with org.kordamp.ikonli.material.MaterialIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.material.MaterialIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialkonHandler.java b/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonHandler.java similarity index 95% rename from icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialkonHandler.java rename to icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonHandler.java index 07ba5d1cb..2c2357f8f 100644 --- a/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialkonHandler.java +++ b/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonHandler.java @@ -26,7 +26,7 @@ * @author Andres Almiray */ @ServiceProviderFor(IkonHandler.class) -public class MaterialkonHandler extends AbstractIkonHandler { +public class MaterialIkonHandler extends AbstractIkonHandler { @Override public boolean supports(String description) { return description != null && description.startsWith("gmi-"); diff --git a/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonProvider.java b/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonProvider.java new file mode 100644 index 000000000..29c5ee7ec --- /dev/null +++ b/icon-packs/ikonli-material-pack/src/main/java/org/kordamp/ikonli/material/MaterialIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.material; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Material.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/module-info.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/module-info.java index ac04c439c..4aafa3fc9 100644 --- a/icon-packs/ikonli-materialdesign-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/module-info.java @@ -47,4 +47,31 @@ org.kordamp.ikonli.materialdesign.MaterialDesignXIkonHandler, org.kordamp.ikonli.materialdesign.MaterialDesignYIkonHandler, org.kordamp.ikonli.materialdesign.MaterialDesignZIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.materialdesign.MaterialDesignAIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignBIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignCIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignDIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignEIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignFIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignGIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignHIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignIIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignJIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignKIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignLIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignMIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignNIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignOIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignPIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignQIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignRIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignSIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignTIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignUIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignVIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignWIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignXIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignYIkonProvider, + org.kordamp.ikonli.materialdesign.MaterialDesignZIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignAIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignAIkonProvider.java new file mode 100644 index 000000000..276d5c8f4 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignAIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignAIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignA.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignBIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignBIkonProvider.java new file mode 100644 index 000000000..5f8e450e6 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignBIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignBIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignB.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignCIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignCIkonProvider.java new file mode 100644 index 000000000..6731cb303 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignCIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignCIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignC.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignDIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignDIkonProvider.java new file mode 100644 index 000000000..00301d8b4 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignDIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignDIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignD.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignEIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignEIkonProvider.java new file mode 100644 index 000000000..99ff27448 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignEIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignEIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignE.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignFIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignFIkonProvider.java new file mode 100644 index 000000000..e3d44179a --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignFIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignFIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignF.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignGIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignGIkonProvider.java new file mode 100644 index 000000000..450dd7717 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignGIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignGIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignG.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignHIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignHIkonProvider.java new file mode 100644 index 000000000..d61346bf7 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignHIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignHIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignH.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignIIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignIIkonProvider.java new file mode 100644 index 000000000..2b9ab3ea6 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignIIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignIIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignI.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignJIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignJIkonProvider.java new file mode 100644 index 000000000..dbf236bfc --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignJIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignJIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignJ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignKIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignKIkonProvider.java new file mode 100644 index 000000000..4df0f86f4 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignKIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignKIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignK.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignLIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignLIkonProvider.java new file mode 100644 index 000000000..e51c38257 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignLIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignLIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignL.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignMIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignMIkonProvider.java new file mode 100644 index 000000000..09f937db6 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignMIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignMIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignM.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignNIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignNIkonProvider.java new file mode 100644 index 000000000..8ab04dc2f --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignNIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignNIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignN.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignOIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignOIkonProvider.java new file mode 100644 index 000000000..3f2e6815b --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignOIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignOIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignO.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignPIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignPIkonProvider.java new file mode 100644 index 000000000..c0ca45799 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignPIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignPIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignP.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignQIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignQIkonProvider.java new file mode 100644 index 000000000..9d6f3fd26 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignQIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignQIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignQ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignRIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignRIkonProvider.java new file mode 100644 index 000000000..bb7c2ce9f --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignRIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignRIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignR.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignSIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignSIkonProvider.java new file mode 100644 index 000000000..c1f8a9508 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignSIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignSIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignS.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignTIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignTIkonProvider.java new file mode 100644 index 000000000..bbd4869be --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignTIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignTIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignT.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignUIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignUIkonProvider.java new file mode 100644 index 000000000..805a377a7 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignUIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignUIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignU.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignVIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignVIkonProvider.java new file mode 100644 index 000000000..aa0d9a0fe --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignVIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignVIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignV.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignWIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignWIkonProvider.java new file mode 100644 index 000000000..653d09947 --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignWIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignWIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignW.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignXIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignXIkonProvider.java new file mode 100644 index 000000000..ce4f488bd --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignXIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignXIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignX.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignYIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignYIkonProvider.java new file mode 100644 index 000000000..66b67819e --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignYIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignYIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignY.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignZIkonProvider.java b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignZIkonProvider.java new file mode 100644 index 000000000..a2dd0e8ce --- /dev/null +++ b/icon-packs/ikonli-materialdesign-pack/src/main/java/org/kordamp/ikonli/materialdesign/MaterialDesignZIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.materialdesign; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MaterialDesignZIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MaterialDesignZ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-medicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-medicons-pack/src/main/java/module-info.java index 80bbec456..a643724e5 100644 --- a/icon-packs/ikonli-medicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-medicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.medicons.MediconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.medicons.MediconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-medicons-pack/src/main/java/org/kordamp/ikonli/medicons/MediconsIkonProvider.java b/icon-packs/ikonli-medicons-pack/src/main/java/org/kordamp/ikonli/medicons/MediconsIkonProvider.java new file mode 100644 index 000000000..7d7f53e92 --- /dev/null +++ b/icon-packs/ikonli-medicons-pack/src/main/java/org/kordamp/ikonli/medicons/MediconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.medicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MediconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Medicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-metrizeicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-metrizeicons-pack/src/main/java/module-info.java index 5bb339b83..2570224bd 100644 --- a/icon-packs/ikonli-metrizeicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-metrizeicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.metrizeicons.MetrizeIconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.metrizeicons.MetrizeIconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-metrizeicons-pack/src/main/java/org/kordamp/ikonli/metrizeicons/MetrizeIconsIkonProvider.java b/icon-packs/ikonli-metrizeicons-pack/src/main/java/org/kordamp/ikonli/metrizeicons/MetrizeIconsIkonProvider.java new file mode 100644 index 000000000..5727d39ce --- /dev/null +++ b/icon-packs/ikonli-metrizeicons-pack/src/main/java/org/kordamp/ikonli/metrizeicons/MetrizeIconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.metrizeicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MetrizeIconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return MetrizeIcons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-microns-pack/src/main/java/module-info.java b/icon-packs/ikonli-microns-pack/src/main/java/module-info.java index a2146bb69..5fcd4b82b 100644 --- a/icon-packs/ikonli-microns-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-microns-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.microns.MicronsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.microns.MicronsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-microns-pack/src/main/java/org/kordamp/ikonli/microns/MicronsIkonProvider.java b/icon-packs/ikonli-microns-pack/src/main/java/org/kordamp/ikonli/microns/MicronsIkonProvider.java new file mode 100644 index 000000000..355c1bd38 --- /dev/null +++ b/icon-packs/ikonli-microns-pack/src/main/java/org/kordamp/ikonli/microns/MicronsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.microns; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class MicronsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Microns.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-ociicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-ociicons-pack/src/main/java/module-info.java index 4acc33c0a..25facfc37 100644 --- a/icon-packs/ikonli-ociicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-ociicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.ociicons.OciiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.ociicons.OciiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-ociicons-pack/src/main/java/org/kordamp/ikonli/ociicons/OciiconsIkonProvider.java b/icon-packs/ikonli-ociicons-pack/src/main/java/org/kordamp/ikonli/ociicons/OciiconsIkonProvider.java new file mode 100644 index 000000000..2e69e4a42 --- /dev/null +++ b/icon-packs/ikonli-ociicons-pack/src/main/java/org/kordamp/ikonli/ociicons/OciiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.ociicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class OciiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Ociicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-octicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-octicons-pack/src/main/java/module-info.java index 45c194ae8..9548f0c37 100644 --- a/icon-packs/ikonli-octicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-octicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.octicons.OcticonsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.octicons.OcticonsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-octicons-pack/src/main/java/org/kordamp/ikonli/octicons/OcticonsIkonProvider.java b/icon-packs/ikonli-octicons-pack/src/main/java/org/kordamp/ikonli/octicons/OcticonsIkonProvider.java new file mode 100644 index 000000000..d4de6da93 --- /dev/null +++ b/icon-packs/ikonli-octicons-pack/src/main/java/org/kordamp/ikonli/octicons/OcticonsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.octicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class OcticonsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Octicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-openiconic-pack/src/main/java/module-info.java b/icon-packs/ikonli-openiconic-pack/src/main/java/module-info.java index 9ed816950..8f2b8633c 100644 --- a/icon-packs/ikonli-openiconic-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-openiconic-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.openiconic.OpeniconicIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.openiconic.OpeniconicIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-openiconic-pack/src/main/java/org/kordamp/ikonli/openiconic/OpeniconicIkonProvider.java b/icon-packs/ikonli-openiconic-pack/src/main/java/org/kordamp/ikonli/openiconic/OpeniconicIkonProvider.java new file mode 100644 index 000000000..f71fec583 --- /dev/null +++ b/icon-packs/ikonli-openiconic-pack/src/main/java/org/kordamp/ikonli/openiconic/OpeniconicIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.openiconic; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class OpeniconicIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Openiconic.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-paymentfont-pack/src/main/java/module-info.java b/icon-packs/ikonli-paymentfont-pack/src/main/java/module-info.java index 99f13260b..cb7063e10 100644 --- a/icon-packs/ikonli-paymentfont-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-paymentfont-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.paymentfont.PaymentFontIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.paymentfont.PaymentFontIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-paymentfont-pack/src/main/java/org/kordamp/ikonli/paymentfont/PaymentFontIkonProvider.java b/icon-packs/ikonli-paymentfont-pack/src/main/java/org/kordamp/ikonli/paymentfont/PaymentFontIkonProvider.java new file mode 100644 index 000000000..223e1e68a --- /dev/null +++ b/icon-packs/ikonli-paymentfont-pack/src/main/java/org/kordamp/ikonli/paymentfont/PaymentFontIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.paymentfont; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class PaymentFontIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return PaymentFont.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-remixicon-pack/src/main/java/module-info.java b/icon-packs/ikonli-remixicon-pack/src/main/java/module-info.java index dd73c275f..432708985 100644 --- a/icon-packs/ikonli-remixicon-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-remixicon-pack/src/main/java/module-info.java @@ -23,4 +23,7 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.remixicon.RemixiconALIkonHandler, org.kordamp.ikonli.remixicon.RemixiconMZIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.remixicon.RemixiconALIkonProvider, + org.kordamp.ikonli.remixicon.RemixiconMZIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconALIkonProvider.java b/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconALIkonProvider.java new file mode 100644 index 000000000..5f8a2afad --- /dev/null +++ b/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconALIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.remixicon; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class RemixiconALIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return RemixiconAL.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconMZIkonProvider.java b/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconMZIkonProvider.java new file mode 100644 index 000000000..969f72a9a --- /dev/null +++ b/icon-packs/ikonli-remixicon-pack/src/main/java/org/kordamp/ikonli/remixicon/RemixiconMZIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.remixicon; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class RemixiconMZIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return RemixiconMZ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-runestroicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-runestroicons-pack/src/main/java/module-info.java index 70b990b3b..792e6165a 100644 --- a/icon-packs/ikonli-runestroicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-runestroicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.runestroicons.RunestroiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.runestroicons.RunestroiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-runestroicons-pack/src/main/java/org/kordamp/ikonli/runestroicons/RunestroiconsIkonProvider.java b/icon-packs/ikonli-runestroicons-pack/src/main/java/org/kordamp/ikonli/runestroicons/RunestroiconsIkonProvider.java new file mode 100644 index 000000000..d88bfa970 --- /dev/null +++ b/icon-packs/ikonli-runestroicons-pack/src/main/java/org/kordamp/ikonli/runestroicons/RunestroiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.runestroicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class RunestroiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Runestroicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-simpleicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-simpleicons-pack/src/main/java/module-info.java index 908e7bf7b..f35f34533 100644 --- a/icon-packs/ikonli-simpleicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-simpleicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.simpleicons.SimpleIconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.simpleicons.SimpleIconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-simpleicons-pack/src/main/java/org/kordamp/ikonli/simpleicons/SimpleIconsIkonProvider.java b/icon-packs/ikonli-simpleicons-pack/src/main/java/org/kordamp/ikonli/simpleicons/SimpleIconsIkonProvider.java new file mode 100644 index 000000000..b62a45954 --- /dev/null +++ b/icon-packs/ikonli-simpleicons-pack/src/main/java/org/kordamp/ikonli/simpleicons/SimpleIconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.simpleicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class SimpleIconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return SimpleIcons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-simplelineicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-simplelineicons-pack/src/main/java/module-info.java index 9d1cd7531..93162d1ae 100644 --- a/icon-packs/ikonli-simplelineicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-simplelineicons-pack/src/main/java/module-info.java @@ -1,5 +1,3 @@ -import org.kordamp.ikonli.simplelineicons.SimpleLineIconsIkonHandler; - /* * SPDX-License-Identifier: Apache-2.0 * @@ -23,5 +21,7 @@ exports org.kordamp.ikonli.simplelineicons; provides org.kordamp.ikonli.IkonHandler - with SimpleLineIconsIkonHandler; + with org.kordamp.ikonli.simplelineicons.SimpleLineIconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.simplelineicons.SimpleLineIconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-simplelineicons-pack/src/main/java/org/kordamp/ikonli/simplelineicons/SimpleLineIconsIkonProvider.java b/icon-packs/ikonli-simplelineicons-pack/src/main/java/org/kordamp/ikonli/simplelineicons/SimpleLineIconsIkonProvider.java new file mode 100644 index 000000000..825972c58 --- /dev/null +++ b/icon-packs/ikonli-simplelineicons-pack/src/main/java/org/kordamp/ikonli/simplelineicons/SimpleLineIconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.simplelineicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class SimpleLineIconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return SimpleLineIcons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-themify-pack/src/main/java/module-info.java b/icon-packs/ikonli-themify-pack/src/main/java/module-info.java index 7c5c14f3b..9968f8c4d 100644 --- a/icon-packs/ikonli-themify-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-themify-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.themify.ThemifyIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.themify.ThemifyIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-themify-pack/src/main/java/org/kordamp/ikonli/themify/ThemifyIkonProvider.java b/icon-packs/ikonli-themify-pack/src/main/java/org/kordamp/ikonli/themify/ThemifyIkonProvider.java new file mode 100644 index 000000000..57f59f188 --- /dev/null +++ b/icon-packs/ikonli-themify-pack/src/main/java/org/kordamp/ikonli/themify/ThemifyIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.themify; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class ThemifyIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Themify.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-typicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-typicons-pack/src/main/java/module-info.java index 9c6ac3cc8..30b3c6e5e 100644 --- a/icon-packs/ikonli-typicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-typicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.typicons.TypiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.typicons.TypiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-typicons-pack/src/main/java/org/kordamp/ikonli/typicons/TypiconsIkonProvider.java b/icon-packs/ikonli-typicons-pack/src/main/java/org/kordamp/ikonli/typicons/TypiconsIkonProvider.java new file mode 100644 index 000000000..09f4a8391 --- /dev/null +++ b/icon-packs/ikonli-typicons-pack/src/main/java/org/kordamp/ikonli/typicons/TypiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.typicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class TypiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Typicons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-weathericons-pack/src/main/java/module-info.java b/icon-packs/ikonli-weathericons-pack/src/main/java/module-info.java index 4fd2d64e1..3dd3919d9 100644 --- a/icon-packs/ikonli-weathericons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-weathericons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.weathericons.WeatherIconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.weathericons.WeatherIconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-weathericons-pack/src/main/java/org/kordamp/ikonli/weathericons/WeatherIconsIkonProvider.java b/icon-packs/ikonli-weathericons-pack/src/main/java/org/kordamp/ikonli/weathericons/WeatherIconsIkonProvider.java new file mode 100644 index 000000000..c51419c97 --- /dev/null +++ b/icon-packs/ikonli-weathericons-pack/src/main/java/org/kordamp/ikonli/weathericons/WeatherIconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.weathericons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class WeatherIconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return WeatherIcons.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-websymbols-pack/src/main/java/module-info.java b/icon-packs/ikonli-websymbols-pack/src/main/java/module-info.java index 7b35f8319..f90e20b8e 100644 --- a/icon-packs/ikonli-websymbols-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-websymbols-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.websymbols.WebsymbolsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.websymbols.WebsymbolsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-websymbols-pack/src/main/java/org/kordamp/ikonli/websymbols/WebsymbolsIkonProvider.java b/icon-packs/ikonli-websymbols-pack/src/main/java/org/kordamp/ikonli/websymbols/WebsymbolsIkonProvider.java new file mode 100644 index 000000000..e1166369c --- /dev/null +++ b/icon-packs/ikonli-websymbols-pack/src/main/java/org/kordamp/ikonli/websymbols/WebsymbolsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.websymbols; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class WebsymbolsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Websymbols.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-whhg-pack/src/main/java/module-info.java b/icon-packs/ikonli-whhg-pack/src/main/java/module-info.java index 970b016eb..ba8aaf068 100644 --- a/icon-packs/ikonli-whhg-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-whhg-pack/src/main/java/module-info.java @@ -23,4 +23,7 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.whhg.WhhgALIkonHandler, org.kordamp.ikonli.whhg.WhhgMZIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.whhg.WhhgALIkonProvider, + org.kordamp.ikonli.whhg.WhhgMZIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgALIkonProvider.java b/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgALIkonProvider.java new file mode 100644 index 000000000..4a09a3b31 --- /dev/null +++ b/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgALIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.whhg; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class WhhgALIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return WhhgAL.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgMZIkonProvider.java b/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgMZIkonProvider.java new file mode 100644 index 000000000..9d6a77f94 --- /dev/null +++ b/icon-packs/ikonli-whhg-pack/src/main/java/org/kordamp/ikonli/whhg/WhhgMZIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.whhg; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class WhhgMZIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return WhhgMZ.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-win10-pack/src/main/java/module-info.java b/icon-packs/ikonli-win10-pack/src/main/java/module-info.java index 0ba8e3d0f..34513dd61 100644 --- a/icon-packs/ikonli-win10-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-win10-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.win10.Win10IkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.win10.Win10IkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-win10-pack/src/main/java/org/kordamp/ikonli/win10/Win10IkonProvider.java b/icon-packs/ikonli-win10-pack/src/main/java/org/kordamp/ikonli/win10/Win10IkonProvider.java new file mode 100644 index 000000000..ece65c55b --- /dev/null +++ b/icon-packs/ikonli-win10-pack/src/main/java/org/kordamp/ikonli/win10/Win10IkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.win10; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class Win10IkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Win10.class; + } +} \ No newline at end of file diff --git a/icon-packs/ikonli-zondicons-pack/src/main/java/module-info.java b/icon-packs/ikonli-zondicons-pack/src/main/java/module-info.java index 6ba5871e0..f89ef9e7d 100644 --- a/icon-packs/ikonli-zondicons-pack/src/main/java/module-info.java +++ b/icon-packs/ikonli-zondicons-pack/src/main/java/module-info.java @@ -22,4 +22,6 @@ provides org.kordamp.ikonli.IkonHandler with org.kordamp.ikonli.zondicons.ZondiconsIkonHandler; + provides org.kordamp.ikonli.IkonProvider + with org.kordamp.ikonli.zondicons.ZondiconsIkonProvider; } \ No newline at end of file diff --git a/icon-packs/ikonli-zondicons-pack/src/main/java/org/kordamp/ikonli/zondicons/ZondiconsIkonProvider.java b/icon-packs/ikonli-zondicons-pack/src/main/java/org/kordamp/ikonli/zondicons/ZondiconsIkonProvider.java new file mode 100644 index 000000000..c6f87f733 --- /dev/null +++ b/icon-packs/ikonli-zondicons-pack/src/main/java/org/kordamp/ikonli/zondicons/ZondiconsIkonProvider.java @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright 2015-2020 Andres Almiray + * + * Licensed 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 + * + * http://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.kordamp.ikonli.zondicons; + +import org.kordamp.ikonli.IkonProvider; +import org.kordamp.jipsy.ServiceProviderFor; + +/** + * @author Andres Almiray + */ +@ServiceProviderFor(IkonProvider.class) +public class ZondiconsIkonProvider implements IkonProvider { + @Override + public Class getIkon() { + return Zondicons.class; + } +} \ No newline at end of file