1 package net.sf.openrocket.file.rocksim.export;
4 * An interface that defines methods for attaching and detaching child components. Rocksim has a special
5 * XML element that acts as a container, called <pre><AttachedParts></AttachedParts></pre>. Implementors of
6 * this interface are those Rocksim DTO classes that support the attached parts element.
8 public interface AttachableParts {
10 * Remove a previously attached part from this component.
12 * @param part the instance to remove
14 void removeAttachedPart(BasePartDTO part);
17 * Attach (associate) a DTO with this component.
20 void addAttachedPart(BasePartDTO part);