From: Jim Procter Date: Sun, 18 Jan 2015 15:44:04 +0000 (+0000) Subject: JAL-1628 formatting X-Git-Tag: Jalview_2_9~108^2~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=18ab877a5f32de9dbf0a999f8b4623706f4ad2db;p=jalview.git JAL-1628 formatting --- diff --git a/src/jalview/appletgui/CutAndPasteTransfer.java b/src/jalview/appletgui/CutAndPasteTransfer.java index ce2a3ac..0a9ca56 100644 --- a/src/jalview/appletgui/CutAndPasteTransfer.java +++ b/src/jalview/appletgui/CutAndPasteTransfer.java @@ -20,14 +20,28 @@ */ package jalview.appletgui; -import java.awt.*; -import java.awt.event.*; - -import jalview.datamodel.*; -import jalview.io.*; +import jalview.datamodel.Alignment; +import jalview.datamodel.PDBEntry; +import jalview.datamodel.Sequence; +import jalview.io.AnnotationFile; +import jalview.io.AppletFormatAdapter; +import jalview.io.IdentifyFile; +import jalview.io.TCoffeeScoreFile; import jalview.schemes.TCoffeeColourScheme; import jalview.util.MessageManager; +import java.awt.BorderLayout; +import java.awt.Button; +import java.awt.Dialog; +import java.awt.Font; +import java.awt.Frame; +import java.awt.Panel; +import java.awt.TextArea; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.MouseEvent; +import java.awt.event.MouseListener; + public class CutAndPasteTransfer extends Panel implements ActionListener, MouseListener { @@ -132,12 +146,15 @@ public class CutAndPasteTransfer extends Panel implements ActionListener, pdb.setFile(text); if (alignFrame.alignPanel.av.applet.jmolAvailable) + { new jalview.appletgui.AppletJmol(pdb, new Sequence[] { seq }, null, alignFrame.alignPanel, AppletFormatAdapter.PASTE); + } else - + { new MCview.AppletPDBViewer(pdb, new Sequence[] { seq }, null, alignFrame.alignPanel, AppletFormatAdapter.PASTE); + } } else if (treeImport)