package jetbrains.mps.lang.refactoring.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 AbstractMoveExpression_Editor());
case 1:
return Collections.<ConceptEditor>singletonList(new ContextMemberOperation_Editor());
case 2:
return Collections.<ConceptEditor>singletonList(new ContextType_Editor());
case 3:
return Collections.<ConceptEditor>singletonList(new CreateRefactoringContext_Editor());
case 4:
return Collections.<ConceptEditor>singletonList(new ExecuteRefactoringStatement_Editor());
case 5:
return Collections.<ConceptEditor>singletonList(new IsRefactoringApplicable_Editor());
case 6:
return Collections.<ConceptEditor>singletonList(new ModelTarget_Editor());
case 7:
return Collections.<ConceptEditor>singletonList(new ModelsToGenerateByDefault_Editor());
case 8:
return Collections.<ConceptEditor>singletonList(new ModuleTarget_Editor());
case 9:
return Collections.<ConceptEditor>singletonList(new MoveNodeToNodeExpression_Editor());
case 10:
return Collections.<ConceptEditor>singletonList(new MoveNodesToNodeExpression_Editor());
case 11:
return Collections.<ConceptEditor>singletonList(new NodeTarget_Editor());
case 12:
return Collections.<ConceptEditor>singletonList(new Refactoring_Editor());
case 13:
return Collections.<ConceptEditor>singletonList(new RefactoringParameter_Editor());
case 14:
return Collections.<ConceptEditor>singletonList(new RefactoringParameterReference_Editor());
case 15:
return Collections.<ConceptEditor>singletonList(new UpdateModelProcedure_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.lang.refactoring.editor.RefactoringTarget".equals(editorComponentId)) {
return Collections.<ConceptEditorComponent>singletonList(new RefactoringTarget());
}
}
break;
default:
}
return Collections.<ConceptEditorComponent>emptyList();
}
private static final ConceptSwitchIndex index_xbvbvu_a0a = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x1174ee3c478L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x6e6245e06b61646dL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x6e6245e06b65b84aL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x335c206b02bc2de5L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x1fe4fcef62d0186cL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5b9318cd86fd917dL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77a056aL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x3c55f2dab56d441dL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77a056bL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x1174ef58749L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x1174efa95a1L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77a056cL), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a778e245L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77a0664L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77cda06L), MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x11710c75c77L)).seal();
private static final ConceptSwitchIndex index_xbvbvu_a0c = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x3ecd7c84cde345deL, 0x886c135ecc69b742L, 0x5fb04b74a77a0569L)).seal();
}