File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
flutter-idea/src/io/flutter/toolwindow Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ Wagner Silvestre <wagner1343@outlook.com>
24
24
Eli Albert <crasowas@gmail.com>
25
25
Mohamed El Sayed <devblooming@tutanota.com>
26
26
Edwin Ludik <edwin.ludik@gmail.com>
27
+ Japnit Singh <truejswalia@gmail.com>
Original file line number Diff line number Diff line change 18
18
import java .awt .Paint ;
19
19
import java .util .Objects ;
20
20
import javax .swing .Icon ;
21
+
21
22
public class ToolWindowBadgeUpdater {
22
23
public static final Paint BADGE_PAINT = Color .decode ("#5ca963" );
24
+
25
+ /**
26
+ * Updates the tool window icons for RUN or DEBUG mode with a green badge.
27
+ *
28
+ * @param app The FlutterApp instance running in a given mode.
29
+ * @param project The current IntelliJ project context.
30
+ */
23
31
public static void updateBadgedIcon (FlutterApp app , Project project ) {
24
32
final ToolWindowManager manager = ToolWindowManager .getInstance (Objects .requireNonNull (project ));
25
33
final ToolWindow runToolWindow = manager .getToolWindow (ToolWindowId .RUN );
You can’t perform that action at this time.
0 commit comments