protected void addFromClipboard() { addFromClipboard(CLIPBOARD_LINE_DELIMITERS, CLIPBOARD_ARG_DELIMITERS); }
/** * Invoked when an action occurs. This implementation supports the add and * delete buttons. * * @param e the event that has occurred */ @Override public void actionPerformed(ActionEvent e) { if (!disableButtons) { String action = e.getActionCommand(); if (action.equals(DELETE)) { deleteArgument(); } else if (action.equals(ADD)) { addArgument(); } else if (action.equals(ADD_FROM_CLIPBOARD)) { addFromClipboard(); } else if (action.equals(UP)) { moveUp(); } else if (action.equals(DOWN)) { moveDown(); } else if (action.equals(DETAIL)) { showDetail(); } } }