• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java BaseConstraintsDescriptor类的典型用法和代码示例

java 1次浏览

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

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

示例1: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new Datum_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:diederikd,
项目名称:DeBrug,
代码行数:11,
代码来源:ConstraintsAspectDescriptor.java

示例2: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new ObjectInstantie_Constraints();
    case 1:
      return new Tabel_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:diederikd,
项目名称:DeBrug,
代码行数:13,
代码来源:ConstraintsAspectDescriptor.java

示例3: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new UitTeVoerenDialoog_Constraints();
    case 1:
      return new UitTeVoerenHandeling_Constraints();
    case 2:
      return new Venster_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:diederikd,
项目名称:DeBrug,
代码行数:15,
代码来源:ConstraintsAspectDescriptor.java

示例4: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new Activity_Constraints();
    case 1:
      return new Command_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:vaclav,
项目名称:voicemenu,
代码行数:13,
代码来源:ConstraintsAspectDescriptor.java

示例5: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new Command_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:vaclav,
项目名称:voicemenu,
代码行数:11,
代码来源:ConstraintsAspectDescriptor.java

示例6: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  {
    SAbstractConcept cncpt = concept;
    Integer preIndex = indices_2qnle6_a0c.get(cncpt);
    int switchIndex = (preIndex == null ? -1 : preIndex);
    switch (switchIndex) {
      default:
        // default 
    }
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:vaclav,
项目名称:MPS_CSharp,
代码行数:14,
代码来源:ConstraintsAspectDescriptor.java

示例7: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new EditorAnnotation_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:CampagneLaboratory,
项目名称:Editor2PDF,
代码行数:11,
代码来源:ConstraintsAspectDescriptor.java

示例8: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  switch (index_2qnle6_a0c.index(cncpt_a0c)) {
    case 0:
      return new AbstractReferentieNaarKenmerk_Constraints();
    case 1:
      return new Concept_Constraints();
    case 2:
      return new DatumType_Constraints();
    case 3:
      return new EnumeratieWaarde_Constraints();
    case 4:
      return new FeitVerwoording_Constraints();
    case 5:
      return new GeheelGetalType_Constraints();
    case 6:
      return new Kenmerk_Constraints();
    case 7:
      return new ObjectWaarde_Constraints();
    case 8:
      return new Onderwerp_Constraints();
    case 9:
      return new Rechtshandeling_Constraints();
    case 10:
      return new ReferentieNaarKenmerk_Constraints();
    case 11:
      return new RijVanKaraktersType_Constraints();
    case 12:
      return new TabelMetInstanties_Constraints();
    case 13:
      return new Variabele_Constraints();
    case 14:
      return new VerwoordingKenmerk_Constraints();
    case 15:
      return new VerwoordingObject_Constraints();
    case 16:
      return new VerwoordingWaarde_Constraints();
    case 17:
      return new VoorbeeldenMetInstanties_Constraints();
    case 18:
      return new WaardeVanKenmerk_Constraints();
    default:
  }
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:diederikd,
项目名称:DeBrug,
代码行数:47,
代码来源:ConstraintsAspectDescriptor.java

示例9: getConstraints

点赞 2

import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; //导入依赖的package包/类
@Override
public ConstraintsDescriptor getConstraints(SAbstractConcept concept) {
  SAbstractConcept cncpt_a0c = concept;
  return new BaseConstraintsDescriptor(concept);
}
 

开发者ID:diederikd,
项目名称:DeBrug,
代码行数:6,
代码来源:ConstraintsAspectDescriptor.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)