package jetbrains.mps.lang.editor.actions;
/*Generated by MPS */
import jetbrains.mps.actions.descriptor.BaseActionAspectDescriptor;
import jetbrains.mps.openapi.actions.descriptor.ActionAspectDescriptor;
import java.util.Collection;
import jetbrains.mps.openapi.actions.descriptor.NodeFactory;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import java.util.Arrays;
import java.util.Collections;
public class ActionAspectDescriptorImpl extends BaseActionAspectDescriptor implements ActionAspectDescriptor {
private static final String LANGUAGE_FQ_NAME = "jetbrains.mps.lang.editor";
@Override
public Collection<NodeFactory> getFactories(SAbstractConcept concept) {
if (LANGUAGE_FQ_NAME.equals(concept.getLanguage().getQualifiedName())) {
switch (Arrays.binarySearch(stringSwitchCases_tpto26_a0a0a0c, concept.getName())) {
case 0:
return Collections.<NodeFactory>singletonList(new StyleClassItem.NodeFactory_4088952938557965240());
case 1:
return Collections.<NodeFactory>singletonList(new StyleClassItem.NodeFactory_1222178769288());
case 2:
return Collections.<NodeFactory>singletonList(new EDTL_node_factories.NodeFactory_1165441265075());
case 3:
return Collections.<NodeFactory>singletonList(new EDTL_node_factories.NodeFactory_1159287296418());
case 4:
return Collections.<NodeFactory>singletonList(new EDTL_node_factories.NodeFactory_5571273656752866301());
case 5:
return Collections.<NodeFactory>singletonList(new EDTL_node_factories.NodeFactory_1158947460472());
case 6:
return Collections.<NodeFactory>singletonList(new EDTL_node_factories.NodeFactory_1239813377368());
case 7:
return Collections.<NodeFactory>singletonList(new StyleClassItem.NodeFactory_1222177342204());
case 8:
return Collections.<NodeFactory>singletonList(new StyleClassItem.NodeFactory_1222178992987());
case 9:
return Collections.<NodeFactory>singletonList(new IExtensibleMenuPart_factory.NodeFactory_7985135009829579183());
default:
}
}
return Collections.<NodeFactory>emptyList();
}
@Override
public boolean hasBuilders() {
return false;
}
private static String[] stringSwitchCases_tpto26_a0a0a0c = new String[]{"AttributeStyleClassItem", "BooleanStyleSheetItem", "CellModel_Alternation", "CellModel_Collection", "CellModel_ContextAssistant", "CellModel_Property", "CellModel_RefNodeList", "ColorStyleClassItem", "FloatStyleClassItem", "IExtensibleTransformationMenuPart"};
}