package jetbrains.mps.lang.constraints.editor; /*Generated by MPS */ import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder; import org.jetbrains.annotations.NotNull; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.openapi.editor.EditorContext; import jetbrains.mps.openapi.editor.cells.EditorCell; import jetbrains.mps.nodeEditor.cells.EditorCell_Collection; import jetbrains.mps.nodeEditor.cellLayout.CellLayout_Vertical; import jetbrains.mps.openapi.editor.style.Style; import jetbrains.mps.editor.runtime.style.StyleImpl; import jetbrains.mps.editor.runtime.style.StyleAttributes; import jetbrains.mps.nodeEditor.cellLayout.CellLayout_Indent; import jetbrains.mps.openapi.editor.style.StyleRegistry; import jetbrains.mps.nodeEditor.MPSColors; import jetbrains.mps.nodeEditor.cells.EditorCell_Constant; import jetbrains.mps.nodeEditor.MPSFonts; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; import jetbrains.mps.nodeEditor.cellLayout.CellLayout_Horizontal; /*package*/ class ConstraintFunction_ReferentSearchScope_AbstractBase_InspectorBuilder_a extends AbstractEditorBuilder { @NotNull private SNode myNode; public ConstraintFunction_ReferentSearchScope_AbstractBase_InspectorBuilder_a(@NotNull EditorContext context, @NotNull SNode node) { super(context); myNode = node; } @NotNull @Override public SNode getNode() { return myNode; } /*package*/ EditorCell createCell() { return createCollection_5v10so_a(); } private EditorCell createCollection_5v10so_a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Vertical()); editorCell.setCellId("Collection_5v10so_a"); editorCell.setBig(true); editorCell.setCellContext(getCellFactory().getCellContext()); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createCollection_5v10so_a0()); editorCell.addEditorCell(createConstant_5v10so_b0()); editorCell.addEditorCell(createComponent_5v10so_c0()); editorCell.addEditorCell(createConstant_5v10so_d0()); editorCell.addEditorCell(createConstant_5v10so_e0()); editorCell.addEditorCell(createCollection_5v10so_f0()); return editorCell; } private EditorCell createCollection_5v10so_a0() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Indent()); editorCell.setCellId("Collection_5v10so_a0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createComponent_5v10so_a0a()); editorCell.addEditorCell(createConstant_5v10so_b0a()); return editorCell; } private EditorCell createComponent_5v10so_a0a() { EditorCell editorCell = getCellFactory().createEditorComponentCell(myNode, "jetbrains.mps.lang.core.editor.alias"); Style style = new StyleImpl(); style.set(StyleAttributes.TEXT_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.blue, StyleRegistry.getInstance().getSimpleColor(MPSColors.lightGray))); style.set(StyleAttributes.TEXT_BACKGROUND_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.lightGray)); editorCell.getStyle().putAll(style); return editorCell; } private EditorCell createConstant_5v10so_b0a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "provider"); editorCell.setCellId("Constant_5v10so_b0a"); Style style = new StyleImpl(); style.set(StyleAttributes.TEXT_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.blue, StyleRegistry.getInstance().getSimpleColor(MPSColors.lightGray))); style.set(StyleAttributes.TEXT_BACKGROUND_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.lightGray)); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, ""); editorCell.setCellId("Constant_5v10so_b0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createComponent_5v10so_c0() { EditorCell editorCell = getCellFactory().createEditorComponentCell(myNode, "jetbrains.mps.lang.core.editor.ShortDescriptionEditorComponent"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); return editorCell; } private EditorCell createConstant_5v10so_d0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, ""); editorCell.setCellId("Constant_5v10so_d0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_e0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "macros:"); editorCell.setCellId("Constant_5v10so_e0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_f0() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Vertical()); editorCell.setCellId("Collection_5v10so_f0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.setGridLayout(true); editorCell.addEditorCell(createCollection_5v10so_a5a()); editorCell.addEditorCell(createCollection_5v10so_b5a()); editorCell.addEditorCell(createCollection_5v10so_c5a()); editorCell.addEditorCell(createCollection_5v10so_d5a()); editorCell.addEditorCell(createCollection_5v10so_e5a()); if (nodeCondition_5v10so_a5f0()) { editorCell.addEditorCell(createCollection_5v10so_f5a()); } editorCell.addEditorCell(createCollection_5v10so_g5a()); editorCell.addEditorCell(createCollection_5v10so_h5a()); editorCell.addEditorCell(createCollection_5v10so_i5a()); editorCell.addEditorCell(createCollection_5v10so_j5a()); editorCell.addEditorCell(createCollection_5v10so_k5a()); editorCell.addEditorCell(createCollection_5v10so_l5a()); return editorCell; } private boolean nodeCondition_5v10so_a5f0() { return SNodeOperations.isInstanceOf(myNode, MetaAdapterFactory.getConcept(0x3f4bc5f5c6c14a28L, 0x8b10c83066ffa4a1L, 0x36367902116a44c1L, "jetbrains.mps.lang.constraints.structure.ConstraintFunction_ReferentSearchScope_Presentation")); } private EditorCell createCollection_5v10so_a5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_a5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a0f0()); editorCell.addEditorCell(createConstant_5v10so_b0f0()); return editorCell; } private EditorCell createConstant_5v10so_a0f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "model"); editorCell.setCellId("Constant_5v10so_a0f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b0f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "model of node containing reference"); editorCell.setCellId("Constant_5v10so_b0f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_b5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_b5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a1f0()); editorCell.addEditorCell(createConstant_5v10so_b1f0()); return editorCell; } private EditorCell createConstant_5v10so_a1f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "exists"); editorCell.setCellId("Constant_5v10so_a1f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b1f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "false when reference is being created"); editorCell.setCellId("Constant_5v10so_b1f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_c5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_c5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a2f0()); editorCell.addEditorCell(createConstant_5v10so_b2f0()); return editorCell; } private EditorCell createConstant_5v10so_a2f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "contextNode"); editorCell.setCellId("Constant_5v10so_a2f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b2f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "node with the reference, or closest not-null context node"); editorCell.setCellId("Constant_5v10so_b2f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_d5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_d5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a3f0()); editorCell.addEditorCell(createConstant_5v10so_b3f0()); return editorCell; } private EditorCell createConstant_5v10so_a3f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "contextRole"); editorCell.setCellId("Constant_5v10so_a3f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b3f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "target role in contextNode"); editorCell.setCellId("Constant_5v10so_b3f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_e5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_e5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a4f0()); editorCell.addEditorCell(createConstant_5v10so_b4f0()); return editorCell; } private EditorCell createConstant_5v10so_a4f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "position"); editorCell.setCellId("Constant_5v10so_a4f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b4f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "target index in contextRole"); editorCell.setCellId("Constant_5v10so_b4f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_f5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_f5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a5f0()); editorCell.addEditorCell(createConstant_5v10so_b5f0()); return editorCell; } private EditorCell createConstant_5v10so_a5f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "parameterNode"); editorCell.setCellId("Constant_5v10so_a5f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b5f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "node to present (target of the referenceNode's reference)"); editorCell.setCellId("Constant_5v10so_b5f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_g5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_g5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a6f0()); return editorCell; } private EditorCell createConstant_5v10so_a6f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, ""); editorCell.setCellId("Constant_5v10so_a6f0"); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_h5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_h5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a7f0()); return editorCell; } private EditorCell createConstant_5v10so_a7f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "Deprecated:"); editorCell.setCellId("Constant_5v10so_a7f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_i5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_i5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a8f0()); editorCell.addEditorCell(createCollection_5v10so_b8f0()); return editorCell; } private EditorCell createConstant_5v10so_a8f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "referenceNode"); editorCell.setCellId("Constant_5v10so_a8f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_b8f0() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Vertical()); editorCell.setCellId("Collection_5v10so_b8f0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a1i5a()); editorCell.addEditorCell(createConstant_5v10so_b1i5a()); return editorCell; } private EditorCell createConstant_5v10so_a1i5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "node that contains reference link"); editorCell.setCellId("Constant_5v10so_a1i5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b1i5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "(optional - may not exist yet)"); editorCell.setCellId("Constant_5v10so_b1i5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); style.set(StyleAttributes.TEXT_BACKGROUND_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.pink)); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_j5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_j5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a9f0()); editorCell.addEditorCell(createConstant_5v10so_b9f0()); return editorCell; } private EditorCell createConstant_5v10so_a9f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "linkTarget"); editorCell.setCellId("Constant_5v10so_a9f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b9f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "concept where link can refer to (for specialized links)"); editorCell.setCellId("Constant_5v10so_b9f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_k5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_k5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a01f0()); editorCell.addEditorCell(createCollection_5v10so_b01f0()); return editorCell; } private EditorCell createConstant_5v10so_a01f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "enclosingNode"); editorCell.setCellId("Constant_5v10so_a01f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_b01f0() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Vertical()); editorCell.setCellId("Collection_5v10so_b01f0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a1k5a()); editorCell.addEditorCell(createConstant_5v10so_b1k5a()); return editorCell; } private EditorCell createConstant_5v10so_a1k5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "parent of referenceNode, null for root nodes"); editorCell.setCellId("Constant_5v10so_a1k5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b1k5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "referenceNode and ecnlosingNode cannot be null both at the same time"); editorCell.setCellId("Constant_5v10so_b1k5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_l5a() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Horizontal()); editorCell.setCellId("Collection_5v10so_l5a"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a11f0()); editorCell.addEditorCell(createCollection_5v10so_b11f0()); return editorCell; } private EditorCell createConstant_5v10so_a11f0() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "containingLink"); editorCell.setCellId("Constant_5v10so_a11f0"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createCollection_5v10so_b11f0() { EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Vertical()); editorCell.setCellId("Collection_5v10so_b11f0"); Style style = new StyleImpl(); style.set(StyleAttributes.SELECTABLE, false); editorCell.getStyle().putAll(style); editorCell.addEditorCell(createConstant_5v10so_a1l5a()); editorCell.addEditorCell(createConstant_5v10so_b1l5a()); return editorCell; } private EditorCell createConstant_5v10so_a1l5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "LinkDeclaration describing parent-child relationship between"); editorCell.setCellId("Constant_5v10so_a1l5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } private EditorCell createConstant_5v10so_b1l5a() { EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "enclosingNode and referenceNode"); editorCell.setCellId("Constant_5v10so_b1l5a"); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.PLAIN); editorCell.getStyle().putAll(style); editorCell.setDefaultText(""); return editorCell; } }