package jetbrains.mps.baseLanguage.collections.editor;

/*Generated by MPS */

import jetbrains.mps.editor.runtime.style.AbstractStyleClass;
import jetbrains.mps.openapi.editor.EditorContext;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.editor.runtime.descriptor.EditorBuilderEnvironment;
import jetbrains.mps.openapi.editor.style.Style;
import jetbrains.mps.openapi.editor.cells.EditorCell;
import jetbrains.mps.editor.runtime.style.StyleAttributes;
import jetbrains.mps.nodeEditor.MPSFonts;

public class Collections_Style_StyleSheet {
  public static class OperationStyleClass extends AbstractStyleClass {
    public OperationStyleClass(EditorContext editorContext, SNode node) {
      super(editorContext, node);
    }
    public OperationStyleClass(EditorBuilderEnvironment builderEnv) {
      super(builderEnv);
    }

    @Override
    public void apply(Style style, EditorCell editorCell) {
      style.set(StyleAttributes.FONT_STYLE, MPSFonts.BOLD);
    }

  }
  public static class AngleBracketStyleClass extends AbstractStyleClass {
    public AngleBracketStyleClass(EditorContext editorContext, SNode node) {
      super(editorContext, node);
    }
    public AngleBracketStyleClass(EditorBuilderEnvironment builderEnv) {
      super(builderEnv);
    }

    @Override
    public void apply(Style style, EditorCell editorCell) {
      style.set(StyleAttributes.MATCHING_LABEL, "AngleBracket");
      style.set(StyleAttributes.INDENT_LAYOUT_NO_WRAP, true);
    }

  }
  public static class LeftAngleBracketStyleClass extends AbstractStyleClass {
    public LeftAngleBracketStyleClass(EditorContext editorContext, SNode node) {
      super(editorContext, node);
    }
    public LeftAngleBracketStyleClass(EditorBuilderEnvironment builderEnv) {
      super(builderEnv);
    }

    @Override
    public void apply(Style style, EditorCell editorCell) {
      new AngleBracketStyleClass(this).apply(style, editorCell);
      style.set(StyleAttributes.PUNCTUATION_LEFT, true);
      style.set(StyleAttributes.PUNCTUATION_RIGHT, true);
    }

  }
  public static class RightAngleBracketStyleClass extends AbstractStyleClass {
    public RightAngleBracketStyleClass(EditorContext editorContext, SNode node) {
      super(editorContext, node);
    }
    public RightAngleBracketStyleClass(EditorBuilderEnvironment builderEnv) {
      super(builderEnv);
    }

    @Override
    public void apply(Style style, EditorCell editorCell) {
      new AngleBracketStyleClass(this).apply(style, editorCell);
      style.set(StyleAttributes.PUNCTUATION_LEFT, true);
    }

  }
}
