public static void apply_CommentHTMLTag(Style style, EditorCell editorCell) {
   {
     Style styleToPut = new StyleImpl();
     DocumentationCommentStyleSheet_StyleSheet.apply_Comment(styleToPut, editorCell);
     style.putAll(styleToPut, 0);
   }
   style.set(StyleAttributes.FONT_STYLE, 0, MPSFonts.BOLD_ITALIC);
 }
Exemplo n.º 2
0
 private EditorCell createRefNodeList_c4imx1_e4a(EditorContext editorContext, SNode node) {
   AbstractCellListHandler handler =
       new FieldDocComment_Editor.seeListHandler_c4imx1_e4a(node, "see", editorContext);
   EditorCell_Collection editorCell =
       handler.createCells(editorContext, new CellLayout_Indent(), false);
   editorCell.setCellId("refNodeList_see");
   Style style = new StyleImpl();
   DocumentationCommentStyleSheet_StyleSheet.apply_Comment(style, editorCell);
   style.set(StyleAttributes.INDENT_LAYOUT_INDENT, 0, true);
   style.set(StyleAttributes.INDENT_LAYOUT_CHILDREN_NEWLINE, 0, true);
   editorCell.getStyle().putAll(style);
   editorCell.setRole(handler.getElementRole());
   return editorCell;
 }
Exemplo n.º 3
0
 private EditorCell createConstant_c4imx1_f0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, " */");
   editorCell.setCellId("Constant_c4imx1_f0");
   Style style = new StyleImpl();
   DocumentationCommentStyleSheet_StyleSheet.apply_Comment(style, editorCell);
   style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, 0, true);
   style.set(
       StyleAttributes.INDENT_LAYOUT_ON_NEW_LINE,
       0,
       FieldDocComment_Editor._StyleParameter_QueryFunction_c4imx1_a1f0(
           (editorCell == null ? null : editorCell.getContext()),
           (editorCell == null ? null : editorCell.getSNode())));
   editorCell.getStyle().putAll(style);
   RemoveDocComment.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 4
0
 private EditorCell createConstant_c4imx1_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "/**");
   editorCell.setCellId("Constant_c4imx1_a0");
   Style style = new StyleImpl();
   DocumentationCommentStyleSheet_StyleSheet.apply_Comment(style, editorCell);
   style.set(
       StyleAttributes.INDENT_LAYOUT_NEW_LINE,
       0,
       FieldDocComment_Editor._StyleParameter_QueryFunction_c4imx1_a0a0(
           (editorCell == null ? null : editorCell.getContext()),
           (editorCell == null ? null : editorCell.getSNode())));
   editorCell.getStyle().putAll(style);
   if (renderingCondition_c4imx1_a0a(node, editorContext)) {
     editorCell.getStyle().set(StyleAttributes.FOCUS_POLICY, FocusPolicy.ATTRACTS_RECURSIVELY);
   }
   RemoveDocComment.setCellActions(editorCell, node, editorContext);
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 5
0
 private EditorCell createRefNodeList_c4imx1_d0(EditorContext editorContext, SNode node) {
   AbstractCellListHandler handler =
       new FieldDocComment_Editor.tagsListHandler_c4imx1_d0(node, "tags", editorContext);
   EditorCell_Collection editorCell =
       handler.createCells(editorContext, new CellLayout_Vertical(), false);
   editorCell.setCellId("refNodeList_tags");
   Style style = new StyleImpl();
   DocumentationCommentStyleSheet_StyleSheet.apply_Comment(style, editorCell);
   style.set(
       StyleAttributes.INDENT_LAYOUT_NEW_LINE,
       0,
       FieldDocComment_Editor._StyleParameter_QueryFunction_c4imx1_a0d0(
           (editorCell == null ? null : editorCell.getContext()),
           (editorCell == null ? null : editorCell.getSNode())));
   style.set(
       StyleAttributes.INDENT_LAYOUT_INDENT,
       0,
       FieldDocComment_Editor._StyleParameter_QueryFunction_c4imx1_a1d0(
           (editorCell == null ? null : editorCell.getContext()),
           (editorCell == null ? null : editorCell.getSNode())));
   editorCell.getStyle().putAll(style);
   editorCell.setRole(handler.getElementRole());
   return editorCell;
 }