mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-614 Update icons for study actions for Python
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 411 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 474 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 393 B |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 421 B |
+1
-1
@@ -23,7 +23,7 @@ public abstract class StudyCheckAction extends StudyActionWithShortcut {
|
||||
protected Ref<Boolean> myCheckInProgress = new Ref<>(false);
|
||||
|
||||
public StudyCheckAction() {
|
||||
super("Check Task (" + KeymapUtil.getShortcutText(new KeyboardShortcut(KeyStroke.getKeyStroke(SHORTCUT), null)) + ")", "Check current task", InteractiveLearningIcons.Resolve);
|
||||
super("Check Task (" + KeymapUtil.getShortcutText(new KeyboardShortcut(KeyStroke.getKeyStroke(SHORTCUT), null)) + ")", "Check current task", InteractiveLearningIcons.CheckTask);
|
||||
}
|
||||
|
||||
public abstract void check(@NotNull final Project project);
|
||||
|
||||
+3
-2
@@ -1,6 +1,5 @@
|
||||
package com.jetbrains.edu.learning.actions;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.projectView.ProjectView;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.KeyboardShortcut;
|
||||
@@ -33,6 +32,7 @@ import com.jetbrains.edu.learning.courseFormat.StudyStatus;
|
||||
import com.jetbrains.edu.learning.courseFormat.TaskFile;
|
||||
import com.jetbrains.edu.learning.editor.StudyEditor;
|
||||
import com.jetbrains.edu.learning.navigation.StudyNavigator;
|
||||
import icons.InteractiveLearningIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -44,7 +44,8 @@ public class StudyRefreshTaskFileAction extends StudyActionWithShortcut {
|
||||
private static final Logger LOG = Logger.getInstance(StudyRefreshTaskFileAction.class.getName());
|
||||
|
||||
public StudyRefreshTaskFileAction() {
|
||||
super("Reset Task File (" + KeymapUtil.getShortcutText(new KeyboardShortcut(KeyStroke.getKeyStroke(SHORTCUT), null)) + ")", "Refresh current task", AllIcons.Actions.Refresh);
|
||||
super("Reset Task File (" + KeymapUtil.getShortcutText(new KeyboardShortcut(KeyStroke.getKeyStroke(SHORTCUT), null)) + ")", "Refresh current task",
|
||||
InteractiveLearningIcons.ResetTaskFile);
|
||||
}
|
||||
|
||||
public static void refresh(@NotNull final Project project) {
|
||||
|
||||
@@ -13,13 +13,14 @@ public class InteractiveLearningIcons {
|
||||
return IconLoader.getIcon(path, InteractiveLearningIcons.class);
|
||||
}
|
||||
|
||||
public static final Icon CheckTask = load("/icons/com/jetbrains/edu/learning/CheckTask.png"); // 16x16
|
||||
public static final Icon Course = load("/icons/com/jetbrains/edu/learning/Course.png"); // 16x16
|
||||
public static final Icon CourseProgress = load("/icons/com/jetbrains/edu/learning/CourseProgress.png"); // 13x13
|
||||
public static final Icon InterpreterGear = load("/icons/com/jetbrains/edu/learning/interpreterGear.png"); // 16x16
|
||||
public static final Icon Lesson = load("/icons/com/jetbrains/edu/learning/Lesson.png"); // 16x16
|
||||
public static final Icon LessonCompl = load("/icons/com/jetbrains/edu/learning/LessonCompl.png"); // 16x16
|
||||
public static final Icon Prev = load("/icons/com/jetbrains/edu/learning/prev.png"); // 16x16
|
||||
public static final Icon Resolve = load("/icons/com/jetbrains/edu/learning/resolve.png"); // 16x16
|
||||
public static final Icon ResetTaskFile = load("/icons/com/jetbrains/edu/learning/ResetTaskFile.png"); // 16x16
|
||||
public static final Icon Sandbox = load("/icons/com/jetbrains/edu/learning/Sandbox.png"); // 16x16
|
||||
public static final Icon ShowHint = load("/icons/com/jetbrains/edu/learning/showHint.png"); // 16x16
|
||||
public static final Icon Task = load("/icons/com/jetbrains/edu/learning/Task.png"); // 16x16
|
||||
|
||||
Reference in New Issue
Block a user