new editing mode for task description panel
[idea/community.git] / python / educational-core / student / src / com / jetbrains / edu / learning / actions / StudyActionWithShortcut.java
1 package com.jetbrains.edu.learning.actions;
2
3 import com.intellij.openapi.project.DumbAwareAction;
4 import org.jetbrains.annotations.NotNull;
5 import org.jetbrains.annotations.Nullable;
6
7 import javax.swing.*;
8
9 public abstract class StudyActionWithShortcut extends DumbAwareAction {
10
11   public StudyActionWithShortcut(@Nullable String text, @Nullable String description, @Nullable Icon icon) {
12     super(text, description, icon);
13   }
14
15   @NotNull
16   public abstract String getActionId();
17   
18   @Nullable
19   public abstract String[] getShortcuts();
20 }