本文整理汇总了Java中jetbrains.mps.openapi.editor.descriptor.ConceptEditor类的典型用法代码示例。如果您正苦于以下问题:Java ConceptEditor类的具体用法?Java ConceptEditor怎么用?Java ConceptEditor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ConceptEditor类属于jetbrains.mps.openapi.editor.descriptor包,在下文中一共展示了ConceptEditor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0b = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0b.index(cncpt_a0b)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Casus_Editor());
case 1:
return Arrays.asList(new ConceptEditor[]{new LijstMetRechtsbetrekkingen_Editor(), new LijstMetRechtsbetrekkingen_Lijst_Editor()});
case 2:
return Arrays.asList(new ConceptEditor[]{new LijstMetRechtshandelingen_Editor(), new LijstMetRechtshandelingen_Lijst_Editor()});
case 3:
return Arrays.asList(new ConceptEditor[]{new Rechtsbetrekking_Editor(), new Rechtsbetrekking_Lijst_Editor()});
case 4:
return Arrays.asList(new ConceptEditor[]{new Rechtshandeling_Editor(), new Rechtshandeling_Lijst_Editor()});
case 5:
return Collections.<ConceptEditor>singletonList(new Rechtssubject_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new ReferentieNaarRechtsSubject_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例2: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Argument_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Comment_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new Context_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new Empty_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new Extend_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new PlainText_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new Same_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new WorkSpace_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例3: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Activity_tabular_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Event_tabular_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new Menu_tabular_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new Name_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例4: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Calculator_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new InputField_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new InputFieldReference_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new OutputField_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例5: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new DiagramOutputDirectory_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new DiagramRef_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new EditorAnnotation_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new Font_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new PdfCollection_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例6: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Bericht_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new LijstMetBerichten_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例7: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Dagen_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Datum_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new DatumTijd_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new Jaren_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new Maanden_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new Minuten_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new Seconden_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new Tijd_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new Uren_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new VerschilTussenDatums_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例8: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0b = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0b.index(cncpt_a0b)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Gegevenshuishouding_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Informatiepositie_Editor());
case 2:
return Arrays.asList(new ConceptEditor[]{new Rechtsbetrekking_RechtspositieRol1_Editor(), new Rechtsbetrekking_RechtspositieRol2_Editor(), new Rechtsbetrekking_Simulatie_Editor()});
case 3:
return Collections.<ConceptEditor>singletonList(new Rechtshandeling_UitgevoerdeHandeling_Editor());
case 4:
return Arrays.asList(new ConceptEditor[]{new ReferentieNaarOvergang_Editor(), new ReferentieNaarOvergang_UittevoerenHandeling_Editor()});
case 5:
return Collections.<ConceptEditor>singletonList(new Simulatie_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new UitTeVoerenDialoog_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new UitTeVoerenHandeling_Editor());
case 8:
return Arrays.asList(new ConceptEditor[]{new UitvoerbareRechtshandeling_HandelingenRol1_Editor(), new UitvoerbareRechtshandeling_HandelingenRol2_Editor()});
case 9:
return Collections.<ConceptEditor>singletonList(new Venster_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例9: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0b = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0b.index(cncpt_a0b)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Activity_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Back_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new DirectCall_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new Empty_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new Event_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new GetInfo_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new HangUp_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new Menu_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new Other_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new Record_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new Replay_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new Timeout_Editor());
case 12:
return Collections.<ConceptEditor>singletonList(new WorkSpace_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例10: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Body_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new Comment_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new Context_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new ContextReference_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new Empty_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new Extend_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new GoTo_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new PlainText_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new Same_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new WorkSpace_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new general1arg_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new general2args_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例11: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new NavigateToNode_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new RefTarget_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new WithRef_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例12: getEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
public Collection<ConceptEditor> getEditors(ConceptDescriptor descriptor) {
switch (Arrays.binarySearch(stringSwitchCases_xbvbvu_a0a0b, descriptor.getConceptFqName())) {
case 0:
return Collections.<ConceptEditor>singletonList(new ConceptReference_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new LanguageVisualization_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例13: getEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
public Collection<ConceptEditor> getEditors(ConceptDescriptor descriptor) {
switch (Arrays.binarySearch(stringSwitchCases_xbvbvu_a0a0a, descriptor.getConceptFqName())) {
case 0:
return Collections.<ConceptEditor>singletonList(new JSONBoolean_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new JSONFile_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new JSONInteger_Editor());
default:
}
return Collections.emptyList();
}
示例14: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0a = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0a.index(cncpt_a0a)) {
case 0:
return Collections.<ConceptEditor>singletonList(new Dialoog_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new DialoogReference_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new InteractieDefinitie_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new InvoerVeld_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new Kolom_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new Presentatie_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new PresentatieDialoog_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new PresentatieKenmerk_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new PresentatieLink_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new PresentatieObject_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new PresentatieRechtsbetrekking_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new PresentatieRechtshandeling_Editor());
case 12:
return Collections.<ConceptEditor>singletonList(new Regeling_Editor());
case 13:
return Collections.<ConceptEditor>singletonList(new Rij_Editor());
case 14:
return Collections.<ConceptEditor>singletonList(new TagVeld_Editor());
case 15:
return Collections.<ConceptEditor>singletonList(new TekstVeld_Editor());
case 16:
return Collections.<ConceptEditor>singletonList(new XpathVeld_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
示例15: getDeclaredEditors
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor; //导入依赖的package包/类
@NotNull
public Collection<ConceptEditor> getDeclaredEditors(SAbstractConcept concept) {
SAbstractConcept cncpt_a0b = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0b.index(cncpt_a0b)) {
case 0:
return Collections.<ConceptEditor>singletonList(new AbstractDatatype_Editor());
case 1:
return Arrays.asList(new ConceptEditor[]{new Attribuut_Editor(), new Attribuut_identificatie_Editor()});
case 2:
return Arrays.asList(new ConceptEditor[]{new AttribuutMetReferentieNaarKenmerk_Editor(), new AttribuutMetReferentieNaarKenmerk_alleenNaam_Editor(), new AttribuutMetReferentieNaarKenmerk_identificatie_Editor()});
case 3:
return Collections.<ConceptEditor>singletonList(new DatumTijdWaarde_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new DatumWaarde_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new DuurWaarde_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new Enumeratie_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new EnumeratieDatatype_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new EnumeratieElement_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new EnumeratieWaarde_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new GegevensModel_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new GeheelGetal_Editor());
case 12:
return Collections.<ConceptEditor>singletonList(new GeheelGetalWaarde_Editor());
case 13:
return Collections.<ConceptEditor>singletonList(new Identificatie_Editor());
case 14:
return Collections.<ConceptEditor>singletonList(new InstantiesVanGegevens_Editor());
case 15:
return Collections.<ConceptEditor>singletonList(new JaNeeWaarde_Editor());
case 16:
return Arrays.asList(new ConceptEditor[]{new Object_Editor(), new Object_alleenNaam_Editor()});
case 17:
return Collections.<ConceptEditor>singletonList(new ObjectDatatype_Editor());
case 18:
return Arrays.asList(new ConceptEditor[]{new ObjectInstantie_Editor(), new ObjectInstantie_alleenNaam_Editor(), new ObjectInstantie_tabel_Editor()});
case 19:
return Collections.<ConceptEditor>singletonList(new ObjectWaarde_Editor());
case 20:
return Collections.<ConceptEditor>singletonList(new OnderwerpDatatype_Editor());
case 21:
return Collections.<ConceptEditor>singletonList(new ReeelGetalWaarde_Editor());
case 22:
return Collections.<ConceptEditor>singletonList(new ReferentieNaarAbstractObject_Editor());
case 23:
return Collections.<ConceptEditor>singletonList(new ReferentieNaarAttribuut_Editor());
case 24:
return Collections.<ConceptEditor>singletonList(new ReferentieNaarAttribuutMetReferentieNaarKenmerk_Editor());
case 25:
return Arrays.asList(new ConceptEditor[]{new ReferentieNaarOnderwerp_Editor(), new ReferentieNaarOnderwerp_alleenNaam_Editor()});
case 26:
return Arrays.asList(new ConceptEditor[]{new ReferentieNaarSubject_Editor(), new ReferentieNaarSubject_alleenNaam_Editor()});
case 27:
return Collections.<ConceptEditor>singletonList(new RijVanKaraktersWaarde_Editor());
case 28:
return Collections.<ConceptEditor>singletonList(new SubjectDatatype_Editor());
case 29:
return Arrays.asList(new ConceptEditor[]{new Tabel_Editor(), new Tabel_tabel_Editor()});
case 30:
return Collections.<ConceptEditor>singletonList(new TijdWaarde_Editor());
case 31:
return Arrays.asList(new ConceptEditor[]{new WaardeVanAttribuut_Editor(), new WaardeVanAttribuut_tabel_Editor()});
case 32:
return Collections.<ConceptEditor>singletonList(new waardeJa_Editor());
case 33:
return Collections.<ConceptEditor>singletonList(new waardeNee_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}