container.requestChange(request);
NamedObj newObject = ((CompositeEntity) container)
.getEntity(compositeActorName);
// Kepler wants a different icon.
IconLoader _iconLoader = MoMLParser.getIconLoader();
if (_iconLoader != null) {
_iconLoader.loadIconForClass(
"ptolemy.actor.TypedCompositeActor", newObject);
}
} catch (Throwable throwable) {
MessageHandler.error("Creating hierarchy failed", throwable);
}