public static Style getCommentTag(final EditorCell cell) { Style style = new Style(cell); style.putAll(DocumentationCommentStyleSheet_StyleSheet.getComment(null)); style.set(StyleAttributes.FONT_STYLE, MPSFonts.BOLD_ITALIC); style.set(StyleAttributes.UNDERLINED, true); style.set(StyleAttributes.TEXT_COLOR, MPSColors.gray); return style; }
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); }
private EditorCell createConstant_fp467p_a0(EditorContext editorContext, SNode node) { EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "@throws"); editorCell.setCellId("Constant_fp467p_a0"); Style style = new StyleImpl(); DocumentationCommentStyleSheet_StyleSheet.applyCommentTag(style, editorCell); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; }
private EditorCell createConstant_xnhqer_d0(EditorContext editorContext, SNode node) { EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "}"); editorCell.setCellId("Constant_xnhqer_d0"); Style style = new StyleImpl(); DocumentationCommentStyleSheet_StyleSheet.applyComment(style, editorCell); style.set(StyleAttributes.PUNCTUATION_LEFT, true); style.set(StyleAttributes.PUNCTUATION_RIGHT, true); style.set(StyleAttributes.MATCHING_LABEL, "brace"); editorCell.getStyle().putAll(style); IntlineTagCommentLinePart_Actions.setCellActions(editorCell, node, editorContext); editorCell.setDefaultText(""); return editorCell; }
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; }
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; }
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; }
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; }
public static Style getCommentHTMLTag(final EditorCell cell) { Style style = new Style(cell); style.putAll(DocumentationCommentStyleSheet_StyleSheet.getComment(null)); style.set(StyleAttributes.FONT_STYLE, MPSFonts.BOLD_ITALIC); return style; }