Rearrange Material types
This causes a more logical arrangement in the preferences' add material dropdown box
This commit is contained in:
parent
4caba0fcb5
commit
a80bfcde14
@ -19,11 +19,11 @@ import net.sf.openrocket.util.MathUtil;
|
|||||||
public abstract class Material implements Comparable<Material> {
|
public abstract class Material implements Comparable<Material> {
|
||||||
|
|
||||||
private static final Translator trans = Application.getTranslator();
|
private static final Translator trans = Application.getTranslator();
|
||||||
|
|
||||||
public enum Type {
|
public enum Type {
|
||||||
LINE("Databases.materials.types.Line", UnitGroup.UNITS_DENSITY_LINE),
|
|
||||||
SURFACE("Databases.materials.types.Surface", UnitGroup.UNITS_DENSITY_SURFACE),
|
|
||||||
BULK("Databases.materials.types.Bulk", UnitGroup.UNITS_DENSITY_BULK),
|
BULK("Databases.materials.types.Bulk", UnitGroup.UNITS_DENSITY_BULK),
|
||||||
|
SURFACE("Databases.materials.types.Surface", UnitGroup.UNITS_DENSITY_SURFACE),
|
||||||
|
LINE("Databases.materials.types.Line", UnitGroup.UNITS_DENSITY_LINE),
|
||||||
CUSTOM("Databases.materials.types.Custom", UnitGroup.UNITS_DENSITY_BULK);
|
CUSTOM("Databases.materials.types.Custom", UnitGroup.UNITS_DENSITY_BULK);
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user