mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-258 Actions names in the keymap are not consistent to other names
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
<add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
|
||||
<add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
|
||||
</action>
|
||||
<action id="CCRunTests" class="org.jetbrains.plugins.coursecreator.actions.CCRunTestsAction" text="Run tests" description="Run tests"/>
|
||||
<action id="CCRunTests" class="org.jetbrains.plugins.coursecreator.actions.CCRunTestsAction" text="Run Tests" description="Run tests"/>
|
||||
</actions>
|
||||
|
||||
</idea-plugin>
|
||||
+1
-1
@@ -24,7 +24,7 @@ public class CCAddTaskWindow extends DumbAwareAction {
|
||||
private static final Logger LOG = Logger.getInstance(CCAddTaskWindow.class);
|
||||
|
||||
public CCAddTaskWindow() {
|
||||
super("Add problem to solve", "Add problem to solve", null);
|
||||
super("Add Problem To Solve", "Add problem to solve", null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import javax.swing.*;
|
||||
|
||||
public class CCChangeCourseInfo extends DumbAwareAction {
|
||||
public CCChangeCourseInfo() {
|
||||
super("Change Course information", "Change Course Information", null);
|
||||
super("Change Course Information", "Change Course Information", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ public class CCDeleteTaskWindow extends CCTaskWindowAction {
|
||||
private static final Logger LOG = Logger.getInstance(CCDeleteTaskWindow.class);
|
||||
|
||||
public CCDeleteTaskWindow() {
|
||||
super("Delete problem","Delete problem", null);
|
||||
super("Delete Problem","Delete problem", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ public class CCShowPreview extends DumbAwareAction {
|
||||
private static final Logger LOG = Logger.getInstance(CCShowPreview.class.getName());
|
||||
|
||||
public CCShowPreview() {
|
||||
super("Show preview","Show preview", null);
|
||||
super("Show Preview","Show preview", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import org.jetbrains.plugins.coursecreator.ui.CreateTaskWindowDialog;
|
||||
public class CCShowTaskWindowDetails extends CCTaskWindowAction {
|
||||
|
||||
public CCShowTaskWindowDetails() {
|
||||
super("Show problem details", "Show problem details", null);
|
||||
super("Show Problem Details", "Show problem details", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -40,24 +40,27 @@
|
||||
</application-components>
|
||||
|
||||
<actions>
|
||||
<action id="CheckAction" class="com.jetbrains.python.edu.actions.StudyCheckAction" text="check"
|
||||
description="Runs tests for current tasks">
|
||||
<action id="CheckAction" class="com.jetbrains.python.edu.actions.StudyCheckAction" text="Check Task"
|
||||
description="Check current task">
|
||||
</action>
|
||||
<action id="PrevWindowAction" class="com.jetbrains.python.edu.actions.StudyPrevWindowAction" text="PrevWindowAction" description="prev">
|
||||
<action id="PrevWindowAction" class="com.jetbrains.python.edu.actions.StudyPrevWindowAction" text="Previous Task Window"
|
||||
description="Navigate to previous task window">
|
||||
</action>
|
||||
|
||||
<action id="NextWindow" class="com.jetbrains.python.edu.actions.StudyNextWindowAction" text="NextWindowAction" description="next">
|
||||
<action id="NextWindow" class="com.jetbrains.python.edu.actions.StudyNextWindowAction" text="Next Task Window"
|
||||
description="Navigate to next task window">
|
||||
</action>
|
||||
<action id="NextTaskAction" class="com.jetbrains.python.edu.actions.StudyNextStudyTaskAction" text="NextTaskAction" description="Next Task"/>
|
||||
<action id="PreviousTaskAction" class="com.jetbrains.python.edu.actions.StudyPreviousStudyTaskAction" text="PreviousTaskAction"
|
||||
description="Previous Task"/>
|
||||
<action id="RefreshTaskAction" class="com.jetbrains.python.edu.actions.StudyRefreshTaskFileAction" text="RefreshTaskAction"
|
||||
<action id="PreviousTaskAction" class="com.jetbrains.python.edu.actions.StudyPreviousStudyTaskAction" text="Previous Task"
|
||||
description="Navigate to previous task"/>
|
||||
<action id="NextTaskAction" class="com.jetbrains.python.edu.actions.StudyNextStudyTaskAction" text="Next Task"
|
||||
description="Navigate to next task"/>
|
||||
<action id="RefreshTaskAction" class="com.jetbrains.python.edu.actions.StudyRefreshTaskFileAction" text="Reset Task File"
|
||||
description="Refresh current task"/>
|
||||
<action id="WatchInputAction" class="com.jetbrains.python.edu.actions.StudyEditInputAction" text="WatchInputAction"
|
||||
description="watch input"/>
|
||||
<action id="ShowHintAction" class="com.jetbrains.python.edu.actions.StudyShowHintAction" text="Show hint"
|
||||
description="Show hint"/>
|
||||
<action id="StudyRunAction" class="com.jetbrains.python.edu.actions.StudyRunAction" text="StudyRunAction" description="run your code"/>
|
||||
<action id="WatchInputAction" class="com.jetbrains.python.edu.actions.StudyEditInputAction" text="Watch Test Input"
|
||||
description="Watch test input "/>
|
||||
<action id="ShowHintAction" class="com.jetbrains.python.edu.actions.StudyShowHintAction" text="Show Hint For Task Window"
|
||||
description="Show hint for task window"/>
|
||||
<action id="StudyRunAction" class="com.jetbrains.python.edu.actions.StudyRunAction" text="Run File With Tests"
|
||||
description="Run your code with tests"/>
|
||||
<action id="WelcomeScreen.PythonIntro" class="com.jetbrains.python.edu.actions.StudyIntroductionCourseAction" icon="StudyIcons.EducationalProjectType">
|
||||
<add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
|
||||
</action>
|
||||
|
||||
@@ -192,11 +192,11 @@ public class StudyEditor implements TextEditor {
|
||||
}
|
||||
|
||||
private void initializeButtons(@NotNull final JPanel taskActionsPanel, @NotNull final TaskFile taskFile) {
|
||||
myCheckButton = addButton(taskActionsPanel, "Check task (Ctrl + Alt + Enter)", StudyIcons.Resolve);
|
||||
myPrevTaskButton = addButton(taskActionsPanel, "Previous task (Ctrl + <)", StudyIcons.Prev);
|
||||
myNextTaskButton = addButton(taskActionsPanel, "Next task (Ctrl + >)", AllIcons.Actions.Forward);
|
||||
myRefreshButton = addButton(taskActionsPanel, "Reset task file (Ctrl + Shift + X)", AllIcons.Actions.Refresh);
|
||||
JButton myShowHintButton = addButton(taskActionsPanel, "Show hint for task window (Ctrl + 7)", StudyIcons.ShowHint);
|
||||
myCheckButton = addButton(taskActionsPanel, "Check Task (Ctrl + Alt + Enter)", StudyIcons.Resolve);
|
||||
myPrevTaskButton = addButton(taskActionsPanel, "Previous Task (Ctrl + <)", StudyIcons.Prev);
|
||||
myNextTaskButton = addButton(taskActionsPanel, "Next Task (Ctrl + >)", AllIcons.Actions.Forward);
|
||||
myRefreshButton = addButton(taskActionsPanel, "Reset Task File (Ctrl + Shift + X)", AllIcons.Actions.Refresh);
|
||||
JButton myShowHintButton = addButton(taskActionsPanel, "Show Hint For Task Window (Ctrl + 7)", StudyIcons.ShowHint);
|
||||
if (!taskFile.getTask().getUserTests().isEmpty()) {
|
||||
JButton runButton = addButton(taskActionsPanel, "Run", AllIcons.General.Run);
|
||||
runButton.addActionListener(new ActionListener() {
|
||||
@@ -206,7 +206,7 @@ public class StudyEditor implements TextEditor {
|
||||
studyRunAction.run(myProject);
|
||||
}
|
||||
});
|
||||
JButton watchInputButton = addButton(taskActionsPanel, "Watch test input", StudyIcons.WatchInput);
|
||||
JButton watchInputButton = addButton(taskActionsPanel, "Watch Test Input", StudyIcons.WatchInput);
|
||||
watchInputButton.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user