Package com.tulskiy.musique.gui.cpp

Examples of com.tulskiy.musique.gui.cpp.TrackInfoItemSelection


        aMap.put("cut", new AbstractAction("Cut fields") {
            @Override
            public void actionPerformed(ActionEvent e) {
              List<TrackInfoItem> selectedItems = getSelectedItems(table);
              if (!selectedItems.isEmpty()) {
          TrackInfoItemSelection selection = new TrackInfoItemSelection(selectedItems);
          getToolkit().getSystemClipboard().setContents(selection, selection);
          getTagFieldModel(table).removeTrackInfoItems(selectedItems);
          refreshTable(table);
              }
            }
        });

        aMap.put("copy", new AbstractAction("Copy fields") {
            @Override
            public void actionPerformed(ActionEvent e) {
              List<TrackInfoItem> selectedItems = getSelectedItems(table);
              if (!selectedItems.isEmpty()) {
          TrackInfoItemSelection selection = new TrackInfoItemSelection(selectedItems);
          getToolkit().getSystemClipboard().setContents(selection, selection);
              }
            }
        });
View Full Code Here

TOP

Related Classes of com.tulskiy.musique.gui.cpp.TrackInfoItemSelection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.