invocation problems with Distributed Composite Actor Options dialog
Sometimes the Distributed Composite Actor Options (DCAO) dialog doesn't come up when it should, and sometimes it appears when it shouldn't. Also, I'm not clear on if the text in the alert that appears when it refuses to come up (shown below) is correct.
In master-slave, drag out a DistributedCompositeActor.
If you right-click on the DistributedCompositeActor, and select Distribute this actor, you get an Alert:
'Distribute this actor' is not available for actors of type: org.kepler.distributed.DistributedCompositeActor. Only TypedCompositeActor and CompositeActor can be distributed
Yet if you double-click on it, you're able to bring up the DCAO dialog.
Also, if you drag out a CompositeActor, and double-click on it, you get the usual Edit Parameters dialog. If you right-click 'Distribute this actor', you get the DCAO dialog. A subsequent double-click on the actor and now instead of the Edit Parameters dialog, the DCAO dialog appears. A subsequent right-click 'Distribute this actor' and now you get the Alert message saying you can't.
#2 Updated by Derik Barseghian almost 8 years ago
One more ER - if the actor is already distributed, maybe the alert can say something like "this actor is already distributed" instead of saying: 'Distribute this actor' is not available for actors of type: org.kepler.distributed.DistributedCompositeActor.
Or simply disable (gray out) the menu option if that's easy.