示例#1
0
 @Override
 public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) {
   return RefactoringUtil.isApplicable(
       RefactoringUtil.getRefactoringByClassName(
           "jetbrains.mps.baseLanguage.refactorings" + "." + "MakeFieldStatic"),
       ((SNode) MapSequence.fromMap(_params).get("target")));
 }
 public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) {
   return RefactoringUtil.isApplicable(
       RefactoringUtil.getRefactoringByClassName(
           "jetbrains.mps.lang.structure.refactorings" + "." + "MovePropertyUp"),
       ((SNode) MapSequence.fromMap(_params).get("target")));
 }