private EditorCell createConstant_1tjmxy_d0a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "<->");
   editorCell.setCellId("Constant_1tjmxy_d0a");
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new HorizontalAlignment_Editor.HorizontalAlignment_component_cellMenu_a0d0a()
           }));
   return editorCell;
 }
Example #2
0
 private EditorCell createConstant_ns5ajd_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "solution");
   editorCell.setCellId("Constant_ns5ajd_a0");
   Style style = new StyleImpl();
   style.set(StyleAttributes.EDITABLE, false);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new SolutionRef_Editor.ReplaceWith_SolutionRef_cellMenu_ns5ajd_a0a0()
           }));
   return editorCell;
 }
Example #3
0
 private EditorCell createConstant_2konf7_b1a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "run");
   editorCell.setCellId("Constant_2konf7_b1a");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new ComplexCanRunAndDebug.RunConfigurationExecutor_generic_cellMenu_2konf7_a0b1a()
           }));
   return editorCell;
 }
Example #4
0
 private EditorCell createConstant_rla3h2_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "take");
   editorCell.setCellId("Constant_rla3h2_a0");
   Style style = new StyleImpl();
   Collections_Style_StyleSheet.applyOperation(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new TakeOperation_Editor.ReplaceWith_SequenceOperation_cellMenu_rla3h2_a0a0()
           }));
   return editorCell;
 }
 private EditorCell createConstant_io6s4u_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "folder");
   editorCell.setCellId("Constant_io6s4u_a0");
   Style style = new StyleImpl();
   buildStyles_StyleSheet.apply_keyword(style, editorCell);
   style.set(StyleAttributes.EDITABLE, true);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new BuildFolderMacro_Editor.ReplaceWith_BuildMacro_cellMenu_io6s4u_a0a0()
           }));
   return editorCell;
 }
 private EditorCell createConstant_x0qgth_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "info");
   editorCell.setCellId("Constant_x0qgth_a0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new InfoStatement_Editor.ReplaceWith_WarningStatement_cellMenu_x0qgth_a0a0(),
             new InfoStatement_Editor.ReplaceWith_ReportErrorStatement_cellMenu_x0qgth_b0a0()
           }));
   return editorCell;
 }
Example #7
0
 private EditorCell createConstant_igyl5p_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "(");
   editorCell.setCellId("Constant_igyl5p_a0");
   Style style = new StyleImpl();
   RegexpStylesheet_StyleSheet.applyLeftRegexpBrace(style, editorCell);
   editorCell.getStyle().putAll(style);
   ParensRegexp_Actions.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new ParensRegexp_Editor.ReplaceWith_ParensRegexp_cellMenu_igyl5p_a0a0(),
             new ParensRegexp_Editor.ParensRegexp_customReplace_cellMenu_igyl5p_b0a0()
           }));
   return editorCell;
 }
 private EditorCell createConstant_eb7h0d_a6a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "else");
   editorCell.setCellId("Constant_eb7h0d_a6a");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   style.set(StyleAttributes.EDITABLE, 0, true);
   editorCell.getStyle().putAll(style);
   IfStatement_elseDelete_action.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new IfStatement_Editor.IfStatement_generic_cellMenu_eb7h0d_a0a6a(),
             new IfStatement_Editor.IfStatement_generic_cellMenu_eb7h0d_b0a6a()
           }));
   return editorCell;
 }
Example #9
0
 private EditorCell createConstant_2konf7_c2a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "can't debug");
   editorCell.setCellId("Constant_2konf7_c2a");
   Style style = new StyleImpl();
   style.set(
       StyleAttributes.TEXT_COLOR,
       0,
       StyleRegistry.getInstance().getSimpleColor(MPSColors.lightGray));
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new ComplexCanRunAndDebug.RunConfigurationExecutor_generic_cellMenu_2konf7_a0c2a()
           }));
   return editorCell;
 }
Example #10
0
 private EditorCell createConstant_pr8n4z_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "$MAP_SRCL$");
   editorCell.setCellId("Constant_pr8n4z_a0");
   Style style = new StyleImpl();
   Styles_StyleSheet.applyMacroStart(style, editorCell);
   editorCell.getStyle().putAll(style);
   if (true) {
     editorCell.getStyle().set(StyleAttributes.FOCUS_POLICY, FocusPolicy.ATTRACTS_FOCUS);
   }
   MacroSymbol_Actions.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new MapSrcListMacro_Editor.MapSrcListMacro_component_cellMenu_pr8n4z_a0a0()
           }));
   return editorCell;
 }
Example #11
0
 private EditorCell createConstant_eb7h0d_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "if");
   editorCell.setCellId("Constant_eb7h0d_a0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   style.set(StyleAttributes.EDITABLE, 0, true);
   editorCell.getStyle().putAll(style);
   Delete_If.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new IfStatement_Editor.ReplaceWith_WhileStatement_cellMenu_eb7h0d_a0a0(),
             new IfStatement_Editor.ReplaceWith_DoWhileStatement_cellMenu_eb7h0d_b0a0(),
             new IfStatement_Editor.ReplaceWith_ForStatement_cellMenu_eb7h0d_c0a0(),
             new IfStatement_Editor.ReplaceWith_ForeachStatement_cellMenu_eb7h0d_d0a0()
           }));
   return editorCell;
 }
 private EditorCell createConstant_7v1nzk_a8b2a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "");
   editorCell.setCellId("emptyRefPlaceHolder");
   Style style = new StyleImpl();
   style.set(
       StyleAttributes.TEXT_COLOR,
       0,
       StyleRegistry.getInstance().getSimpleColor(MPSColors.gray));
   style.set(StyleAttributes.EDITABLE, 0, true);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("<< ... >>");
   editorCell.setSubstituteInfo(
       new CompositeSubstituteInfo(
           editorContext,
           new BasicCellContext(node),
           new SubstituteInfoPartExt[] {
             new InterfaceConceptDeclaration_Editor.linkDeclarationListHandler_7v1nzk_i1c0
                 .ApplySideTransforms_null_cellMenu_7v1nzk_a0a8b2a()
           }));
   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;
 }