This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new 21c9a92 Hop-2647 New pipeline data probe icon
new efbec09 Merge pull request #697 from nadment/Hop-2647
21c9a92 is described below
commit 21c9a92bc2b0bf139e546431ff4289170cbd053f
Author: nadment <[email protected]>
AuthorDate: Wed Mar 24 00:03:48 2021 +0100
Hop-2647 New pipeline data probe icon
---
.../apache/hop/reflection/probe/gui/DataProbeGuiPlugin.java | 2 +-
.../org/apache/hop/reflection/probe/meta/PipelineProbe.java | 2 +-
.../reflection/probe/transform/PipelineDataProbeMeta.java | 2 +-
plugins/misc/reflection/src/main/resources/probe.svg | 13 +++++++++++++
4 files changed, 16 insertions(+), 3 deletions(-)
diff --git
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/gui/DataProbeGuiPlugin.java
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/gui/DataProbeGuiPlugin.java
index 3aeb540..e16a349 100644
---
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/gui/DataProbeGuiPlugin.java
+++
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/gui/DataProbeGuiPlugin.java
@@ -55,7 +55,7 @@ public class DataProbeGuiPlugin {
type = GuiActionType.Info,
name = "Add data probe",
tooltip = "Streams the rows to a pipeline defined in a selected pipeline
probe",
- image = "ui/images/data.svg",
+ image = "probe.svg",
category = "Preview",
categoryOrder = "3")
public void addDataProbeForTransform(HopGuiPipelineTransformContext context)
{
diff --git
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/meta/PipelineProbe.java
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/meta/PipelineProbe.java
index 988db19..8854060 100644
---
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/meta/PipelineProbe.java
+++
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/meta/PipelineProbe.java
@@ -30,7 +30,7 @@ import java.util.List;
key = "pipeline-probe",
name = "Pipeline Probe",
description = "This allows you to stream output rows of a transform to
another pipeline",
- image = "ui/images/data.svg")
+ image = "probe.svg")
public class PipelineProbe extends HopMetadataBase implements IHopMetadata {
@HopMetadataProperty private boolean enabled;
diff --git
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/transform/PipelineDataProbeMeta.java
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/transform/PipelineDataProbeMeta.java
index c3d7ec1..1f28c3f 100644
---
a/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/transform/PipelineDataProbeMeta.java
+++
b/plugins/misc/reflection/src/main/java/org/apache/hop/reflection/probe/transform/PipelineDataProbeMeta.java
@@ -41,7 +41,7 @@ import org.w3c.dom.Node;
name = "i18n::PipelineDataProbe.Transform.Name",
description = "i18n::PipelineDataProbe.Transform.Description",
categoryDescription =
"i18n:org.apache.hop.pipeline.transform:BaseTransform.Category.Input",
- image = "ui/images/data.svg",
+ image = "probe.svg",
keywords = "audit,log,metrics,profile,probe,stream")
public class PipelineDataProbeMeta extends BaseTransformMeta
implements ITransformMeta<PipelineDataProbe, PipelineDataProbeData> {
diff --git a/plugins/misc/reflection/src/main/resources/probe.svg
b/plugins/misc/reflection/src/main/resources/probe.svg
new file mode 100644
index 0000000..340fe78
--- /dev/null
+++ b/plugins/misc/reflection/src/main/resources/probe.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version:
6.00 Build 43363) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="24px" height="24px" viewBox="0 0 24 24" enable-background="new
0 0 24 24" xml:space="preserve">
+<path fill="#0F3B5A"
d="M20.242,8.62c0-4.202-3.697-7.62-8.241-7.62C7.456,1,3.758,4.418,3.758,8.62
+
c0,2.633,1.453,4.958,3.659,6.329v5.439c0,0.478,0.414,0.859,0.928,0.859c0.513,0,0.929-0.382,0.929-0.859v-4.577
+
c0.573,0.186,1.175,0.315,1.798,0.38v5.95c0,0.475,0.415,0.859,0.93,0.859c0.513,0,0.929-0.385,0.929-0.859v-5.95
+
c0.622-0.064,1.225-0.194,1.798-0.38v4.577c0,0.478,0.415,0.859,0.929,0.859s0.93-0.382,0.93-0.859v-5.439
+ C18.789,13.578,20.242,11.252,20.242,8.62z
M5.617,8.62c0-3.252,2.863-5.901,6.384-5.901c3.518,0,6.382,2.649,6.382,5.901
+ c0,3.254-2.864,5.902-6.382,5.902C8.48,14.521,5.617,11.874,5.617,8.62z
M12.001,12.859c2.528,0,4.585-1.902,4.585-4.24
+
c0-2.337-2.057-4.239-4.585-4.239c-2.529,0-4.587,1.902-4.587,4.239C7.414,10.958,9.472,12.859,12.001,12.859z"/>
+</svg>