]> git.gag.com Git - debian/openrocket/blobdiff - src/net/sf/openrocket/rocketcomponent/Stage.java
DGP - merged printing support from branch
[debian/openrocket] / src / net / sf / openrocket / rocketcomponent / Stage.java
index ed2fc7a9129d5f20b69ffcf8b90fc12b7148a5e8..b16cd4b660e96a39c42d99533f66061cea79080f 100644 (file)
@@ -1,15 +1,21 @@
 package net.sf.openrocket.rocketcomponent;
 
 public class Stage extends ComponentAssembly {
-
+       
     @Override
     public String getComponentName () {
         return "Stage";
     }
-
-
+       
+       
+       @Override
+       public boolean allowsChildren() {
+               return true;
+       }
+       
     /**
-     * Check whether the given type can be added to this component.  A Stage allows only BodyComponents to be added.
+        * Check whether the given type can be added to this component.  A Stage allows 
+        * only BodyComponents to be added.
      *
      * @param type The RocketComponent class type to add.
      *