private EditorCell createConstant_j4vm40_m0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, ")");
   editorCell.setCellId("rightParen");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.applyRightParen(style, editorCell);
   style.set(StyleAttributes.SELECTABLE, true);
   style.set(StyleAttributes.RT_ANCHOR_TAG, "ext_4_RTransform");
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
Пример #2
0
 private EditorCell createConstant_arlg9k_c0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, ")");
   editorCell.setCellId("Constant_arlg9k_c0");
   Style style = new StyleImpl();
   BaseLanguageStyle_StyleSheet.applyRightParen(style, editorCell);
   style.set(StyleAttributes.SELECTABLE, true);
   style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN);
   style.set(StyleAttributes.EDITABLE, false);
   editorCell.getStyle().putAll(style);
   if (renderingCondition_arlg9k_a2a(node, editorContext, editorContext.getScope())) {
     editorCell.getStyle().set(StyleAttributes.FOCUS_POLICY, FocusPolicy.ATTRACTS_FOCUS);
   }
   editorCell.setDefaultText("");
   return editorCell;
 }