package jetbrains.mps.lang.editor.editorTest.editor; /*Generated by MPS */ import jetbrains.mps.openapi.editor.cells.EditorCell; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.openapi.editor.EditorContext; import jetbrains.mps.openapi.editor.cells.CellActionType; import jetbrains.mps.editor.runtime.cells.AbstractCellAction; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; public class SideTransformWrapperActionMap { public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) { editorCell.setAction(CellActionType.RIGHT_TRANSFORM, new SideTransformWrapperActionMap.SideTransformWrapperActionMap_RIGHT_TRANSFORM(node)); } public static class SideTransformWrapperActionMap_RIGHT_TRANSFORM extends AbstractCellAction { /*package*/ SNode myNode; public SideTransformWrapperActionMap_RIGHT_TRANSFORM(SNode node) { this.myNode = node; } public void execute(EditorContext editorContext) { this.execute_internal(editorContext, this.myNode); } public void execute_internal(EditorContext editorContext, SNode node) { SPropertyOperations.set(node, MetaAdapterFactory.getProperty(0x81f0abb8d71e4d13L, 0xa0c1d2291fbb28b7L, 0x46eb259b12ef5172L, 0x46eb259b12ef5179L, "rightOpen"), "" + (true)); } } }