You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2025/10/26 09:02:29 UTC
(hop) branch main updated: Add icon to UUID value meta #5905 (#5906)
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new 5cfc57e183 Add icon to UUID value meta #5905 (#5906)
5cfc57e183 is described below
commit 5cfc57e1831472b0d69663d8cd726c4495983931
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Sun Oct 26 10:02:24 2025 +0100
Add icon to UUID value meta #5905 (#5906)
---
.../src/main/java/org/apache/hop/uuid/ValueMetaUuid.java | 2 +-
plugins/valuetypes/uuid/src/main/resources/uuid.svg | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/plugins/valuetypes/uuid/src/main/java/org/apache/hop/uuid/ValueMetaUuid.java b/plugins/valuetypes/uuid/src/main/java/org/apache/hop/uuid/ValueMetaUuid.java
index b7cd9824a1..7dd95148ca 100644
--- a/plugins/valuetypes/uuid/src/main/java/org/apache/hop/uuid/ValueMetaUuid.java
+++ b/plugins/valuetypes/uuid/src/main/java/org/apache/hop/uuid/ValueMetaUuid.java
@@ -44,7 +44,7 @@ import org.apache.hop.core.row.value.ValueMetaPlugin;
id = "32", // the number of digits in a UUID
name = "UUID",
description = "Universally Unique Identifier",
- image = "")
+ image = "uuid.svg")
public class ValueMetaUuid extends ValueMetaBase {
public static final int TYPE_UUID = 32;
diff --git a/plugins/valuetypes/uuid/src/main/resources/uuid.svg b/plugins/valuetypes/uuid/src/main/resources/uuid.svg
new file mode 100644
index 0000000000..6f1c08225d
--- /dev/null
+++ b/plugins/valuetypes/uuid/src/main/resources/uuid.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="200px" height="200px" viewBox="0 0 200 200">
+<path fill="#0e3a5a" d="M43,139.91c3.54,0.101,7.046-0.714,10.179-2.365c2.834-1.551,5.117-3.943,6.535-6.846
+ c1.576-3.347,2.348-7.016,2.25-10.715V60.081H48.429v60.265c0.107,1.621-0.403,3.223-1.429,4.482c-1.03,1.1-2.495,1.688-4,1.604
+ c-1.474,0.084-2.906-0.506-3.894-1.604c-1.025-1.26-1.535-2.861-1.428-4.482V60.081H24.144v59.886
+ c-0.091,3.693,0.666,7.359,2.213,10.715c1.416,2.893,3.686,5.281,6.5,6.846c3.125,1.64,6.616,2.453,10.144,2.365V139.91z
+ M88.75,139.91c3.54,0.101,7.046-0.714,10.179-2.365c2.833-1.551,5.116-3.943,6.536-6.846c1.576-3.347,2.346-7.016,2.25-10.715
+ V60.081H94.179v60.265c0.107,1.621-0.403,3.223-1.429,4.482c-1.03,1.1-2.495,1.688-4,1.604c-1.473,0.077-2.902-0.512-3.894-1.604
+ c-1.025-1.26-1.535-2.861-1.428-4.482V60.081H69.894v59.886c-0.098,3.698,0.674,7.367,2.25,10.715
+ c1.391,2.897,3.65,5.291,6.463,6.846c3.125,1.64,6.616,2.453,10.144,2.365V139.91z M128.929,60.081h-13.5v79.025h13.5V60.081z
+ M146.465,139.092h11.428c3.348,0.092,6.668-0.625,9.679-2.089c2.644-1.337,4.804-3.466,6.179-6.089
+ c1.467-2.961,2.19-6.234,2.107-9.536V77.806c0.082-3.302-0.641-6.576-2.107-9.536c-1.373-2.608-3.52-4.729-6.143-6.071
+ c-3.01-1.472-6.33-2.19-9.679-2.093h-11.464v12.932h10.106c1.571-0.102,3.104,0.506,4.179,1.657
+ c1.055,1.308,1.578,2.966,1.465,4.643v40.518c0.114,1.677-0.408,3.335-1.465,4.643c-1.073,1.152-2.607,1.761-4.179,1.657h-10.106
+ v12.95V139.092z M137.5,139.092h13.465V60.081H137.5v79.025V139.092z"/>
+</svg>