* at that time.
*/
protected void initializeInteraction() {
super.initializeInteraction();
GraphPane pane = getGraphPane();
// Add a menu command to configure the ports.
_portDialogAction = new PortDialogAction("Ports");
_portDialogAction.setConfiguration(getConfiguration());
_configureMenuFactory.addAction(_portDialogAction, "Customize");
_configureUnitsAction = new ConfigureUnitsAction("Units Constraints");
_configureMenuFactory.addAction(_configureUnitsAction, "Customize");
_configureUnitsAction.setConfiguration(getConfiguration());
// Add a menu command to list to the actor.
_listenToActorFactory = new ListenToActorFactory();
_menuFactory.addMenuItemFactory(_listenToActorFactory);
_listenToActorFactory.setConfiguration(getConfiguration());
// Create listeners that creates new relations.
_relationCreator = new RelationCreator();
_relationCreator.setMouseFilter(_shortcutFilter);
pane.getBackgroundEventLayer().addInteractor(_relationCreator);
// Note that shift-click is already bound to the dragSelection
// interactor when adding things to a selection.
// Create the interactor that drags new edges.
_linkCreator = new LinkCreator();