From 18d4df4f7a9b1e447be3b46d731cf76da51e3e67 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 4 Oct 2017 15:50:26 +0300 Subject: [PATCH] DSGN-4402 Icon: Debugger overhead monitor --- .../debugger/engine/JavaDebugProcess.java | 18 ++--------- platform/icons/src/debugger/overhead.png | Bin 0 -> 261 bytes platform/icons/src/debugger/overhead@2x.png | Bin 0 -> 412 bytes .../icons/src/debugger/overhead@2x_dark.png | Bin 0 -> 413 bytes platform/icons/src/debugger/overhead_dark.png | Bin 0 -> 262 bytes .../util/src/com/intellij/icons/AllIcons.java | 29 +++++++++--------- 6 files changed, 16 insertions(+), 31 deletions(-) create mode 100644 platform/icons/src/debugger/overhead.png create mode 100644 platform/icons/src/debugger/overhead@2x.png create mode 100644 platform/icons/src/debugger/overhead@2x_dark.png create mode 100644 platform/icons/src/debugger/overhead_dark.png diff --git a/java/debugger/impl/src/com/intellij/debugger/engine/JavaDebugProcess.java b/java/debugger/impl/src/com/intellij/debugger/engine/JavaDebugProcess.java index 64a202915274..66068cf283b5 100644 --- a/java/debugger/impl/src/com/intellij/debugger/engine/JavaDebugProcess.java +++ b/java/debugger/impl/src/com/intellij/debugger/engine/JavaDebugProcess.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.engine; import com.intellij.debugger.DebuggerBundle; @@ -404,7 +390,7 @@ public class JavaDebugProcess extends XDebugProcess { DebugProcessImpl process = myJavaSession.getProcess(); OverheadView monitor = new OverheadView(process); - Content overheadContent = ui.createContent("OverheadMonitor", monitor, "Overhead", AllIcons.Debugger.Db_obsolete, null); + Content overheadContent = ui.createContent("OverheadMonitor", monitor, "Overhead", AllIcons.Debugger.Overhead, null); monitor.setBouncer(() -> ui.setBouncing(overheadContent, true)); diff --git a/platform/icons/src/debugger/overhead.png b/platform/icons/src/debugger/overhead.png new file mode 100644 index 0000000000000000000000000000000000000000..d05c1594e1c0273b686774212a5912f32c104499 GIT binary patch literal 261 zcmV+g0s8)lP)^qF)q!;NQyQCu`kp$#!&WVWJ6*K8wAju4U+`9 zf)|SgyimFQ^%G_n01cRrEZKu(GcO)5@+OzJ*k` z`@+ippJdpN%>ZK@nhk*XJVEwm4!^@(a2_Sm3_1V+9_|Tc(mVt<00000 LNkvXXu0mjf9H3>- literal 0 HcmV?d00001 diff --git a/platform/icons/src/debugger/overhead@2x.png b/platform/icons/src/debugger/overhead@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..3304c1b27c23cf4cf7e00ec77ea39ef9bd61d6a3 GIT binary patch literal 412 zcmV;N0b~A&P)1p=5JhzXfofN-QX6yuT_E7rkRp|PlMCzt1g_)8ozn(#fUN@p9YII%5tKh>7S_wo zTJerL4ZOzE?*IE|*4Ra{)KU}c^z~hW9cY0CU4Z3h^iHWQY$Ae>Fxf`1K_i@YDzvtF zR{SGFIApIWexVIP9kAzTc_uh^Nw}V{p3M9Rd)(Ubb}&_H;B4+d34{9yRuJESv$QZa z?IvT0jUPXR-@yRZlIvLPW#$#8Q&)6qFoLc0@-AYa&ix+Y$a@w)j=x0->X?BxJiUTA zMSf-Ro<4)P0d35H&APky!hYl$|=IA#$ApXeEE*?VP1kJ=|`Qx(Gv-JnsH?9OGImgBT0000A74 literal 0 HcmV?d00001 diff --git a/platform/icons/src/debugger/overhead@2x_dark.png b/platform/icons/src/debugger/overhead@2x_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..8c391518cc7a782ccb5bdc65897a59fc6f0798f3 GIT binary patch literal 413 zcmV;O0b>4%P)1p=5JhzXfofN-QX6yuT_BLwohx4;7uW*`QrnF?r%g!dVj*2Xpd;uAK7#Vc%)(~b zSu5UAr-9d4+Wmk3%o@8WmRf3J9p67numvr!pbN14jNU1=g-t~89wyreHfV&?PKDMs zkBYx$2#4%7#m}@Mr~~%=EYAeTE(zBY){~hpVUJroJ}=)@YT#_{Kna6;04s=Zz)4yd zn|6~i#Kw;w!aFd4wd6V$dzpEK>C_dS8jRpYdU+c$Q0IP+aO6FUzl}dd3F?@EHaxw8 zI7NPC@t!_|xB+desB@H6OujTumhKZxAXK=g@(*+4gofgo~+;l7`p z_#^|Fkvpu{_ih#gLgcRRmDhKD1486t-_;Co+C`>tYuBfloZ#lCA9=o8|}zH1p6 z6D0dSw}I2Wz9$X*^qF)q!;NQyQCu`kp$#!&WVWJ5OYJ|uwdY?vg- z6}(t1;DyTVU$S9G0nmW?$dWxsHuK`~BJaAL2XcU#?_W8XV~H#Qv)vb$W{{IXwgU10 zQwN&M{-0#nkIevM9GVS)_&iAS_C1^C05vZI;xiZq;Lw}^#P30xL52V|Hh?q}Gyv-4 z^-zr<{QkvJ%N&?yVhlKsq#5pSQVf7=M)o&W1912q=7RGmiDu9N05Ur#m(5#3pa1{> M07*qoM6N<$f<+{4eE