Class DefaultMainMenuListener
java.lang.Object
org.bidib.wizard.mvc.main.controller.DefaultMainMenuListener
- All Implemented Interfaces:
MainMenuListener
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMainMenuListener(MainView viewSupplier, com.vlsolutions.swing.docking.DockingDesktop dockingDesktop, MainModel mainModel, org.bidib.wizard.common.service.SettingsService settingsService, org.springframework.context.ApplicationContext applicationContext, LocoTableControllerFactory locoTableControllerFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidabout()Show about dialog.voidSwitch all booster off.voidSwitch all booster on.voidBackup all nodes.voidOpen the booster table.voidCheck for updates of the wizard.voidCollect the logfilesvoidconnect()Disconnect to BiDiB.voidconsole()Open the console.voiddccAdv()Open the DCC-A panel.voidOpen the debug console panel.voidOpen the debug interface panel.voidDisconnect from BiDiB.voidList discovered bonjour services.voidexit()Exit the application.voidOpen the feedback position table.voidhandleMenuEvent(MenuEvent event) voidListen for netBiDiB.voidShow the loco table view.voidnetDebug()Open the netDebug panel.voidOpen the node script editor.voidOpen the ping table.voidOpen the preferences.voidSave the current node tree for comparison purposes.voidSave the current node tree as simulation.voidShow the car dialog.voidShow the firmware archive validation view.voidShow the firmware repo.voidShow the localHost client.voidShow the loco dialog.voidShow the nodes client.voidShow the node script wizard.voidOpen the RXTX log panel.voidShow the script client.voidShow the tracer client.voidShow the workItem list.
-
Constructor Details
-
DefaultMainMenuListener
public DefaultMainMenuListener(MainView viewSupplier, com.vlsolutions.swing.docking.DockingDesktop dockingDesktop, MainModel mainModel, org.bidib.wizard.common.service.SettingsService settingsService, org.springframework.context.ApplicationContext applicationContext, LocoTableControllerFactory locoTableControllerFactory)
-
-
Method Details
-
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
-
checkForUpdates
public void checkForUpdates()Description copied from interface:MainMenuListenerCheck for updates of the wizard.- Specified by:
checkForUpdatesin interfaceMainMenuListener
-
collectLogFiles
public void collectLogFiles()Description copied from interface:MainMenuListenerCollect the logfiles- Specified by:
collectLogFilesin interfaceMainMenuListener
-
showRxTxLoggerView
public void showRxTxLoggerView()Description copied from interface:MainMenuListenerOpen the RXTX log panel.- Specified by:
showRxTxLoggerViewin interfaceMainMenuListener
-
showTracerClient
public void showTracerClient()Description copied from interface:MainMenuListenerShow the tracer client.- Specified by:
showTracerClientin 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
-
locoTable
public void locoTable()Description copied from interface:MainMenuListenerShow the loco table view.- Specified by:
locoTablein 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
-
showLocalHostClient
public void showLocalHostClient()Description copied from interface:MainMenuListenerShow the localHost client.- Specified by:
showLocalHostClientin interfaceMainMenuListener
-
discoverySingleListServices
public void discoverySingleListServices()Description copied from interface:MainMenuListenerList discovered bonjour services.- Specified by:
discoverySingleListServicesin interfaceMainMenuListener
-
showLocoDialog
public void showLocoDialog()Description copied from interface:MainMenuListenerShow the loco dialog.- Specified by:
showLocoDialogin interfaceMainMenuListener
-
showCarDialog
public void showCarDialog()Description copied from interface:MainMenuListenerShow the car dialog.- Specified by:
showCarDialogin interfaceMainMenuListener
-
handleMenuEvent
-
showWorkItemList
public void showWorkItemList()Description copied from interface:MainMenuListenerShow the workItem list.- Specified by:
showWorkItemListin interfaceMainMenuListener
-
saveNodeTreeForComparison
public void saveNodeTreeForComparison()Description copied from interface:MainMenuListenerSave the current node tree for comparison purposes.- Specified by:
saveNodeTreeForComparisonin interfaceMainMenuListener
-
showFirmwareArchiveValidationView
public void showFirmwareArchiveValidationView()Description copied from interface:MainMenuListenerShow the firmware archive validation view.- Specified by:
showFirmwareArchiveValidationViewin interfaceMainMenuListener
-