if (inCueMode) stopCueMode(); }
String type = NewLinkEvent.LINK_TYPE_MOVE; if (evt.getSource().equals(moveMenuItem)) { type = NewLinkEvent.LINK_TYPE_MOVE; } else if (evt.getSource().equals(newLinkMenuItem)) { type = NewLinkEvent.LINK_TYPE_NEW_LINK; } else if (evt.getSource().equals(cloneMenuItem)) { type = NewLinkEvent.LINK_TYPE_CLONE; } else if (evt.getSource().equals(cancelMenuItem)) { return; } fireCreateLink(type, sources, parent, index); }
			public void actionPerformed(ActionEvent evt) {				if (inCueMode)					stopCueMode();			}