xml: add icon for analyses
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 21 Sep 2016 19:54:20 +0000 (15:54 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 23 Sep 2016 13:48:02 +0000 (09:48 -0400)
Change-Id: Ibf173f4b3cd64542b200bc571a33d4000bae46d1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81630
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/build.properties
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/icons/analysis.png [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/TmfAnalysisModuleHelperXml.java

index f2cbab493eb1e9676a0bda5536966dfabfc35619..90542fc3ad4007ab159acca92e63946a7241ca89 100644 (file)
@@ -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 (file)
index 0000000..cf66a60
Binary files /dev/null and b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/icons/analysis.png differ
index b955a1a5195be67e66dfb562d6ef312734624511..5e8ae8cef39761e753cc1193be67ecdd7e7fb3d6 100644 (file)
@@ -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
This page took 0.027724 seconds and 5 git commands to generate.