package jetbrains.mps.lang.editor.test.generation.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; public class TestTargetStyleSheet_StyleSheet { /** * * @deprecated Since MPS 3.5 use generated StyleClass */ @Deprecated public static void apply_testStyle(Style style, EditorCell editorCell) { SNode node = (editorCell == null ? null : editorCell.getSNode()); EditorContext editorContext = (editorCell == null ? null : editorCell.getContext()); new TestTargetStyleSheet_StyleSheet.testStyleStyleClass(editorContext, node).apply(style, editorCell); } /** * * @deprecated Since MPS 3.5 use generated StyleClass */ @Deprecated public static void apply_testParentStyle(Style style, EditorCell editorCell) { SNode node = (editorCell == null ? null : editorCell.getSNode()); EditorContext editorContext = (editorCell == null ? null : editorCell.getContext()); new TestTargetStyleSheet_StyleSheet.testParentStyleStyleClass(editorContext, node).apply(style, editorCell); } public static class testStyleStyleClass extends AbstractStyleClass { public testStyleStyleClass(EditorContext editorContext, SNode node) { super(editorContext, node); } @Override public void apply(Style style, EditorCell editorCell) { } } public static class testParentStyleStyleClass extends AbstractStyleClass { public testParentStyleStyleClass(EditorContext editorContext, SNode node) { super(editorContext, node); } @Override public void apply(Style style, EditorCell editorCell) { } } }