package jetbrains.mps.lang.core.editor; /*Generated by MPS */ import jetbrains.mps.openapi.editor.style.Style; import jetbrains.mps.openapi.editor.cells.EditorCell; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.openapi.editor.EditorContext; import jetbrains.mps.editor.runtime.style.AbstractStyleClass; import jetbrains.mps.lang.core.editor.BaseKeyPack_KeyPack.LINE_COMMENT_StyleKey; public class BaseStyles_StyleSheet { /** * * @deprecated Since MPS 3.5 use generated StyleClass */ @Deprecated public static void apply_StubImplementation(Style style, EditorCell editorCell) { SNode node = (editorCell == null ? null : editorCell.getSNode()); EditorContext editorContext = (editorCell == null ? null : editorCell.getContext()); new BaseStyles_StyleSheet.StubImplementationStyleClass(editorContext, node).apply(style, editorCell); } public static class StubImplementationStyleClass extends AbstractStyleClass { public StubImplementationStyleClass(EditorContext editorContext, SNode node) { super(editorContext, node); } @Override public void apply(Style style, EditorCell editorCell) { new LINE_COMMENT_StyleKey(1).apply(style); } } }