Example #1
0
 // private ComponentEntity cloneEntity(ComponentEntity entity) throws
 // IllegalActionException {
 private NamedObj cloneEntity(NamedObj entity) throws IllegalActionException {
   try {
     return (NamedObj) entity.clone(this.workspace);
   } catch (java.lang.CloneNotSupportedException cnse) {
     throw new IllegalActionException("clone not supported: " + cnse);
   }
 }