コード例 #1
0
 private EditorCell createCollection_ffwlke_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_ffwlke_a");
   editorCell.setBig(true);
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_Comment(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setAction(CellActionType.COMMENT, new CellAction_Comment(node));
   editorCell.addEditorCell(this.createConstant_ffwlke_a0(editorContext, node));
   editorCell.addEditorCell(this.createNextEditor_ffwlke_b0(editorContext, node));
   return editorCell;
 }
コード例 #2
0
 private EditorCell createConstant_c9bxgq_b0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "");
   editorCell.setCellId("Constant_c9bxgq_b0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_Comment(style, editorCell);
   style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
   style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
   editorCell.getStyle().putAll(style);
   AddCustomSetterToDefaultGetter.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }