private EditorCell createConstant_9o3sb9_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "->$");
   editorCell.setCellId("Constant_9o3sb9_a0");
   Style style = new StyleImpl();
   Styles_StyleSheet.applyMacroStart(style, editorCell);
   editorCell.getStyle().putAll(style);
   MacroSymbol_Actions.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConstant_73o0fl_d0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "TF>");
   editorCell.setCellId("Constant_73o0fl_d0");
   {
     Style style = editorCell.getStyle();
     style.set(StyleAttributes.SELECTABLE, true);
     style.set(StyleAttributes.TEXT_BACKGROUND_COLOR, MPSColors.pink);
     style.set(StyleAttributes.SELECTED_TEXT_BACKGROUND_COLOR, MPSColors.magenta);
   }
   MacroSymbol_Actions.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
示例#3
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;
 }