package jetbrains.mps.execution.configurations.pluginSolution.plugin;
/*Generated by MPS */
import jetbrains.mps.plugins.relations.RelationDescriptor;
import javax.swing.Icon;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import java.util.List;
import jetbrains.mps.internal.collections.runtime.ListSequence;
import java.util.ArrayList;
public class Run_Configuration_TabDescriptor extends RelationDescriptor {
private static final Icon ICON = null;
public Run_Configuration_TabDescriptor() {
}
public String getTitle() {
return "Run Configuration";
}
public void startListening() {
throw new RuntimeException("NOT IMPLEMENTED");
}
public SNode getBaseNode(SNode node) {
return null;
}
public boolean isApplicable(SNode node) {
return SNodeOperations.isInstanceOf(node, MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e49L, "jetbrains.mps.execution.configurations.structure.RunConfiguration"));
}
public List<SNode> getNodes(SNode node) {
List<SNode> list = ListSequence.fromList(new ArrayList<SNode>());
SNode n = getNode(node);
if (n == null) {
return list;
}
ListSequence.fromList(list).addElement(n);
return list;
}
public boolean isSingle() {
return false;
}
public SNode getNode(SNode node) {
return node;
}
}