Examples of moveSelectedTracksTo()


Examples of org.broad.igv.ui.panel.TrackPanel.moveSelectedTracksTo()

            public void actionPerformed(ActionEvent e) {
                MergedTracks mergedTracks = new MergedTracks(UUID.randomUUID().toString(), "Overlay", dataTrackList);
                Track firstTrack = tracks.iterator().next();
                TrackPanel panel = TrackPanel.getParentPanel(firstTrack);
                panel.addTrack(mergedTracks);
                panel.moveSelectedTracksTo(Arrays.asList(mergedTracks), firstTrack, false);
                panel.removeTracks(tracks);
            }
        });

        int numDataTracks = dataTrackList.size();
View Full Code Here

Examples of org.broad.igv.ui.panel.TrackPanel.moveSelectedTracksTo()

                Track firstTrack = tracks.iterator().next();
                TrackPanel panel = TrackPanel.getParentPanel(firstTrack);
                final MergedTracks mergedTracks = (MergedTracks) firstTrack;
                mergedTracks.setTrackAlphas(255);
                panel.addTracks(mergedTracks.getMemberTracks());
                panel.moveSelectedTracksTo(mergedTracks.getMemberTracks(), mergedTracks, true);
                IGV.getInstance().removeTracks(Arrays.asList(mergedTracks));
            }
        });
        }
        else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.