public PathSpecification getPath(string name) { if (Classifier.hasAttribute(name)) { Slot prop = getProperty(name); if (prop != null) { return((PathSpecification)prop.getValue()); } } return(null); }
public void setActiveShape(string name) { if (Classifier.hasAttribute(name)) { Slot s = getProperty(name); if (s != null) { activeShape = (ShapeSpecification)s.getValue(); if (activeShape != null) { activeShape.setEntity(this); } else { System.Console.WriteLine(this.name + ".setActiveShape(" + name + ") : the property is undefined"); } } } }