コード例 #1
0
 private EditorCell createConstant_avk0kx_f0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "->");
   editorCell.setCellId("Constant_avk0kx_f0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_Operator(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
コード例 #2
0
 private EditorCell createConstant_1px6hs_c0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "==");
   editorCell.setCellId("Constant_1px6hs_c0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.apply_Operator(style, editorCell);
   style.set(
       StyleAttributes.TEXT_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.blue));
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }