Class GlobalDetectorPanelController
java.lang.Object
org.bidib.wizard.mvc.main.controller.GlobalDetectorPanelController
- All Implemented Interfaces:
GlobalDetectorPanelListener
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalDetectorPanelController(MainModel mainModel, org.bidib.wizard.api.service.node.CommandStationService commandStationService, org.bidib.wizard.api.service.core.LocoService locoService) -
Method Summary
Modifier and TypeMethodDescriptioncreateGlobalDetectorPanel(TabVisibilityListener tabVisibilityListener) org.bidib.wizard.api.model.NodeInterfacevoidopenLocoDialog(org.bidib.jbidibc.messages.FeedbackAddressData addressData) Open the loco controller dialog with the provided address.voidopenPomDialog(org.bidib.jbidibc.messages.FeedbackAddressData addressData) Open the POM dialog with the provided address.
-
Constructor Details
-
GlobalDetectorPanelController
public GlobalDetectorPanelController(MainModel mainModel, org.bidib.wizard.api.service.node.CommandStationService commandStationService, org.bidib.wizard.api.service.core.LocoService locoService)
-
-
Method Details
-
getSelectedNode
public org.bidib.wizard.api.model.NodeInterface getSelectedNode()- Specified by:
getSelectedNodein interfaceGlobalDetectorPanelListener- Returns:
- the selected node
-
createGlobalDetectorPanel
-
openLocoDialog
public void openLocoDialog(org.bidib.jbidibc.messages.FeedbackAddressData addressData) Description copied from interface:GlobalDetectorPanelListenerOpen the loco controller dialog with the provided address.- Specified by:
openLocoDialogin interfaceGlobalDetectorPanelListener- Parameters:
addressData- the address
-
openPomDialog
public void openPomDialog(org.bidib.jbidibc.messages.FeedbackAddressData addressData) Description copied from interface:GlobalDetectorPanelListenerOpen the POM dialog with the provided address.- Specified by:
openPomDialogin interfaceGlobalDetectorPanelListener- Parameters:
addressData- the address
-