X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FFeatureSettingsAdapter.java;h=6e8554f719c25612bb8e9c80eb9edd568640e879;hb=3a6dc40b8dd1b8d811fd4c70f4145e6e6102c9c8;hp=52b01ce2f825c3e97b85f0c05c414cd4abde6827;hpb=1e8c7a9ab9f5da589d0aa2482fd2e3361c320d57;p=jalview.git diff --git a/src/jalview/schemes/FeatureSettingsAdapter.java b/src/jalview/schemes/FeatureSettingsAdapter.java index 52b01ce..6e8554f 100644 --- a/src/jalview/schemes/FeatureSettingsAdapter.java +++ b/src/jalview/schemes/FeatureSettingsAdapter.java @@ -1,12 +1,32 @@ +/* + * 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. + * + * 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.schemes; import jalview.api.FeatureColourI; -import jalview.api.FeatureSettingsI; +import jalview.api.FeatureSettingsModelI; /** * An adapter class that may be extended to instantiate feature colour schemes */ -public class FeatureSettingsAdapter implements FeatureSettingsI +public class FeatureSettingsAdapter implements FeatureSettingsModelI { @Override @@ -16,6 +36,12 @@ public class FeatureSettingsAdapter implements FeatureSettingsI } @Override + public boolean isFeatureHidden(String type) + { + return false; + } + + @Override public boolean isGroupDisplayed(String group) { return true;