예제 #1
0
 private EditorCell createConstant_k61n5d_a1a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "as");
   editorCell.setCellId("Constant_k61n5d_a1a");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   editorCell.getStyle().putAll(style);
   AsExpression_Delete.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConstant_vgxjtu_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "continue");
   editorCell.setCellId("Constant_vgxjtu_a0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   style.set(StyleAttributes.RT_ANCHOR_TAG, "default_RTransform");
   style.set(
       StyleAttributes.TEXT_COLOR,
       StyleRegistry.getInstance().getSimpleColor(MPSColors.DARK_BLUE));
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
예제 #3
0
 private EditorCell createConstant_y68cfu_c0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "enum");
   editorCell.setCellId("Constant_y68cfu_c0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   style.set(StyleAttributes.SELECTABLE, false);
   style.set(
       StyleAttributes.TEXT_COLOR,
       StyleRegistry.getInstance().getSimpleColor(MPSColors.DARK_BLUE));
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
예제 #4
0
 private EditorCell createConstant_y68cfu_f0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "implements");
   editorCell.setCellId("Constant_y68cfu_f0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_KeyWord(style, editorCell);
   style.set(
       StyleAttributes.TEXT_COLOR,
       StyleRegistry.getInstance().getSimpleColor(MPSColors.DARK_BLUE));
   editorCell.getStyle().putAll(style);
   EnumClass_Implements_Delete.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
예제 #5
0
 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;
 }
예제 #6
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;
 }
예제 #7
0
 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;
 }