question: JMenu createEditMenu ( ) { JMenu editMenu = new JMenu ( "Edit" ) ; editMenu . add ( actionManager . getCutAction ( ) ) ; editMenu . add ( actionManager . getCopyAction ( ) ) ; editMenu . add ( actionManager . getPasteAction ( ) ) ; editMenu . add ( actionManager . getDeleteAction ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( actionManager . getClearSourceNeuronsAction ( ) ) ; editMenu . add ( actionManager . getSetSourceNeuronsAction ( ) ) ; editMenu . add ( actionManager . getConnectionMenu ( ) ) ; editMenu . add ( actionManager . getAddSynapseGroupAction ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( actionManager . getRandomizeObjectsAction ( ) ) ; editMenu . add ( actionManager . getShowAdjustSynapsesDialog ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( actionManager . getLayoutMenu ( ) ) ; editMenu . add ( actionManager . getGroupMenu ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( createAlignMenu ( ) ) ; editMenu . add ( createSpacingMenu ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( actionManager . getSetNeuronPropertiesAction ( ) ) ; editMenu . add ( actionManager . getSetSynapsePropertiesAction ( ) ) ; editMenu . addSeparator ( ) ; editMenu . add ( createSelectionMenu ( ) ) ; return editMenu ; }
target:  Create and return a new Edit menu for this Network panel.