Example #1
0
 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");
             }
         }
     }
 }
Example #2
0
 public ShapeGeometry()
     : base()
 {
     shape = null;
 }
Example #3
0
 public ShapeGeometry()
     : base()
 {
     shape = null;
 }
        //callbakcs operation

        public abstract void setShape(ShapeSpecification shape);
 //callbakcs operation
 public abstract void setShape(ShapeSpecification shape);
Example #6
0
        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");

                }
            }
        }