@Override
 public EditorCell createSeparatorCell(
     EditorContext editorContext, SNode prevNode, SNode nextNode) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, this.getOwner(), ",");
   editorCell.setSelectable(false);
   Style style = new StyleImpl();
   style.set(StyleAttributes.LAYOUT_CONSTRAINT, "");
   style.set(StyleAttributes.PUNCTUATION_LEFT, true);
   editorCell.getStyle().putAll(style);
   editorCell.setAction(CellActionType.BACKSPACE, new CellAction_DeleteNode(prevNode));
   editorCell.setAction(CellActionType.DELETE, new CellAction_DeleteNode(prevNode));
   return editorCell;
 }
 private EditorCell createConstant_vwvhta_a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "");
   editorCell.setCellId("Constant_vwvhta_a");
   editorCell.setBig(true);
   Style style = new StyleImpl();
   style.set(StyleAttributes.EDITABLE, 0, true);
   editorCell.getStyle().putAll(style);
   editorCell.setAction(CellActionType.COMMENT, new CellAction_Comment(node));
   editorCell.setDefaultText("");
   return editorCell;
 }
예제 #3
0
 private EditorCell createConstant_7h2wce_a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "");
   editorCell.setCellId("Constant_7h2wce_a");
   editorCell.setBig(true);
   Style style = new StyleImpl();
   style.set(StyleAttributes.EDITABLE, 0, true);
   editorCell.getStyle().putAll(style);
   editorCell.setAction(CellActionType.COMMENT, new CellAction_Comment(node));
   Statement_Actions.setCellActions(editorCell, node, editorContext);
   editorCell.addKeyMap(new MakeTypeArray());
   editorCell.setDefaultText("");
   return editorCell;
 }