package jetbrains.mps.lang.editor.editor;

/*Generated by MPS */

import java.awt.Color;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.editor.behavior.EditorCellModel__BehaviorDescriptor;

public class _EditorUtil {
  public static Color grayIfNotSelectable(SNode cellModel) {
    if (!((boolean) EditorCellModel__BehaviorDescriptor.isSelectable_idhJF6SX1.invoke(cellModel))) {
      return new Color(230, 230, 230);
    }
    return null;
  }
}
