X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FPdb.java;h=2421b82615c3fb81294c50a0183bfee2ba11d7eb;hb=f3392c352962c6827674ada5948500725e4eed1e;hp=358c8386226f5eeb32bb1e8c6be587253ecb5e2a;hpb=9fe87bd08ab29b6fe53364f387d7a2e3a8d39994;p=jalview.git diff --git a/src/jalview/ws/dbsources/Pdb.java b/src/jalview/ws/dbsources/Pdb.java index 358c838..2421b82 100644 --- a/src/jalview/ws/dbsources/Pdb.java +++ b/src/jalview/ws/dbsources/Pdb.java @@ -20,6 +20,7 @@ */ package jalview.ws.dbsources; +import jalview.api.FeatureSettingsModelI; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; import jalview.datamodel.DBRefEntry; @@ -27,6 +28,7 @@ import jalview.datamodel.DBRefSource; import jalview.datamodel.PDBEntry; import jalview.datamodel.SequenceI; import jalview.io.FormatAdapter; +import jalview.io.PDBFeatureSettings; import jalview.util.MessageManager; import jalview.ws.ebi.EBIFetchClient; @@ -47,6 +49,10 @@ public class Pdb extends EbiFileRetrievedProxy super(); } + public static final String FEATURE_INSERTION = "INSERTION"; + + public static final String FEATURE_RES_NUM = "RESNUM"; + private static String currentDefaultFomart = DBRefSource.MMCIF; /* @@ -266,4 +272,19 @@ public class Pdb extends EbiFileRetrievedProxy { Pdb.currentDefaultFomart = currentDefaultFomart; } + + /** + * Returns a descriptor for suitable feature display settings with + * + */ + @Override + public FeatureSettingsModelI getFeatureColourScheme() + { + return new PDBFeatureSettings(); + } }