public final class AddSynapseGroupAction extends ConditionallyEnabledAction
ConditionallyEnabledAction.EnablingCondition
Constructor and Description |
---|
AddSynapseGroupAction(NetworkPanel networkPanel)
Create a new neuron action with the specified network panel.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
static void |
displaySynapseGroupDialog(NetworkPanel networkPanel)
Display the add synapse group dialog.
|
sourceAndTargetNeuronGroupsSelected, sourceAndTargetNeuronSelected
public AddSynapseGroupAction(NetworkPanel networkPanel)
networkPanel
- network panel, must not be nullpublic void actionPerformed(java.awt.event.ActionEvent event)
event
- AbstractAction
public static void displaySynapseGroupDialog(NetworkPanel networkPanel)
networkPanel
- the network panel in which to add the group.