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

Java EditorContext类代码示例

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

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



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

示例1: createMultiline_xevd8x_c0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createMultiline_xevd8x_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,代码来源:OptioneleBevoegdheidOptioneleGehoudenheid_EditorBuilder_a.java


示例2: createHeadQuery_ib3595_a4a_0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public HeaderGrid createHeadQuery_ib3595_a4a_0(final EditorContext editorContext, final SNode node) {
  Object queryResult = new Object() {
    public Object query() {
      return SLinkOperations.getChildren(node, MetaAdapterFactory.getContainmentLink(0x30ef095ad48945ffL, 0xa80f456a798ac125L, 0xb116d9d60df9be7L, 0xb116d9d60df9be8L, "objectinstanties"));
    }
  }.query();
  IHeaderNodeInsertAction insertAction = null;
  IHeaderNodeDeleteAction deleteAction = new IHeaderNodeDeleteAction() {
    public void delete(final int index) {
      SNodeOperations.deleteNode(ListSequence.fromList(SLinkOperations.getChildren(node, MetaAdapterFactory.getContainmentLink(0x30ef095ad48945ffL, 0xa80f456a798ac125L, 0xb116d9d60df9be7L, 0xb116d9d60df9be8L, "objectinstanties"))).getElement(index));
    }
  };
  HeaderGrid grid = new HeaderGridFactory(editorContext, node, false).createFromObject(queryResult, new StringHeaderReference("797539131727260372"), insertAction, deleteAction, 0, new ITableStyleFactory() {
    public Style createStyle(final int columnIndex, final int rowIndex) {
      Style style = new StyleImpl();
      return style;
    }
  }, "objectinstanties");

  return grid;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:22,代码来源:Tabel_tabel_EditorBuilder_a.java


示例3: createMultiline_cq90ak_a0n0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createMultiline_cq90ak_a0n0(EditorContext editorContext, SNode node) {
  CellProviderWithRole provider = new MultilineCellProvider(node, editorContext);
  provider.setRole("name");
  provider.setNoTargetText("<no name>");
  provider.setReadOnly(true);
  EditorCell editorCell;
  editorCell = provider.createEditorCell(editorContext);
  editorCell.setCellId("property_name_1");
  Style style = new StyleImpl();
  new NameStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.EDITABLE, false);
  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,代码行数:20,代码来源:ImmuniteitGeenbevoegdheid_EditorBuilder_a.java


示例4: createRefCell_sj3av1_f0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_sj3av1_f0() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new AanspraakNaIngebrekeStellingPlicht_Verwoording_InspectorBuilder_a.Inline_Builder_sj3av1_a5a(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "verplichtingTot");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_notnull(cell);
      return cell;
    }
  };
  provider.setRole("verplichtingTot");
  provider.setNoTargetText("<no verplichtingTot>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("verplichtingTot");
  }
  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,代码行数:33,代码来源:AanspraakNaIngebrekeStellingPlicht_Verwoording_InspectorBuilder_a.java


示例5: createRefCell_vedntk_h0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_vedntk_h0() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Betrekking_Verwoording_InspectorBuilder_a.Inline_Builder_vedntk_a7a(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "rechtssubjectMetRecht");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_notnull(cell);
      return cell;
    }
  };
  provider.setRole("rechtssubjectMetRecht");
  provider.setNoTargetText("<no rechtssubjectMetRecht>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("rechtssubjectMetRecht");
  }
  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,代码行数:33,代码来源:Betrekking_Verwoording_InspectorBuilder_a.java


示例6: createRefCell_tm0j27_b0a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_tm0j27_b0a() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Activity_tabular_EditorBuilder_a.Inline_Builder_tm0j27_a1a0(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "event");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_nullable_reference(cell);
      return cell;
    }
  };
  provider.setRole("event");
  provider.setNoTargetText("<no event>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("event");
  }
  Style style = new StyleImpl();
  new BracketsStyleClass(getEditorContext(), getNode()).apply(style, editorCell);
  style.set(StyleAttributes.SHOW_BOUNDARIES_IN, ShowBoundariesArea.GUTTER);
  style.set(StyleAttributes.NAVIGATABLE_NODE, _StyleParameter_QueryFunction_tm0j27_a1b0a());
  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,代码行数:38,代码来源:Activity_tabular_EditorBuilder_a.java


示例7: createRefCell_d09504_a3a0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_d09504_a3a0() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Rechtshandeling_Lijst_EditorBuilder_a.Inline_Builder_d09504_a0d0a(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "onderwerp");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_notnull(cell);
      return cell;
    }
  };
  provider.setRole("onderwerp");
  provider.setNoTargetText("<no onderwerp>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("onderwerp");
  }
  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,代码行数:33,代码来源:Rechtshandeling_Lijst_EditorBuilder_a.java


示例8: createRefCell_d09504_a0a0a0a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_d09504_a0a0a0a() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Rechtshandeling_Lijst_EditorBuilder_a.Inline_Builder_d09504_a0a0a.Inline_Builder_d09504_a0a0a0a0(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "rechtssubject");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_notnull(cell);
      return cell;
    }
  };
  provider.setRole("rechtssubject");
  provider.setNoTargetText("<no rechtssubject>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("rechtssubject");
  }
  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,代码行数:33,代码来源:Rechtshandeling_Lijst_EditorBuilder_a.java


示例9: createRefCell_ry17xl_a0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_ry17xl_a0() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new EnumeratieWaarde_EditorBuilder_a.Inline_Builder_ry17xl_a0a(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "element");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_notnull_smartReference(cell);
      return cell;
    }
  };
  provider.setRole("element");
  provider.setNoTargetText("<no element>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("element");
  }
  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,代码行数:33,代码来源:EnumeratieWaarde_EditorBuilder_a.java


示例10: isApplicableToNode

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private boolean isApplicableToNode(final SNode node, final EditorContext editorContext) {
  Collection<SLanguage> languagesEngagedOnGeneration = ((SModelBase) SNodeOperations.getModel(node)).getLanguagesEngagedOnGeneration();
  for (SLanguage l : CollectionSequence.fromCollection(languagesEngagedOnGeneration)) {
    if (eq_hq68jw_a0a0b0e(l, MetaAdapterFactory.getLanguage(0xe2a803a4d4b843ebL, 0xb458517effd2a87fL, "jetbrains.mps.samples.VoiceMenuToAsterisk"))) {
      return false;
    }
  }
  return true;
}
 
开发者ID:vaclav,项目名称:voicemenu,代码行数:10,代码来源:SwitchGeneratorToAsterisk_Intention.java


示例11: createRefCell_luypn2_c0a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_luypn2_c0a() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Activity_EditorBuilder_a.Inline_Builder_luypn2_a2a0(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "event");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_nullable_reference(cell);
      return cell;
    }
  };
  provider.setRole("event");
  provider.setNoTargetText("<no event>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("event");
  }
  Style style = new StyleImpl();
  new DeclarationsStyleClass(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,代码行数:36,代码来源:Activity_EditorBuilder_a.java


示例12: createRefCell_pwfrmn_c3a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
private EditorCell createRefCell_pwfrmn_c3a() {
  CellProviderWithRole provider = new RefCellCellProvider(myNode, getEditorContext()) {

    @Override
    protected EditorCell createRefCell(EditorContext context, final SNode effectiveNode, SNode node) {
      EditorCell cell = getUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return new Venster_EditorBuilder_a.Inline_Builder_pwfrmn_a2d0(getEditorContext(), myNode, effectiveNode).createCell();
        }
      }, effectiveNode, "actieveDialoog");
      CellUtil.setupIDeprecatableStyles(effectiveNode, cell);
      setSemanticNodeToCells(cell, myNode);
      installDeleteActions_nullable_reference(cell);
      return cell;
    }
  };
  provider.setRole("actieveDialoog");
  provider.setNoTargetText("<no actieveDialoog>");
  EditorCell editorCell;
  editorCell = provider.createEditorCell(getEditorContext());
  if (editorCell.getRole() == null) {
    editorCell.setReferenceCell(true);
    editorCell.setRole("actieveDialoog");
  }
  Style style = new StyleImpl();
  style.set(StyleAttributes.INDENT_LAYOUT_INDENT, 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,代码行数:36,代码来源:Venster_EditorBuilder_a.java


示例13: execute_internal

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public void execute_internal(EditorContext editorContext, SNode node) {
  if (eq_jrdcfy_a0a0d1(SPropertyOperations.getString(node, MetaAdapterFactory.getProperty(0x4bc750d756884f52L, 0xb7d5b263a3393a24L, 0xbed5e5797b645b9L, 0x34fad0c9f5b34402L, "playback")), "Timeout")) {
    SPropertyOperations.set(node, MetaAdapterFactory.getProperty(0x4bc750d756884f52L, 0xb7d5b263a3393a24L, 0xbed5e5797b645b9L, 0x34fad0c9f5b34402L, "playback"), " ");
    SelectionUtil.selectCell(editorContext, node, "*" + CellIdManager.createPropertyId("duration"));
    SelectionUtil.selectCell(editorContext, node, "*" + CellIdManager.createPropertyId("playback"));
  }
}
 
开发者ID:vaclav,项目名称:voicemenu,代码行数:8,代码来源:TimeoutPlayback.java


示例14: createNodeCellNotNull

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
@Override
protected EditorCell createNodeCellNotNull(final EditorContext context, @NotNull final SNode node) {
  EditorCell cell;
  cell = createCellDuplicatesSafe(new _FunctionTypes._return_P0_E0<EditorCell>() {
    public EditorCell invoke() {
      return context.getEditorComponent().getUpdater().getCurrentUpdateSession().updateReferencedNodeCell(new Computable<EditorCell>() {
        public EditorCell compute() {
          return context.getEditorComponent().getUpdater().getCurrentUpdateSession().updateChildNodeCell(node);
        }
      }, node, "querylist4535249207447083135");
    }
  });
  return cell;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:15,代码来源:UitTeVoerenDialoog_EditorBuilder_a.java


示例15: createEmptyCell

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
@Override
public EditorCell createEmptyCell(EditorContext editorContext) {
  EditorCell emptyCell = null;
  emptyCell = super.createEmptyCell(editorContext);
  this.installElementCellActions(super.getOwner(), null, emptyCell, editorContext);
  return postProcessEmptyCell(emptyCell);
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:8,代码来源:UitTeVoerenDialoog_EditorBuilder_a.java


示例16: Inline_Builder_eawz8v_a8a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
Inline_Builder_eawz8v_a8a(@NotNull EditorContext context, SNode referencingNode, @NotNull SNode node) {
  super(context);
  myReferencingNode = referencingNode;
  myNode = node;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:6,代码来源:KrachtigeAanspraakFataleVerplichtig_Verwoording_EditorBuilder_a.java


示例17: createEditorCell

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public EditorCell createEditorCell(EditorContext editorContext, SNode node) {
  return new ReferentieNaarVoorwaarde_EditorBuilder_a(editorContext, node).createCell();
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:4,代码来源:ReferentieNaarVoorwaarde_Editor.java


示例18: expressie1SingleRoleHandler_7ai7v7_a0

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public expressie1SingleRoleHandler_7ai7v7_a0(SNode ownerNode, SContainmentLink containmentLink, EditorContext context) {
  super(containmentLink, context);
  myNode = ownerNode;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:5,代码来源:IsGelijk_EditorBuilder_a.java


示例19: createEditorCell

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public EditorCell createEditorCell(EditorContext editorContext, SNode node) {
  return new DuurType_EditorBuilder_a(editorContext, node).createCell();
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:4,代码来源:DuurType_Editor.java


示例20: RijVanKaraktersWaarde_EditorBuilder_a

import jetbrains.mps.openapi.editor.EditorContext; //导入依赖的package包/类
public RijVanKaraktersWaarde_EditorBuilder_a(@NotNull EditorContext context, @NotNull SNode node) {
  super(context);
  myNode = node;
}
 
开发者ID:diederikd,项目名称:DeBrug,代码行数:5,代码来源:RijVanKaraktersWaarde_EditorBuilder_a.java



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
Java Environment类代码示例发布时间:2022-05-23
下一篇:
Java IOperationApprover类代码示例发布时间: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