mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
separate extract interface and extract module actions, fixed ctrl-shift-a
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package com.intellij.refactoring.extractInterface;
|
||||
|
||||
import com.intellij.refactoring.actions.BaseExtractModuleAction;
|
||||
import com.intellij.lang.Language;
|
||||
import com.intellij.lang.java.JavaLanguage;
|
||||
|
||||
/**
|
||||
* @author Dennis.Ushakov
|
||||
*/
|
||||
public class ExtractInterfaceAction extends BaseExtractModuleAction {
|
||||
|
||||
@Override
|
||||
protected boolean isEnabledOnLanguage(Language language) {
|
||||
return language instanceof JavaLanguage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user