From fe2c6b6f3a2915ed8990ea1749ee092b2874d581 Mon Sep 17 00:00:00 2001 From: "Leo.Qin" Date: Thu, 11 Jan 2024 09:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=20REPORT-107973=20=E5=B7=A5=E5=85=B7=E6=A0=8F?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=BC=8F=E4=BA=86=E4=B8=80=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/actions/community/CenterAction.java | 3 ++- .../src/main/java/com/fr/design/actions/edit/UndoAction.java | 3 ++- .../com/fr/design/actions/server/PlatformManagerAction.java | 2 ++ .../com/fine/theme/icon/toolbar/servicePlatform.svg | 5 +++++ .../com/fine/theme/icon/toolbar/servicePlatform_disable.svg | 5 +++++ 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100755 designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform.svg create mode 100755 designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform_disable.svg diff --git a/designer-base/src/main/java/com/fr/design/actions/community/CenterAction.java b/designer-base/src/main/java/com/fr/design/actions/community/CenterAction.java index f3c5320bfd..ed5e0545a7 100644 --- a/designer-base/src/main/java/com/fr/design/actions/community/CenterAction.java +++ b/designer-base/src/main/java/com/fr/design/actions/community/CenterAction.java @@ -1,5 +1,6 @@ package com.fr.design.actions.community; +import com.fine.theme.icon.LazyIcon; import com.fr.design.i18n.LocaleLinkProvider; import com.fr.design.menu.MenuKeySet; @@ -24,7 +25,7 @@ public class CenterAction extends UpAction { this.setMenuKeySet(CENTER); this.setName(getMenuKeySet().getMenuName()); this.setMnemonic(getMenuKeySet().getMnemonic()); - this.setSmallIcon("actCenter"); + this.setSmallIcon(new LazyIcon("actCenter")); } @Override diff --git a/designer-base/src/main/java/com/fr/design/actions/edit/UndoAction.java b/designer-base/src/main/java/com/fr/design/actions/edit/UndoAction.java index 553ec47a89..af980571d8 100644 --- a/designer-base/src/main/java/com/fr/design/actions/edit/UndoAction.java +++ b/designer-base/src/main/java/com/fr/design/actions/edit/UndoAction.java @@ -3,6 +3,7 @@ */ package com.fr.design.actions.edit; +import com.fine.theme.icon.LazyIcon; import com.fr.design.DesignerEnvManager; import com.fr.design.actions.TemplateComponentActionInterface; import com.fr.design.actions.UpdateAction; @@ -22,7 +23,7 @@ public class UndoAction extends UpdateAction implements TemplateComponentActionI this.setMenuKeySet(KeySetUtils.UNDO); this.setName(getMenuKeySet().getMenuKeySetName()); this.setMnemonic(getMenuKeySet().getMnemonic()); - this.setSmallIcon("monochrome_undo"); + this.setSmallIcon(new LazyIcon("monochrome_undo")); this.setAccelerator(getMenuKeySet().getKeyStroke()); } diff --git a/designer-base/src/main/java/com/fr/design/actions/server/PlatformManagerAction.java b/designer-base/src/main/java/com/fr/design/actions/server/PlatformManagerAction.java index d1e2f6f52d..18a73cbbe9 100644 --- a/designer-base/src/main/java/com/fr/design/actions/server/PlatformManagerAction.java +++ b/designer-base/src/main/java/com/fr/design/actions/server/PlatformManagerAction.java @@ -1,9 +1,11 @@ package com.fr.design.actions.server; +import com.fine.theme.icon.LazyIcon; import com.fr.design.actions.UpdateAction; import com.fr.design.menu.MenuKeySet; import com.fr.design.utils.DesignUtils; +import javax.swing.KeyStroke; import java.awt.event.ActionEvent; public class PlatformManagerAction extends UpdateAction { diff --git a/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform.svg b/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform.svg new file mode 100755 index 0000000000..28581feee0 --- /dev/null +++ b/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform.svg @@ -0,0 +1,5 @@ + + + diff --git a/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform_disable.svg b/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform_disable.svg new file mode 100755 index 0000000000..be8bc822b3 --- /dev/null +++ b/designer-base/src/main/resources/com/fine/theme/icon/toolbar/servicePlatform_disable.svg @@ -0,0 +1,5 @@ + + +