mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] IDEA-356958 Replace icon with debugger sync
GitOrigin-RevId: d4a874a863f03b79c1ba1788ba0a681474f1fcb7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fe7e322811
commit
34cbc3e5a0
@@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.debugger.impl.hotswap
|
||||
|
||||
import com.intellij.icons.AllIcons
|
||||
import com.intellij.util.PlatformUtils
|
||||
import com.intellij.xdebugger.impl.hotswap.HotSwapUiExtension
|
||||
import icons.PlatformDebuggerImplIcons
|
||||
import javax.swing.Icon
|
||||
|
||||
private class JvmHotSwapUiExtension : HotSwapUiExtension {
|
||||
override fun isApplicable(): Boolean = PlatformUtils.isIntelliJ()
|
||||
|
||||
override val hotSwapIcon: Icon
|
||||
get() = AllIcons.Actions.Rebuild
|
||||
get() = PlatformDebuggerImplIcons.Actions.DebuggerSync
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_16788_11897)">
|
||||
<path d="M8.5 8C8.77614 8 9 8.22386 9 8.5V9.326L9.181 9.16238C9.90358 8.44447 10.9005 8 12.0002 8C13.1046 8 14.1053 8.44826 14.8286 9.17157C15.1887 9.5316 15.4806 9.96029 15.6831 10.4368C15.8159 10.7493 15.9101 11.0822 15.9597 11.4292C15.9988 11.7026 15.8089 11.9559 15.5356 11.995C15.2622 12.0341 15.0089 11.8442 14.9698 11.5708C14.9326 11.3108 14.8621 11.0617 14.7627 10.8279C14.6111 10.4711 14.3922 10.1493 14.1215 9.87868C13.5781 9.33524 12.8288 9 12.0002 9C11.1716 9 10.4223 9.33524 9.87888 9.87868L9.86997 9.88759L9.74562 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H8.5C8.22386 11 8 10.7761 8 10.5V8.5C8 8.22386 8.22386 8 8.5 8Z" fill="#3574F0"/>
|
||||
<path d="M8.46491 12.005C8.73827 11.9659 8.99157 12.1558 9.03067 12.4292C9.12449 13.0851 9.43079 13.6732 9.87894 14.1213C10.4224 14.6648 11.1717 15 12.0003 15C12.8288 15 13.5781 14.6648 14.1216 14.1213L14.1305 14.1124L14.2487 14H13.5C13.2239 14 13 13.7761 13 13.5C13 13.2239 13.2239 13 13.5 13H15.5C15.7761 13 16 13.2239 16 13.5V15.5C16 15.7761 15.7761 16 15.5 16C15.2239 16 15 15.7761 15 15.5V14.6657L14.8241 14.833C14.1011 15.5536 13.1024 16 12.0003 16C10.8958 16 9.89515 15.5517 9.17184 14.8284C8.57574 14.2323 8.16618 13.4477 8.04075 12.5708C8.00165 12.2974 8.19155 12.0441 8.46491 12.005Z" fill="#3574F0"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.30078 4.19998C5.30078 4.27878 5.30416 4.3568 5.31077 4.43389C4.839 4.69436 4.43376 5.06054 4.12699 5.5005L2.01731 4.3602C1.77438 4.2289 1.47101 4.31939 1.3397 4.56231C1.2084 4.80524 1.29889 5.10862 1.54181 5.23992L3.67814 6.39462C3.56257 6.74208 3.5 7.11373 3.5 7.5V8.5H1.09961C0.823467 8.5 0.599609 8.72386 0.599609 9C0.599609 9.27614 0.823467 9.5 1.09961 9.5H3.5V10C3.5 10.4891 3.57802 10.9599 3.72229 11.4008L1.52989 12.6665C1.29075 12.8046 1.20881 13.1104 1.34688 13.3496C1.48495 13.5887 1.79075 13.6706 2.02989 13.5326L4.13995 12.3143C4.87222 13.5331 6.16533 14.3765 7.66229 14.4875C7.46893 14.1509 7.31341 13.7893 7.20179 13.4086C5.65341 13.0474 4.5 11.6584 4.5 10V7.5C4.5 6.11929 5.61929 5 7 5H9C10.2198 5 11.2356 5.87365 11.4558 7.02938C11.6346 7.00997 11.8163 7 12.0002 7C12.1578 7 12.3137 7.00732 12.4676 7.02162C12.4381 6.80571 12.3889 6.59608 12.3219 6.39458L14.4551 5.23993C14.698 5.10848 14.7883 4.80506 14.6569 4.5622C14.5254 4.31935 14.222 4.22904 13.9791 4.36048L11.873 5.50046C11.5665 5.06098 11.1618 4.69512 10.6907 4.43472C10.6974 4.35736 10.7008 4.27906 10.7008 4.19998C10.7008 2.70882 9.49195 1.5 8.00078 1.5C6.50961 1.5 5.30078 2.70882 5.30078 4.19998ZM8.00078 2.49999C7.10602 2.49999 6.37271 3.19125 6.30576 4.06885C6.53015 4.02369 6.76231 4 7 4H9C9.23825 4 9.47094 4.02381 9.69582 4.06917C9.62903 3.19141 8.89565 2.49999 8.00078 2.49999Z" fill="#6C707E"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_16788_11897">
|
||||
<rect width="16" height="16" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,13 @@
|
||||
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_16788_11895)">
|
||||
<path d="M8.5 8C8.77614 8 9 8.22386 9 8.5V9.326L9.181 9.16238C9.90358 8.44447 10.9005 8 12.0002 8C13.1046 8 14.1053 8.44826 14.8286 9.17157C15.1887 9.5316 15.4806 9.96029 15.6831 10.4368C15.8159 10.7493 15.9101 11.0822 15.9597 11.4292C15.9988 11.7026 15.8089 11.9559 15.5356 11.995C15.2622 12.0341 15.0089 11.8442 14.9698 11.5708C14.9326 11.3108 14.8621 11.0617 14.7627 10.8279C14.6111 10.4711 14.3922 10.1493 14.1215 9.87868C13.5781 9.33524 12.8288 9 12.0002 9C11.1716 9 10.4223 9.33524 9.87888 9.87868L9.86997 9.88759L9.74562 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H8.5C8.22386 11 8 10.7761 8 10.5V8.5C8 8.22386 8.22386 8 8.5 8Z" fill="#548AF7"/>
|
||||
<path d="M8.46491 12.005C8.73827 11.9659 8.99157 12.1558 9.03067 12.4292C9.12449 13.0851 9.43079 13.6732 9.87894 14.1213C10.4224 14.6648 11.1717 15 12.0003 15C12.8288 15 13.5781 14.6648 14.1216 14.1213L14.1305 14.1124L14.2487 14H13.5C13.2239 14 13 13.7761 13 13.5C13 13.2239 13.2239 13 13.5 13H15.5C15.7761 13 16 13.2239 16 13.5V15.5C16 15.7761 15.7761 16 15.5 16C15.2239 16 15 15.7761 15 15.5V14.6657L14.8241 14.833C14.1011 15.5536 13.1024 16 12.0003 16C10.8958 16 9.89515 15.5517 9.17184 14.8284C8.57574 14.2323 8.16618 13.4477 8.04075 12.5708C8.00165 12.2974 8.19155 12.0441 8.46491 12.005Z" fill="#548AF7"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.30078 4.19998C5.30078 4.27878 5.30416 4.3568 5.31077 4.43389C4.839 4.69436 4.43376 5.06054 4.12699 5.5005L2.01731 4.3602C1.77438 4.2289 1.47101 4.31939 1.3397 4.56231C1.2084 4.80524 1.29889 5.10862 1.54181 5.23992L3.67814 6.39462C3.56257 6.74208 3.5 7.11373 3.5 7.5V8.5H1.09961C0.823467 8.5 0.599609 8.72386 0.599609 9C0.599609 9.27614 0.823467 9.5 1.09961 9.5H3.5V10C3.5 10.4891 3.57802 10.9599 3.72229 11.4008L1.52989 12.6665C1.29075 12.8046 1.20881 13.1104 1.34688 13.3496C1.48495 13.5887 1.79075 13.6706 2.02989 13.5326L4.13995 12.3143C4.87222 13.5331 6.16533 14.3765 7.66229 14.4875C7.46893 14.1509 7.31341 13.7893 7.20179 13.4086C5.65341 13.0474 4.5 11.6584 4.5 10V7.5C4.5 6.11929 5.61929 5 7 5H9C10.2198 5 11.2356 5.87365 11.4558 7.02938C11.6346 7.00997 11.8163 7 12.0002 7C12.1578 7 12.3137 7.00732 12.4676 7.02162C12.4381 6.80571 12.3889 6.59608 12.3219 6.39458L14.4551 5.23993C14.698 5.10848 14.7883 4.80506 14.6569 4.5622C14.5254 4.31935 14.222 4.22904 13.9791 4.36048L11.873 5.50046C11.5665 5.06098 11.1618 4.69512 10.6907 4.43472C10.6974 4.35736 10.7008 4.27906 10.7008 4.19998C10.7008 2.70882 9.49195 1.5 8.00078 1.5C6.50961 1.5 5.30078 2.70882 5.30078 4.19998ZM8.00078 2.49999C7.10602 2.49999 6.37271 3.19125 6.30576 4.06885C6.53015 4.02369 6.76231 4 7 4H9C9.23825 4 9.47094 4.02381 9.69582 4.06917C9.62903 3.19141 8.89565 2.49999 8.00078 2.49999Z" fill="#CED0D6"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_16788_11895">
|
||||
<rect width="16" height="16" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -1,6 +0,0 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M5.22126 4.03931L4.77143 3.60747L4.44767 4.1404L4.87499 4.4C4.44767 4.1404 4.44762 4.14048 4.44756 4.14057L4.44741 4.14082L4.44699 4.14152L4.44563 4.14377L4.44092 4.1516L4.42381 4.18029C4.40911 4.20509 4.38796 4.2411 4.36128 4.28737C4.30794 4.37988 4.2324 4.51355 4.14208 4.68081C3.96165 5.01492 3.72107 5.48509 3.48016 6.0303C3.00591 7.10353 2.5 8.53361 2.5 9.8C2.5 12.5705 5.05519 14.5 8 14.5C10.9448 14.5 13.5 12.5705 13.5 9.8C13.5 7.87757 12.3167 5.81392 11.2177 4.29417C10.658 3.52025 10.0993 2.85969 9.68097 2.39277C9.47153 2.15903 9.29659 1.9731 9.17337 1.84498C9.11175 1.7809 9.06301 1.73123 9.02932 1.69723L8.99031 1.6581L8.97976 1.64763L8.97681 1.64471L8.97593 1.64384L8.97564 1.64356C8.97553 1.64345 8.97544 1.64337 8.625 2L8.97544 1.64337L8.46192 1.13875L8.16843 1.79617L6.5833 5.34686L5.22126 4.03931Z"
|
||||
stroke="#DB3B4B"/>
|
||||
<path d="M6 12C6.01294 10.9811 7.06359 9.84265 7.99986 9C8.93613 9.84265 9.98706 10.9811 10 12" stroke="#DB3B4B" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -1,6 +0,0 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M5.22126 4.03931L4.77143 3.60747L4.44767 4.1404L4.87499 4.4C4.44767 4.1404 4.44762 4.14048 4.44756 4.14057L4.44741 4.14082L4.44699 4.14152L4.44563 4.14377L4.44092 4.1516L4.42381 4.18029C4.40911 4.20509 4.38796 4.2411 4.36128 4.28737C4.30794 4.37988 4.2324 4.51355 4.14208 4.68081C3.96165 5.01492 3.72107 5.48509 3.48016 6.0303C3.00591 7.10353 2.5 8.53361 2.5 9.8C2.5 12.5705 5.05519 14.5 8 14.5C10.9448 14.5 13.5 12.5705 13.5 9.8C13.5 7.87757 12.3167 5.81392 11.2177 4.29417C10.658 3.52025 10.0993 2.85969 9.68097 2.39277C9.47153 2.15903 9.29659 1.9731 9.17337 1.84498C9.11175 1.7809 9.06301 1.73123 9.02932 1.69723L8.99031 1.6581L8.97976 1.64763L8.97681 1.64471L8.97593 1.64384L8.97564 1.64356C8.97553 1.64345 8.97544 1.64337 8.625 2L8.97544 1.64337L8.46192 1.13875L8.16843 1.79617L6.5833 5.34686L5.22126 4.03931Z"
|
||||
stroke="#DB5C5C"/>
|
||||
<path d="M6 12C6.01294 10.9811 7.06359 9.84265 7.99986 9C8.93613 9.84265 9.98706 10.9811 10 12" stroke="#DB5C5C" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
+1
-1
@@ -25,7 +25,7 @@ import javax.swing.JComponent
|
||||
import javax.swing.JPanel
|
||||
|
||||
private val hotSwapIcon: Icon by lazy {
|
||||
HotSwapUiExtension.computeSafeIfAvailable { it.hotSwapIcon } ?: PlatformDebuggerImplIcons.Actions.Hot_swap
|
||||
HotSwapUiExtension.computeSafeIfAvailable { it.hotSwapIcon } ?: PlatformDebuggerImplIcons.Actions.DebuggerSync
|
||||
}
|
||||
|
||||
private fun createHelpTooltip(): HelpTooltip =
|
||||
|
||||
@@ -17,7 +17,7 @@ public final class PlatformDebuggerImplIcons {
|
||||
}
|
||||
|
||||
public static final class Actions {
|
||||
/** 16x16 */ public static final @NotNull Icon Hot_swap = load("icons/actions/hot_swap.svg", -216570490, 2);
|
||||
/** 16x16 */ public static final @NotNull Icon DebuggerSync = load("icons/actions/debuggerSync.svg", -370007676, 2);
|
||||
}
|
||||
|
||||
public static final class MemoryView {
|
||||
|
||||
Reference in New Issue
Block a user