private EditorCell createCollection_6ko8zs_d1c0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_6ko8zs_d1c0");
   editorCell.addEditorCell(this.createConstant_6ko8zs_a3b2a(editorContext, node));
   editorCell.addEditorCell(this.createRefNodeList_6ko8zs_b3b2a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_k61n5d_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_k61n5d_a");
   editorCell.addEditorCell(this.createRefNode_k61n5d_a0(editorContext, node));
   editorCell.addEditorCell(this.createCollection_k61n5d_b0(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_col7k7_c0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_col7k7_c0");
   editorCell.addEditorCell(this.createIndentCell_col7k7_a2a(editorContext, node));
   editorCell.addEditorCell(this.createRefNodeList_col7k7_b2a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_zdgerc_a0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_zdgerc_a0");
   UI_StyleSheet.getUIObjectMargins(editorCell).apply(editorCell);
   editorCell.addEditorCell(this.createCollection_zdgerc_a0a(editorContext, node));
   return editorCell;
 }
示例#5
0
 private EditorCell createCollection_rbdq4p_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_rbdq4p_a");
   editorCell.addEditorCell(this.createConstant_rbdq4p_a0(editorContext, node));
   editorCell.addEditorCell(this.createCollection_rbdq4p_b0(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_s783cw_b0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_s783cw_b0");
   editorCell.setGridLayout(true);
   editorCell.addEditorCell(this.createRefNodeList_s783cw_a1a(editorContext, node));
   return editorCell;
 }
示例#7
0
 private EditorCell createCollection_sv9e1j_a0a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_sv9e1j_a0a");
   editorCell.addEditorCell(this.createConstant_sv9e1j_a0a0(editorContext, node));
   editorCell.addEditorCell(this.createProperty_sv9e1j_b0a0(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_2ji0fa_b1b1a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_2ji0fa_b1b1a");
   editorCell.addEditorCell(this.createConstant_2ji0fa_a1b1b0(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_2ji0fa_b1b1b0(editorContext, node));
   return editorCell;
 }
示例#9
0
 private EditorCell createCollection_ryq81t_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_ryq81t_a");
   editorCell.addEditorCell(this.createRefCell_ryq81t_a0(editorContext, node));
   editorCell.addEditorCell(this.createConstant_ryq81t_b0(editorContext, node));
   return editorCell;
 }
示例#10
0
 private EditorCell createCollection_pr8n4z_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_pr8n4z_a");
   editorCell.addEditorCell(this.createConstant_pr8n4z_a0(editorContext, node));
   editorCell.addEditorCell(this.createComponent_pr8n4z_b0(editorContext, node));
   return editorCell;
 }
示例#11
0
 private EditorCell createCollection_79r3b6_a0a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_79r3b6_a0a");
   editorCell.addEditorCell(this.createAlternation_79r3b6_a0a0(editorContext, node));
   editorCell.addEditorCell(this.createJComponent_79r3b6_b0a0(editorContext, node));
   return editorCell;
 }
示例#12
0
 private EditorCell createCollection_a79m6l_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_a79m6l_a");
   editorCell.addEditorCell(this.createConceptProperty_a79m6l_a0(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_a79m6l_b0(editorContext, node));
   return editorCell;
 }
示例#13
0
 private EditorCell createCollection_58c6e4_b0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_58c6e4_b0");
   editorCell.addEditorCell(this.createConstant_58c6e4_a1a(editorContext, node));
   editorCell.addEditorCell(this.createModelAccess_58c6e4_b1a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_1gifeu_d0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_1gifeu_d0");
   editorCell.addEditorCell(this.createRefNode_1gifeu_a3a(editorContext, node));
   editorCell.addEditorCell(this.createConstant_1gifeu_b3a(editorContext, node));
   return editorCell;
 }
示例#15
0
 private EditorCell createCollection_yxeg41_a0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_yxeg41_a0");
   editorCell.addEditorCell(this.createRefNode_yxeg41_a0a(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_yxeg41_b0a(editorContext, node));
   return editorCell;
 }
示例#16
0
 private EditorCell createCollection_avk0kx_c0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_avk0kx_c0");
   editorCell.addEditorCell(this.createConstant_avk0kx_a2a(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_avk0kx_b2a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_u416ht_d0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_u416ht_d0");
   editorCell.addEditorCell(this.createConstant_u416ht_a3a(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_u416ht_b3a(editorContext, node));
   return editorCell;
 }
示例#18
0
 private EditorCell createCollection_olrwx8_a0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_olrwx8_a0");
   editorCell.addEditorCell(this.createConstant_olrwx8_a0a(editorContext, node));
   editorCell.addEditorCell(this.createProperty_olrwx8_b0a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_cv1jro_b0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_cv1jro_b0");
   editorCell.addEditorCell(this.createConstant_cv1jro_a1a(editorContext, node));
   editorCell.addEditorCell(this.createProperty_cv1jro_b1a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_c4imx1_e0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_c4imx1_e0");
   Style style = new StyleImpl();
   style.set(StyleAttributes.SELECTABLE, 0, false);
   editorCell.getStyle().putAll(style);
   RemoveDocComment.setCellActions(editorCell, node, editorContext);
   editorCell.addEditorCell(this.createConstant_c4imx1_a4a(editorContext, node));
   if (renderingCondition_c4imx1_a1e0(node, editorContext)) {
     editorCell.addEditorCell(this.createRefNodeList_c4imx1_b4a(editorContext, node));
   }
   if (renderingCondition_c4imx1_a2e0(node, editorContext)) {
     editorCell.addEditorCell(this.createRefNodeList_c4imx1_c4a(editorContext, node));
   }
   if (renderingCondition_c4imx1_a3e0(node, editorContext)) {
     editorCell.addEditorCell(this.createRefNodeList_c4imx1_d4a(editorContext, node));
   }
   if (renderingCondition_c4imx1_a4e0(node, editorContext)) {
     editorCell.addEditorCell(this.createRefNodeList_c4imx1_e4a(editorContext, node));
   }
   if (renderingCondition_c4imx1_a5e0(node, editorContext)) {
     editorCell.addEditorCell(this.createRefNode_c4imx1_f4a(editorContext, node));
   }
   return editorCell;
 }
 private EditorCell createCollection_6zhj4j_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_6zhj4j_a");
   editorCell.addEditorCell(this.createConstant_6zhj4j_a0(editorContext, node));
   editorCell.addEditorCell(this.createProperty_6zhj4j_b0(editorContext, node));
   return editorCell;
 }
 private EditorCell createRefNodeList_2ntrw4_c1b3a(EditorContext editorContext, SNode node) {
   AbstractCellListHandler handler =
       new OverloadedOperatorContainer_Editor.operatorsListHandler_2ntrw4_c1b3a(
           node, "operators", editorContext);
   EditorCell_Collection editorCell =
       handler.createCells(editorContext, new CellLayout_Indent(), false);
   editorCell.setCellId("refNodeList_operators");
   Style style = new StyleImpl();
   style.set(StyleAttributes.POSITION_CHILDREN, 0, "indented");
   style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, 0, true);
   style.set(StyleAttributes.INDENT_LAYOUT_CHILDREN_NEWLINE, 0, true);
   editorCell.getStyle().putAll(style);
   editorCell.setAction(
       CellActionType.COMMENT,
       new CellAction_CommentOrUncommentChild(
           node,
           MetaAdapterFactory.getContainmentLink(
               0xfc8d557e5de64dd8L,
               0xb749aab2fb23aefcL,
               0x6b6f5c413011207L,
               0x6b6f5c413011208L,
               "operators")));
   editorCell.setRole(handler.getElementRole());
   return editorCell;
 }
 private EditorCell createCollection_1x071y_a_0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_1x071y_a_0");
   editorCell.addEditorCell(this.createConstant_1x071y_a0(editorContext, node));
   editorCell.addEditorCell(this.createRefNodeList_1x071y_b0(editorContext, node));
   return editorCell;
 }
示例#24
0
 private EditorCell createCollection_z4t05o_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_z4t05o_a");
   editorCell.setBig(true);
   editorCell.addEditorCell(this.createCollection_z4t05o_a0(editorContext, node));
   return editorCell;
 }
示例#25
0
 private EditorCell createCollection_91bvrs_a_0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_91bvrs_a_0");
   editorCell.setBig(true);
   editorCell.addEditorCell(this.createReadOnlyModelAccessor_91bvrs_a0(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_42zii1_a0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_42zii1_a0");
   editorCell.addEditorCell(this.createIndentCell_42zii1_a0a(editorContext, node));
   editorCell.addEditorCell(this.createCollection_42zii1_b0a(editorContext, node));
   return editorCell;
 }
示例#27
0
    public C find(EditorCell cell, boolean includeThis) {
      if (includeThis && getCellClass().isInstance(cell) && isSuitable((C) cell)) {
        return (C) cell;
      }

      if (cell instanceof EditorCell_Collection) {
        EditorCell_Collection collection = (EditorCell_Collection) cell;
        if (collection.isUnfoldedCollection()) {
          Iterator<jetbrains.mps.openapi.editor.cells.EditorCell> iterator =
              isFirstChild() ? collection.iterator() : collection.reverseIterator();

          while (iterator.hasNext()) {
            EditorCell child = (EditorCell) iterator.next();
            if (getCellClass().isInstance(child) && isSuitable((C) child)) {
              return (C) child;
            }

            C result = find(child, false);
            if (result != null) {
              return result;
            }
          }
        }
      }

      return null;
    }
 private EditorCell createCollection_leuqor_a0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createVertical(editorContext, node);
   editorCell.setCellId("Collection_leuqor_a0");
   editorCell.addEditorCell(this.createCollection_leuqor_a0a(editorContext, node));
   editorCell.addEditorCell(this.createCollection_leuqor_b0a(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_7qnrl2_a(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node);
   editorCell.setCellId("Collection_7qnrl2_a");
   editorCell.setBig(true);
   editorCell.addEditorCell(this.createRefCell_7qnrl2_a0(editorContext, node));
   return editorCell;
 }
 private EditorCell createCollection_5jxfrn_c0(EditorContext editorContext, SNode node) {
   EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node);
   editorCell.setCellId("Collection_5jxfrn_c0");
   editorCell.addEditorCell(this.createConstant_5jxfrn_a2a(editorContext, node));
   editorCell.addEditorCell(this.createRefNode_5jxfrn_b2a(editorContext, node));
   return editorCell;
 }