Commit 31b904a0 authored by Simon Barner's avatar Simon Barner
Browse files

Actually reference (already existing) icons

Issue-Ref: 4060
Issue-Url: https://af3-developer.fortiss.org/issues/4060

Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 3eb54ff8
CanBusTransmissionUnitVisual.java e5b63b66db715016a836643fc3e0411ff88c029f GREEN
RaspberryPiExecutionUnitVisual.java 157aa23b9ba18e591b434c59576df5c2e43b49de GREEN
CanBusTransmissionUnitVisual.java 42883e8bd633b51a2ddff364078f446db2d2abba GREEN
RaspberryPiExecutionUnitVisual.java 9bc5597b81890812fb5b4c7372e245b1950c26a4 GREEN
RaspberryPiReceiverVisual.java 474b6e6057a3330f84bc9f7eb953ebc6cd9e3d30 GREEN
RaspberryPiTransceiverVisual.java 60c020813f9b213f341fd0a7f14b07bfddd92870 GREEN
RaspberryPiTransmitterVisual.java 2adead2607212ce25501619e1498b6a2066e3561 GREEN
......@@ -18,7 +18,7 @@ package org.fortiss.af3.platform.raspberry.ui.editor.visual;
import static javafx.scene.paint.Color.BLACK;
import static javafx.scene.text.TextAlignment.CENTER;
import static org.eclipse.wb.swt.SWTResourceManager.getColor;
import static org.fortiss.af3.platform.ui.AF3PlatformUIActivator.PLUGIN_ID;
import static org.fortiss.af3.platform.raspberry.ui.AF3PlatformRaspberryUIActivator.PLUGIN_ID;
import static org.fortiss.af3.platform.ui.DefaultStyle.EU_FOREGROUND;
import static org.fortiss.tooling.common.ui.javafx.util.GraphicUtils.convertColor;
import static org.fortiss.tooling.common.ui.javafx.util.GraphicUtils.getFXImage;
......@@ -41,7 +41,7 @@ import javafx.scene.text.TextAlignment;
public final class CanBusTransmissionUnitVisual
extends NamedLayoutedRectangularContentVisual<CanBus> {
/** The icon image. */
private static final Image ICON = getFXImage(PLUGIN_ID, "/icons/unknown.png");
private static final Image ICON = getFXImage(PLUGIN_ID, "/icons/can-logo.jpeg");
/** The fill color used by CanBusTransmissionUnitVisual. */
private static final Color FILL_COLOR = convertColor(getColor(47, 86, 233));
/** The foreground color used by CanBusTransmissionUnitVisual. */
......
......@@ -17,7 +17,7 @@ package org.fortiss.af3.platform.raspberry.ui.editor.visual;
import static javafx.scene.paint.Color.BLACK;
import static javafx.scene.text.TextAlignment.CENTER;
import static org.fortiss.af3.platform.ui.AF3PlatformUIActivator.PLUGIN_ID;
import static org.fortiss.af3.platform.raspberry.ui.AF3PlatformRaspberryUIActivator.PLUGIN_ID;
import static org.fortiss.af3.platform.ui.DefaultStyle.EU_BACKGROUND;
import static org.fortiss.af3.platform.ui.DefaultStyle.EU_FOREGROUND;
import static org.fortiss.tooling.common.ui.javafx.util.GraphicUtils.convertColor;
......@@ -42,7 +42,7 @@ public final class RaspberryPiExecutionUnitVisual
extends NamedLayoutedRectangularContentVisual<RaspberryPi> {
/** The icon image. */
private static final Image ICON = getFXImage(PLUGIN_ID, "/icons/unknown.png");
private static final Image ICON = getFXImage(PLUGIN_ID, "/icons/raspberry-pi-logo.png");
/** The fill color used by RaspberryPis. */
private static final Color FILL_COLOR = convertColor(EU_BACKGROUND);
/** The foreground color used by RaspberryPis. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment