NOSE_CONE_TEMPLATE("OpenRocketPrintable.Noseconetemplates", false, 3),
// Transition Templates
TRANSITION_TEMPLATE("OpenRocketPrintable.Transitiontemplates", false, 4),
+ // Centering Ring Templates
+ CENTERING_RING_TEMPLATE("OpenRocketPrintable.Centeringringtemplates", false, 5),
// Finset shape
- FIN_TEMPLATE("OpenRocketPrintable.Fintemplates", true, 5),
+ FIN_TEMPLATE("OpenRocketPrintable.Fintemplates", true, 6),
// Fin marking guide.
- FIN_MARKING_GUIDE("OpenRocketPrintable.Finmarkingguide", false, 6);
-
+ FIN_MARKING_GUIDE("OpenRocketPrintable.Finmarkingguide", false, 7);
+
private static final Translator trans = Application.getTranslator();
-
+
/**
* The description - will be displayed in the JTree.
*/
private String description;
-
+
/**
* Flag that indicates if the enum value is different depending upon stage.
*/
private boolean stageSpecific;
-
+
/**
* The order of the item as it appears in the printed document.
*/
private int order;
-
+
/**
* Constructor.
*
stageSpecific = staged;
order = idx;
}
-
+
/**
* Get the description of this printable.
*
public String getDescription() {
return trans.get(description);
}
-
+
/**
* Answers if this enum value has different meaning depending upon the stage.
*
public boolean isStageSpecific() {
return stageSpecific;
}
-
+
/**
* Answer the print order. This is relative to other enum values. No two enum values will have the same print
* order value.
public int getPrintOrder() {
return order;
}
-
+
/**
* Look up an enum value based on the description.
*
}
return null;
}
-
+
/**
* Get a list of ordered enum values that do not have stage affinity.
*