Class DefaultMainMenuListener
- java.lang.Object
-
- org.bidib.wizard.mvc.main.controller.DefaultMainMenuListener
-
- All Implemented Interfaces:
MainMenuListener
public class DefaultMainMenuListener extends Object implements MainMenuListener
-
-
Constructor Summary
Constructors Constructor Description DefaultMainMenuListener(MainView viewSupplier, com.vlsolutions.swing.docking.DockingDesktop dockingDesktop, MainModel mainModel, SettingsService settingsService, org.springframework.context.ApplicationContext applicationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabout()Show about dialog.voidallBoosterOff()Switch all booster off.voidallBoosterOn()Switch all booster on.voidbackupAllNodes()Backup all nodes.voidboosterTable()Open the booster table.voidcollectLogFiles()Collect the logfilesvoidconnect()Disconnect to BiDiB.voidconsole()Open the console.voiddccAdv()Open the DCC-A panel.voiddebugConsole()Open the debug console panel.voiddebugInterface()Open the debug interface panel.voiddisconnect()Disconnect from BiDiB.voidexit()Exit the application.voidfeedbackPositionTable()Open the feedback position table.voidhandleMenuEvent(MenuEvent event)voidlistenNetBidib()Listen for netBiDiB.voidlogPanel()Open the log panel.voidnetDebug()Open the netDebug panel.voidnodeScriptView()Open the node script editor.voidpingTable()Open the ping table.voidpreferences()Open the preferences.voidsaveNodeTreeForComparison()Save the current node tree for comparison purposes.voidsaveNodeTreeForSimulation()Save the current node tree as simulation.voidshowFirmwareRepo()Show the firmware repo.voidshowLocalHostClient()Show the localHost client.voidshowLocoDialog()Show the loco dialog.voidshowNodesClient()Show the nodes client.voidshowNodeScriptWizard()Show the node script wizard.voidshowScriptClient()Show the script client.voidshowTracerClient()Show the tracer client.
-
-
-
Constructor Detail
-
DefaultMainMenuListener
public DefaultMainMenuListener(MainView viewSupplier, com.vlsolutions.swing.docking.DockingDesktop dockingDesktop, MainModel mainModel, SettingsService settingsService, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Detail
-
about
public void about()
Description copied from interface:MainMenuListenerShow about dialog.- Specified by:
aboutin interfaceMainMenuListener
-
exit
public void exit()
Description copied from interface:MainMenuListenerExit the application.- Specified by:
exitin interfaceMainMenuListener
-
preferences
public void preferences()
Description copied from interface:MainMenuListenerOpen the preferences.- Specified by:
preferencesin interfaceMainMenuListener
-
connect
public void connect()
Description copied from interface:MainMenuListenerDisconnect to BiDiB.- Specified by:
connectin interfaceMainMenuListener
-
disconnect
public void disconnect()
Description copied from interface:MainMenuListenerDisconnect from BiDiB.- Specified by:
disconnectin interfaceMainMenuListener
-
listenNetBidib
public void listenNetBidib()
Description copied from interface:MainMenuListenerListen for netBiDiB.- Specified by:
listenNetBidibin interfaceMainMenuListener
-
allBoosterOff
public void allBoosterOff()
Description copied from interface:MainMenuListenerSwitch all booster off.- Specified by:
allBoosterOffin interfaceMainMenuListener
-
allBoosterOn
public void allBoosterOn()
Description copied from interface:MainMenuListenerSwitch all booster on.- Specified by:
allBoosterOnin interfaceMainMenuListener
-
collectLogFiles
public void collectLogFiles()
Description copied from interface:MainMenuListenerCollect the logfiles- Specified by:
collectLogFilesin interfaceMainMenuListener
-
logPanel
public void logPanel()
Description copied from interface:MainMenuListenerOpen the log panel.- Specified by:
logPanelin interfaceMainMenuListener
-
boosterTable
public void boosterTable()
Description copied from interface:MainMenuListenerOpen the booster table.- Specified by:
boosterTablein interfaceMainMenuListener
-
feedbackPositionTable
public void feedbackPositionTable()
Description copied from interface:MainMenuListenerOpen the feedback position table.- Specified by:
feedbackPositionTablein interfaceMainMenuListener
-
pingTable
public void pingTable()
Description copied from interface:MainMenuListenerOpen the ping table.- Specified by:
pingTablein interfaceMainMenuListener
-
console
public void console()
Description copied from interface:MainMenuListenerOpen the console.- Specified by:
consolein interfaceMainMenuListener
-
nodeScriptView
public void nodeScriptView()
Description copied from interface:MainMenuListenerOpen the node script editor.- Specified by:
nodeScriptViewin interfaceMainMenuListener
-
debugInterface
public void debugInterface()
Description copied from interface:MainMenuListenerOpen the debug interface panel.- Specified by:
debugInterfacein interfaceMainMenuListener
-
netDebug
public void netDebug()
Description copied from interface:MainMenuListenerOpen the netDebug panel.- Specified by:
netDebugin interfaceMainMenuListener
-
debugConsole
public void debugConsole()
Description copied from interface:MainMenuListenerOpen the debug console panel.- Specified by:
debugConsolein interfaceMainMenuListener
-
saveNodeTreeForSimulation
public void saveNodeTreeForSimulation()
Description copied from interface:MainMenuListenerSave the current node tree as simulation.- Specified by:
saveNodeTreeForSimulationin interfaceMainMenuListener
-
backupAllNodes
public void backupAllNodes()
Description copied from interface:MainMenuListenerBackup all nodes.- Specified by:
backupAllNodesin interfaceMainMenuListener
-
dccAdv
public void dccAdv()
Description copied from interface:MainMenuListenerOpen the DCC-A panel.- Specified by:
dccAdvin interfaceMainMenuListener
-
showNodeScriptWizard
public void showNodeScriptWizard()
Description copied from interface:MainMenuListenerShow the node script wizard.- Specified by:
showNodeScriptWizardin interfaceMainMenuListener
-
showFirmwareRepo
public void showFirmwareRepo()
Description copied from interface:MainMenuListenerShow the firmware repo.- Specified by:
showFirmwareRepoin interfaceMainMenuListener
-
showNodesClient
public void showNodesClient()
Description copied from interface:MainMenuListenerShow the nodes client.- Specified by:
showNodesClientin interfaceMainMenuListener
-
showScriptClient
public void showScriptClient()
Description copied from interface:MainMenuListenerShow the script client.- Specified by:
showScriptClientin interfaceMainMenuListener
-
showTracerClient
public void showTracerClient()
Description copied from interface:MainMenuListenerShow the tracer client.- Specified by:
showTracerClientin interfaceMainMenuListener
-
showLocalHostClient
public void showLocalHostClient()
Description copied from interface:MainMenuListenerShow the localHost client.- Specified by:
showLocalHostClientin interfaceMainMenuListener
-
showLocoDialog
public void showLocoDialog()
Description copied from interface:MainMenuListenerShow the loco dialog.- Specified by:
showLocoDialogin interfaceMainMenuListener
-
handleMenuEvent
@EventListener public void handleMenuEvent(MenuEvent event)
-
saveNodeTreeForComparison
public void saveNodeTreeForComparison()
Description copied from interface:MainMenuListenerSave the current node tree for comparison purposes.- Specified by:
saveNodeTreeForComparisonin interfaceMainMenuListener
-
-