X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FExtJmol.java;h=47f9df028dfc6c423342ef62c5ffa55b8af2331a;hb=9d2d74b49cd06966eaad8796c87386be1e296057;hp=3966536cc63f35171dfd44f5c6d5552f0a0e525b;hpb=3d0101179759ef157b088ea135423cd909512d9f;p=jalview.git diff --git a/src/jalview/appletgui/ExtJmol.java b/src/jalview/appletgui/ExtJmol.java index 3966536..47f9df0 100644 --- a/src/jalview/appletgui/ExtJmol.java +++ b/src/jalview/appletgui/ExtJmol.java @@ -21,7 +21,6 @@ package jalview.appletgui; import jalview.api.AlignmentViewPanel; -import jalview.api.FeatureRenderer; import jalview.api.SequenceRenderer; import jalview.datamodel.PDBEntry; import jalview.datamodel.SequenceI; @@ -35,7 +34,7 @@ import java.util.Map; import java.util.Vector; import org.jmol.api.JmolAppConsoleInterface; -import org.jmol.java.BS; +import javajs.util.BS; import org.jmol.viewer.Viewer; /** @@ -67,9 +66,6 @@ public class ExtJmol extends JalviewJmolBinding @Override public void updateColours(Object source) { - - // TODO Auto-generated method stub - } @Override @@ -79,20 +75,6 @@ public class ExtJmol extends JalviewJmolBinding } @Override - public FeatureRenderer getFeatureRenderer(AlignmentViewPanel alignment) - { - AlignmentPanel alignPanel = (AlignmentPanel) alignment; - if (alignPanel.av.isShowSequenceFeatures()) - { - return alignPanel.getFeatureRenderer(); - } - else - { - return null; - } - } - - @Override public SequenceRenderer getSequenceRenderer(AlignmentViewPanel alignment) { return ((AlignmentPanel) alignment).getSequenceRenderer(); @@ -137,8 +119,8 @@ public class ExtJmol extends JalviewJmolBinding @Override public void refreshPdbEntries() { - List pdbe = new ArrayList(); - List fileids = new ArrayList(); + List pdbe = new ArrayList<>(); + List fileids = new ArrayList<>(); SequenceI[] sq = ap.av.getAlignment().getSequencesArray(); for (int s = 0; s < sq.length; s++) { @@ -181,7 +163,6 @@ public class ExtJmol extends JalviewJmolBinding protected JmolAppConsoleInterface createJmolConsole( Container consolePanel, String buttonsToShow) { - // TODO Auto-generated method stub return null; } @@ -194,17 +175,8 @@ public class ExtJmol extends JalviewJmolBinding } @Override - public void releaseReferences(Object svl) - { - // TODO Auto-generated method stub - - } - - @Override public Map getJSpecViewProperty(String arg0) { - // TODO Auto-generated method stub return null; } - }