From 437de777903ca0693b593d27a791dd4186197316 Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Wed, 21 Sep 2016 15:54:20 -0400 Subject: [PATCH] xml: add icon for analyses Change-Id: Ibf173f4b3cd64542b200bc571a33d4000bae46d1 Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/81630 Reviewed-by: Genevieve Bastien Tested-by: Genevieve Bastien Reviewed-by: Marc-Andre Laperle Tested-by: Marc-Andre Laperle Reviewed-by: Hudson CI --- .../build.properties | 3 ++- .../icons/analysis.png | Bin 0 -> 395 bytes .../core/module/TmfAnalysisModuleHelperXml.java | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/icons/analysis.png diff --git a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/build.properties b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/build.properties index f2cbab493e..90542fc3ad 100644 --- a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/build.properties +++ b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/build.properties @@ -16,7 +16,8 @@ bin.includes = META-INF/,\ .,\ plugin.properties,\ about.html,\ - plugin.xml + plugin.xml,\ + icons/ src.includes = about.html additional.bundles = org.eclipse.jdt.annotation jars.extra.classpath = platform:/plugin/org.eclipse.jdt.annotation diff --git a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/icons/analysis.png b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/icons/analysis.png new file mode 100644 index 0000000000000000000000000000000000000000..cf66a60658771a86d1ab1927d4f572286fc6d410 GIT binary patch literal 395 zcmV;60d)R}P)NPREcLd#yh^grk+6oP{lQV$=Lp{F5C6MIHWbe0e9chC9Gx%UJ98iHB#*uTo0 zR>I`iC}zEZu6He+2XViX&ZR}>l5zI44}m=qbqjEvOwhHwK*_g8Q-P~|5rKUX7xDp= zLJ<%IWN(T{pMWmkdA{4J)eLs<8WqxPgjO=hvRyMx@B zikhxt!#jcL`C%xU_Q??dfHr)w)eEr^H>{qvU!e^o$sg5@VXX*u0SNJJS px0CE0yVFJRS8pI}n{V(x!#kOJt>xx5^`8I$002ovPDHLkV1oAEtResa literal 0 HcmV?d00001 diff --git a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/TmfAnalysisModuleHelperXml.java b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/TmfAnalysisModuleHelperXml.java index b955a1a519..5e8ae8cef3 100644 --- a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/TmfAnalysisModuleHelperXml.java +++ b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/TmfAnalysisModuleHelperXml.java @@ -42,6 +42,8 @@ import org.w3c.dom.Element; */ public class TmfAnalysisModuleHelperXml implements IAnalysisModuleHelper, ITmfPropertiesProvider { + private static final String ICON_ANALYSIS = "/icons/analysis.png"; //$NON-NLS-1$ + /** * The types of analysis that can be XML-defined */ @@ -129,7 +131,7 @@ public class TmfAnalysisModuleHelperXml implements IAnalysisModuleHelper, ITmfPr @Override public String getIcon() { - return null; + return ICON_ANALYSIS; } @Override -- 2.34.1