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"); } } } }
public ShapeGeometry() : base() { shape = null; }
public ShapeGeometry() : base() { shape = null; }
//callbakcs operation public abstract void setShape(ShapeSpecification shape);
//callbakcs operation public abstract void setShape(ShapeSpecification shape);
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"); } } }