private EditorCell createConstant_j22tlf_k0(EditorContext editorContext, SNode node) { EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "}"); editorCell.setCellId("Constant_j22tlf_k0"); Style style = new StyleImpl(); BaseLanguageStyle_StyleSheet.apply_RightBrace(style, editorCell); editorCell.getStyle().putAll(style); Delete_Loop.setCellActions(editorCell, node, editorContext); editorCell.setDefaultText(""); return editorCell; }
private EditorCell createConstant_j22tlf_i0(EditorContext editorContext, SNode node) { EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "{"); editorCell.setCellId("Constant_j22tlf_i0"); Style style = new StyleImpl(); BaseLanguageStyle_StyleSheet.apply_LeftBrace(style, editorCell); style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, 0, true); editorCell.getStyle().putAll(style); Delete_Loop.setCellActions(editorCell, node, editorContext); editorCell.setDefaultText(""); return editorCell; }
private EditorCell createConstant_j22tlf_c0(EditorContext editorContext, SNode node) { EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "for"); editorCell.setCellId("Constant_j22tlf_c0"); Style style = new StyleImpl(); BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell); style.set(StyleAttributes.EDITABLE, 0, true); style.set(StyleAttributes.RT_ANCHOR_TAG, 0, "ext_1_RTransform"); editorCell.getStyle().putAll(style); Delete_Loop.setCellActions(editorCell, node, editorContext); editorCell.setDefaultText(""); editorCell.setSubstituteInfo( new CompositeSubstituteInfo( editorContext, new BasicCellContext(node), new SubstituteInfoPartExt[] { new ForeachStatement_Editor.ReplaceWith_IfStatement_cellMenu_j22tlf_a0c0(), new ForeachStatement_Editor.ReplaceWith_WhileStatement_cellMenu_j22tlf_b0c0(), new ForeachStatement_Editor.ReplaceWith_DoWhileStatement_cellMenu_j22tlf_c0c0(), new ForeachStatement_Editor.ReplaceWith_ForStatement_cellMenu_j22tlf_d0c0() })); return editorCell; }