Hello,
I am developing a visual app using the ArcObjects Java API. I have a ToolbarBean, with a ControlsNetworkAnalystLayerToolControl item on it, which I use to select the network dataset that is going to be the subject of the app analyses.
I would like to have an event that detects when the user update that control, changing the current network dataset.
I have tried to use an onItemClick for the Toolbar, but it is not triggered by the NetworkAnalystLayer control.
Another solution could be to call a "Select data" dialog box similar to the one triggered by the ControlsAddDataCommand item but where only network datasets would be shown.
Or there might be another way to do that? Basically, I just want to select a network dataset and perform some preparatory analyses before giving the hand to the user.
I am new to ArcObjects programming and any help or pointer will be welcome. Thanks in advance.