Added two localization keys - appearance tab, and rocket panel, view
type.
This commit is contained in:
parent
fee17f3878
commit
d2822b5fc6
@ -54,7 +54,7 @@ RocketPanel.FigTypeAct.Unfinished = 3D Unfinished
|
||||
RocketPanel.lbl.Flightcfg = Flight configuration:
|
||||
RocketPanel.but.FlightcfgEdit = Edit
|
||||
RocketPanel.lbl.infoMessage = <html>Click to select Shift+click to select other Double-click to edit Click+drag to move
|
||||
|
||||
RocketPanel.lbl.ViewType = View Type:
|
||||
|
||||
! BasicFrame
|
||||
BasicFrame.tab.Rocketdesign = Rocket design
|
||||
@ -766,6 +766,7 @@ RocketCompCfg.tab.Figure = Figure
|
||||
RocketCompCfg.tab.Figstyleopt = Figure style options
|
||||
RocketCompCfg.tab.Comment = Comment
|
||||
RocketCompCfg.tab.Specifyacomment = Specify a comment for the component
|
||||
RocketCompCfg.tab.Appearance = Appearance
|
||||
RocketCompCfg.lbl.Mass = Mass:
|
||||
RocketCompCfg.lbl.Componentmass = Component mass:
|
||||
RocketCompCfg.lbl.overriddento = (overridden to
|
||||
|
@ -64,7 +64,7 @@ public class RocketComponentConfig extends JPanel {
|
||||
protected final JTextField componentNameField;
|
||||
protected JTextArea commentTextArea;
|
||||
private final TextFieldListener textFieldListener;
|
||||
|
||||
|
||||
private JPanel buttonPanel;
|
||||
|
||||
private JLabel infoLabel;
|
||||
@ -106,10 +106,10 @@ public class RocketComponentConfig extends JPanel {
|
||||
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Override"), null, overrideTab(),
|
||||
trans.get("RocketCompCfg.tab.MassandCGoverride"));
|
||||
if (component.isMassive())
|
||||
|
||||
//// Appearance options
|
||||
tabbedPane.addTab("Appearance", null, new AppearancePanel(document,component),
|
||||
"Appearance Tool Tip");
|
||||
|
||||
//// Appearance options
|
||||
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Appearance"), null, new AppearancePanel(document, component),
|
||||
"Appearance Tool Tip");
|
||||
|
||||
//// Comment and Specify a comment for the component
|
||||
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Comment"), null, commentTab(),
|
||||
|
@ -301,7 +301,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
|
||||
}
|
||||
}
|
||||
};
|
||||
add(new JLabel("View Type:"), "spanx, split");
|
||||
add(new JLabel(trans.get("RocketPanel.lbl.ViewType")), "spanx, split");
|
||||
add(new JComboBox(cm));
|
||||
|
||||
|
||||
@ -368,8 +368,6 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
|
||||
addExtras();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public RocketFigure getFigure() {
|
||||
return figure;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user