X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FAppletPDBViewer.java;h=90a79b029b464c8c4abb6c18761917a132fe1224;hb=55cae9b50608f760cbf6ae2627e1d79d16746186;hp=8a1c430d5cdf72bf44a72c39c4f0b7ba158af40a;hpb=b2f9a8d7bce642ff4011bc6d49e02bb0569fbb11;p=jalview.git
diff --git a/src/MCview/AppletPDBViewer.java b/src/MCview/AppletPDBViewer.java
index 8a1c430..90a79b0 100644
--- a/src/MCview/AppletPDBViewer.java
+++ b/src/MCview/AppletPDBViewer.java
@@ -1,31 +1,52 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.1)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with Jalview. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
* The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package MCview;
-import java.awt.*;
-import java.awt.event.*;
-
-import jalview.appletgui.*;
-import jalview.datamodel.*;
-import jalview.schemes.*;
+import jalview.appletgui.AlignmentPanel;
+import jalview.appletgui.CutAndPasteTransfer;
+import jalview.appletgui.EmbmenuFrame;
+import jalview.bin.JalviewLite;
+import jalview.datamodel.PDBEntry;
+import jalview.datamodel.SequenceI;
+import jalview.schemes.BuriedColourScheme;
+import jalview.schemes.HelixColourScheme;
+import jalview.schemes.HydrophobicColourScheme;
+import jalview.schemes.StrandColourScheme;
+import jalview.schemes.TaylorColourScheme;
+import jalview.schemes.TurnColourScheme;
+import jalview.schemes.ZappoColourScheme;
import jalview.util.MessageManager;
+import java.awt.BorderLayout;
+import java.awt.CheckboxGroup;
+import java.awt.CheckboxMenuItem;
+import java.awt.Frame;
+import java.awt.Menu;
+import java.awt.MenuBar;
+import java.awt.MenuItem;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ItemEvent;
+import java.awt.event.ItemListener;
+
public class AppletPDBViewer extends EmbmenuFrame implements
ActionListener, ItemListener
{
@@ -50,7 +71,7 @@ public class AppletPDBViewer extends EmbmenuFrame implements
StringBuffer title = new StringBuffer(seq[0].getName() + ":"
+ pdbcanvas.pdbentry.getFile());
- jalview.bin.JalviewLite.addFrame(this, title.toString(), 400, 400);
+ JalviewLite.addFrame(this, title.toString(), 400, 400);
}
@@ -58,12 +79,12 @@ public class AppletPDBViewer extends EmbmenuFrame implements
{
if (evt.getSource() == mapping)
{
- jalview.appletgui.CutAndPasteTransfer cap = new jalview.appletgui.CutAndPasteTransfer(
- false, null);
+ CutAndPasteTransfer cap = new CutAndPasteTransfer(false, null);
Frame frame = new Frame();
frame.add(cap);
- jalview.bin.JalviewLite.addFrame(frame, MessageManager.getString("label.pdb_sequence_mapping"),
- 500, 600);
+ JalviewLite.addFrame(frame,
+ MessageManager.getString("label.pdb_sequence_mapping"), 500,
+ 600);
cap.setText(pdbcanvas.mappingDetails.toString());
}
@@ -168,7 +189,8 @@ public class AppletPDBViewer extends EmbmenuFrame implements
chain.addActionListener(this);
seqButton.setLabel(MessageManager.getString("action.by_sequence"));
seqButton.addActionListener(this);
- allchains.setLabel(MessageManager.getString("label.all_chains_visible"));
+ allchains
+ .setLabel(MessageManager.getString("label.all_chains_visible"));
allchains.addItemListener(this);
viewMenu.setLabel(MessageManager.getString("action.view"));
zappo.setLabel(MessageManager.getString("label.zappo"));