package jetbrains.mps.baseLanguage.unitTest.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.EditorAspectDescriptorBase;
import org.jetbrains.annotations.NotNull;
import java.util.Collection;
import jetbrains.mps.openapi.editor.descriptor.ConceptEditor;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import java.util.Collections;
import jetbrains.mps.openapi.editor.descriptor.ConceptEditorComponent;
import jetbrains.mps.lang.smodel.ConceptSwitchIndex;
import jetbrains.mps.lang.smodel.ConceptSwitchIndexBuilder;
import jetbrains.mps.smodel.adapter.ids.MetaIdFactory;
public class EditorAspectDescriptorImpl extends EditorAspectDescriptorBase {
@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 AssertEquals_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new AssertFalse_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new AssertIsNotNull_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new AssertIsNull_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new AssertSame_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new AssertThrows_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new AssertTrue_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new BTestCase_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new Fail_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new Message_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new PrepareMethod_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new TestMethod_Editor());
case 12:
return Collections.<ConceptEditor>singletonList(new TestMethodList_Editor());
default:
}
return Collections.<ConceptEditor>emptyList();
}
@NotNull
public Collection<ConceptEditorComponent> getDeclaredEditorComponents(SAbstractConcept concept, String editorComponentId) {
SAbstractConcept cncpt_a0c = ((SAbstractConcept) concept);
switch (index_xbvbvu_a0c.index(cncpt_a0c)) {
case 0:
if (true) {
if ("jetbrains.mps.baseLanguage.unitTest.editor.MessageComponent".equals(editorComponentId)) {
return Collections.<ConceptEditorComponent>singletonList(new MessageComponent());
}
}
break;
default:
}
return Collections.<ConceptEditorComponent>emptyList();
}
private static final ConceptSwitchIndex index_xbvbvu_a0a = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110df569442L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110dfae1d08L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x624233a5cf1ae0f7L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110e252ba91L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110dfcb1f43L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110e4cee82cL), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110df833483L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110dc94e923L), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110e1ab948aL), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110e5064e8fL), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x72682467022fdbbaL), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110dc92748eL), MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110dc95061dL)).seal();
private static final ConceptSwitchIndex index_xbvbvu_a0c = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xf61473f9130f42f6L, 0xb98d6c438812c2f6L, 0x110e5250918L)).seal();
}