• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java StyleImpl类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中jetbrains.mps.editor.runtime.style.StyleImpl的典型用法代码示例。如果您正苦于以下问题:Java StyleImpl类的具体用法?Java StyleImpl怎么用?Java StyleImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



StyleImpl类属于jetbrains.mps.editor.runtime.style包,在下文中一共展示了StyleImpl类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: createMultiline_pwe3o3_c0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_pwe3o3_c0(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_name");
  Style style = new StyleImpl();
  new NameStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:ZwakkeAanspraakZwakkePlicht_EditorBuilder_a.java


示例2: createMultiline_s67zsr_c0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_s67zsr_c0(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_name");
  Style style = new StyleImpl();
  new NameStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:VerplichteBevoegdheidVerplichteGehoudenheid_EN_EditorBuilder_a.java


示例3: createCollection_1zehi0_h0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createCollection_1zehi0_h0() {
  EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Indent());
  editorCell.setCellId("Collection_1zehi0_h0");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  try {
    getCellFactory().pushCellContext();
    getCellFactory().addCellContextHints(new String[]{});
    editorCell.addEditorCell(createRefNode_1zehi0_a7a());
    setInnerCellsContext(editorCell);
  } finally {
    getCellFactory().popCellContext();
  }
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:17,代码来源:GebeurtenisMetRechtsgevolg_EditorBuilder_a.java


示例4: createProperty_7stuy4_c0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_7stuy4_c0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("conceptnummer");
  provider.setNoTargetText("<no conceptnummer>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("BGB_property_conceptnummer");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:BronGeldigheidBetrekking_ComponentBuilder_a.java


示例5: createMultiline_s67zsr_c13a

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_s67zsr_c13a(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("opmerkingen");
  provider.setNoTargetText("<no opmerkingen>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_opmerkingen");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:VerplichteBevoegdheidVerplichteGehoudenheid_EN_EditorBuilder_a.java


示例6: createProperty_e0ej5n_a0a0a8a0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_e0ej5n_a0a0a8a0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  provider.setReadOnly(true);
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_1");
  Style style = new StyleImpl();
  style.set(StyleAttributes.AUTO_DELETABLE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:20,代码来源:UitvoerbareRechtshandeling_HandelingenRol1_EditorBuilder_a.java


示例7: createCollection_o8qqqk_a_0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createCollection_o8qqqk_a_0() {
  EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Indent());
  editorCell.setCellId("Collection_o8qqqk_a_0");
  editorCell.setBig(true);
  editorCell.setCellContext(getCellFactory().getCellContext());
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  editorCell.addEditorCell(createConstant_o8qqqk_a0_0());
  editorCell.addEditorCell(createConstant_o8qqqk_b0());
  editorCell.addEditorCell(createRefNode_o8qqqk_c0());
  editorCell.addEditorCell(createConstant_o8qqqk_d0());
  editorCell.addEditorCell(createConstant_o8qqqk_e0_0());
  editorCell.addEditorCell(createRefNode_o8qqqk_f0());
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:17,代码来源:Rechtsbetrekking_Simulatie_InspectorBuilder_a.java


示例8: createProperty_sj3av1_a0i0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_sj3av1_a0i0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_4");
  Style style = new StyleImpl();
  new SubjectStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:AanspraakNaIngebrekeStellingPlicht_Verwoording_InspectorBuilder_a.java


示例9: createProperty_luypn2_j0a

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_luypn2_j0a() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("playback");
  provider.setNoTargetText("<no playback>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_playback");
  Style style = new StyleImpl();
  new GreetingStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.EDITABLE, true);
  style.set(StyleAttributes.FONT_STYLE, MPSFonts.ITALIC);
  editorCell.getStyle().putAll(style);
  if (true) {
    editorCell.getStyle().set(StyleAttributes.FOCUS_POLICY, FocusPolicy.ATTRACTS_FOCUS);
  }
  ActivityPlayback.setCellActions(editorCell, myNode, getEditorContext());
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:vaclav,项目名称:voicemenu,代码行数:25,代码来源:Activity_EditorBuilder_a.java


示例10: createProperty_cq90ak_a0w0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_cq90ak_a0w0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_3");
  Style style = new StyleImpl();
  new SubjectStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:ImmuniteitGeenbevoegdheid_EditorBuilder_a.java


示例11: createProperty_f5oxp5_m0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_f5oxp5_m0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("toonalles");
  provider.setNoTargetText("<no toonalles>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_toonalles");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:Context_EN_EditorBuilder_a.java


示例12: createProperty_qq5s0v_a0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_qq5s0v_a0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("O_property_name");
  Style style = new StyleImpl();
  new OnderwerpStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:Onderwerp_ComponentBuilder_a.java


示例13: createMultiline_eoh9dv_c22a

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_eoh9dv_c22a(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("opmerkingen");
  provider.setNoTargetText("<no opmerkingen>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_opmerkingen");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:OptioneleBevoegdheidOptioneleGehoudenheid_Verwoording_EditorBuilder_a.java


示例14: createMultiline_fdm9fu_c23a

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_fdm9fu_c23a(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("opmerkingen");
  provider.setNoTargetText("<no opmerkingen>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_opmerkingen");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:KrachtigeAanspraakFataleVerplichtig_EN_EditorBuilder_a.java


示例15: createProperty_eawz8v_a0f0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_eawz8v_a0f0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  provider.setReadOnly(true);
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_3");
  Style style = new StyleImpl();
  new NameStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:20,代码来源:KrachtigeAanspraakFataleVerplichtig_Verwoording_InspectorBuilder_a.java


示例16: createProperty_tbvjtx_b0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_tbvjtx_b0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("duration");
  provider.setNoTargetText("time");
  provider.setAllowsEmptyTarget(true);
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_duration");
  Style style = new StyleImpl();
  new GreetingStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:vaclav,项目名称:voicemenu,代码行数:20,代码来源:Timeout_EditorBuilder_a.java


示例17: createProperty_vcx8b9_a0u0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_vcx8b9_a0u0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_4");
  Style style = new StyleImpl();
  new OnderwerpStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:ZwakkeAanspraakZwakkePlicht_EN_EditorBuilder_a.java


示例18: createProperty_s67zsr_a0t0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createProperty_s67zsr_a0t0() {
  CellProviderWithRole provider = new PropertyCellProvider(myNode, getEditorContext());
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  editorCell.setCellId("property_name_4");
  Style style = new StyleImpl();
  new OnderwerpStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    EditorManager manager = EditorManager.getInstanceFromContext(getEditorContext());
    return manager.createNodeRoleAttributeCell(attributeConcept, provider.getRoleAttributeKind(), editorCell);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:VerplichteBevoegdheidVerplichteGehoudenheid_EN_EditorBuilder_a.java


示例19: createMultiline_sj3av1_c0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createMultiline_sj3av1_c0(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_name_2");
  Style style = new StyleImpl();
  new NameStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
  editorCell.getStyle().putAll(style);
  editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
  SNode attributeConcept = provider.getRoleAttribute();
  if (attributeConcept != null) {
    return getUpdateSession().updateAttributeCell(provider.getRoleAttributeKind(), editorCell, attributeConcept);
  } else
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:19,代码来源:AanspraakNaIngebrekeStellingPlicht_Verwoording_InspectorBuilder_a.java


示例20: createCollection_igmdf6_d0

import jetbrains.mps.editor.runtime.style.StyleImpl; //导入依赖的package包/类
private EditorCell createCollection_igmdf6_d0() {
  EditorCell_Collection editorCell = new EditorCell_Collection(getEditorContext(), myNode, new CellLayout_Indent());
  editorCell.setCellId("Collection_igmdf6_d0");
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true);
  editorCell.getStyle().putAll(style);
  editorCell.addEditorCell(createConstant_igmdf6_a3a());
  editorCell.addEditorCell(createConstant_igmdf6_b3a());
  editorCell.addEditorCell(createRefCell_igmdf6_c3a());
  editorCell.addEditorCell(createConstant_igmdf6_d3a());
  editorCell.addEditorCell(createConstant_igmdf6_e3a());
  editorCell.addEditorCell(createRefCell_igmdf6_f3a());
  editorCell.addEditorCell(createConstant_igmdf6_g3a());
  editorCell.addEditorCell(createConstant_igmdf6_h3a());
  editorCell.addEditorCell(createRefCell_igmdf6_i3a());
  editorCell.addEditorCell(createConstant_igmdf6_j3a());
  editorCell.addEditorCell(createConstant_igmdf6_k3a());
  editorCell.addEditorCell(createRefCell_igmdf6_l3a());
  editorCell.addEditorCell(createConstant_igmdf6_m3a());
  editorCell.addEditorCell(createConstant_igmdf6_n3a());
  editorCell.addEditorCell(createRefCell_igmdf6_o3a());
  editorCell.addEditorCell(createConstant_igmdf6_p3a());
  editorCell.addEditorCell(createRefNodeList_igmdf6_q3a());
  editorCell.addEditorCell(createConstant_igmdf6_r3a());
  return editorCell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:27,代码来源:Regeling_EditorBuilder_a.java



注:本文中的jetbrains.mps.editor.runtime.style.StyleImpl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Marker类代码示例发布时间:2022-05-23
下一篇:
Java ChronicleMapBuilder类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap