From: amwaterhouse Date: Thu, 16 Mar 2006 15:18:17 +0000 (+0000) Subject: CandP takes AlignFrame, not applet X-Git-Tag: Root_VamJalview_2_07b+~54 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47a3f3d338d24f2a92d8249eede1ed0a6fd43d87;p=jalview.git CandP takes AlignFrame, not applet --- diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index a9a0e35..b85c7d2 100755 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -181,9 +181,9 @@ public class APopupMenu void addPDB(Sequence seq) { - CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame.applet); + CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame); cap.setText("Paste your PDB file here."); - cap.setPDBImport(seq, ap.seqPanel.seqCanvas); + cap.setPDBImport(seq); Frame frame = new Frame(); frame.add(cap); jalview.bin.JalviewLite.addFrame(frame, "Paste PDB file ", 400, 300); diff --git a/src/jalview/appletgui/AnnotationLabels.java b/src/jalview/appletgui/AnnotationLabels.java index 3ef61e6..ae47b72 100755 --- a/src/jalview/appletgui/AnnotationLabels.java +++ b/src/jalview/appletgui/AnnotationLabels.java @@ -83,7 +83,7 @@ public class AnnotationLabels } else if (evt.getActionCommand().equals(OUTPUT_TEXT)) { - CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet); + CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame); Frame frame = new Frame(); frame.add(cap); jalview.bin.JalviewLite.addFrame(frame,