Skip to content
Permalink
Browse files

remove unused items from GUI

  • Loading branch information...
pabender committed Mar 5, 2019
1 parent a600609 commit b256a95646488d40a290ff0c1b3388b13d3bd889
@@ -5,33 +5,14 @@
# menu items
MenuItemCabSignalPane = Cab Signals

#Event filter and highlighter items
TooltipApply = Select to apply highlight
TooltipDisable = Select to disable highlight
HighlightDisabled = Disabled

# cab signal information
SessCol = Session Columns
SigDataOpt = Signal Data Options
SigDataCol = Signal Data Columns
SigDataOn = Signal Data On
SigDataOff = Signal Data Off

FWD = Forwards
REV = Reverse
ResetBlocks = Reload Blocks
NoBlocks = No blocks found to import into Command Station. Cabdata unavailable.
BlocksFound = {0} blocks loaded into Command Station.
High = High
Low = Low
Speed = Speed

#buttons/labels at the top
AddressLabelText = Consist:
AddressSelectorToolTip = Consist being created or deleted
ConsistAddressBoxToolTip = Select an existing Consist
LocoLabelText = New Locomotive:
LocoSelectorToolTip = Address of a new Locomotive to add to the Consist
AddButtonText = Add
AddButtonToolTip = Add to the Consist
AddButtonToolTip = Add Cab Signal
ResetButtonToolTip = Reset locomotive information
@@ -67,7 +67,6 @@
protected JTable slotTable=null;
protected final XTableColumnModel tcm = new XTableColumnModel();

private JMenu colMenu = new JMenu((Bundle.getMessage("SessCol")));
private JMenu cabSigColMenu = new JMenu(Bundle.getMessage("SigDataCol"));

protected List<JCheckBoxMenuItem> colMenuList = new ArrayList<JCheckBoxMenuItem>();
@@ -251,7 +250,8 @@ public void keyReleased(KeyEvent e) {
resetLocoButton.setVisible(true);
resetLocoButton.setToolTipText(Bundle.getMessage("ResetButtonToolTip"));
resetLocoButton.addActionListener((ActionEvent e) -> {
//resetLocoButtonActionPerformed(e);
locoSelector.reset();
locoRosterBox.setSelectedIndex(0);
});

toppanelcontainer.add(resetLocoButton);
@@ -331,7 +331,6 @@ public CabSignalPane() {
public List<JMenu> getMenus() {
List<JMenu> menuList = new ArrayList<JMenu>();

menuList.add(colMenu);
menuList.add(cabSigColMenu);
return menuList;
}

0 comments on commit b256a95

Please sign in to comment.
You can’t perform that action at this time.