package net.sf.openrocket.rocketcomponent;
+import net.sf.openrocket.l10n.Translator;
+import net.sf.openrocket.startup.Application;
+
/**
* Rocket nose cones of various types. Implemented as a transition with the
* fore radius == 0.
*/
public class NoseCone extends Transition {
-
+ private static final Translator trans = Application.getTranslator();
+
/********* Constructors **********/
public NoseCone() {
*/
@Override
public String getComponentName() {
- return "Nose cone";
- }
+ //// Nose cone
+ return trans.get("NoseCone.NoseCone");
+ }
+
+ /**
+ * Accept a visitor to this NoseCone in the component hierarchy.
+ *
+ * @param theVisitor the visitor that will be called back with a reference to this NoseCone
+ */
+ @Override
+ public void accept(ComponentVisitor theVisitor) {
+ theVisitor.visit(this);
+ }
}