From 14b1b2a878190d5fffda298c4b9a901c72c74ad3 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 10 Jan 2018 15:20:56 +0000 Subject: [PATCH] JAL-1793 update spike branch to latest --- examples/exampleFeatures.txt | 5 + help/html/releases.html | 8 +- resources/lang/Messages.properties | 5 +- schemas/JalviewUserColours.xsd | 90 +++- schemas/jalview.xsd | 18 + src/jalview/api/FeatureColourI.java | 3 +- src/jalview/api/FeatureRenderer.java | 2 +- src/jalview/appletgui/AlignFrame.java | 7 +- src/jalview/appletgui/AnnotationColumnChooser.java | 11 - src/jalview/binding/Colour.java | 240 +++++++++- src/jalview/binding/CompoundMatcher.java | 368 +++++++++++++++ src/jalview/binding/FeatureMatcher.java | 381 +++++++++++++++ src/jalview/binding/FeatureMatcherSet.java | 200 ++++++++ src/jalview/binding/Filter.java | 180 +++++++ src/jalview/binding/JalviewUserColours.java | 161 ++++++- src/jalview/binding/MatchCondition.java | 125 +++++ src/jalview/binding/MatcherSet.java | 125 +++++ .../binding/types/ColourThreshTypeType.java | 168 +++++++ .../binding/types/FeatureMatcherByType.java | 168 +++++++ src/jalview/binding/types/NoValueColour.java | 169 +++++++ src/jalview/controller/AlignViewController.java | 18 +- src/jalview/datamodel/features/FeatureMatcher.java | 253 +++++++++- .../datamodel/features/FeatureMatcherI.java | 14 + .../datamodel/features/FeatureMatcherSet.java | 180 ++++++- .../datamodel/features/FeatureMatcherSetI.java | 17 +- src/jalview/gui/AlignFrame.java | 4 +- src/jalview/gui/AnnotationColumnChooser.java | 11 - src/jalview/gui/AnnotationExporter.java | 179 ++++--- src/jalview/gui/AnnotationLabels.java | 4 +- src/jalview/gui/FeatureSettings.java | 257 +++++----- src/jalview/gui/FeatureTypeSettings.java | 51 +- src/jalview/gui/Jalview2XML.java | 490 ++++++++++++++++++-- src/jalview/gui/Preferences.java | 2 + src/jalview/gui/SeqPanel.java | 5 +- src/jalview/gui/StructureViewer.java | 4 + src/jalview/io/FeaturesFile.java | 190 +++++++- src/jalview/io/FormatAdapter.java | 3 +- src/jalview/renderer/AnnotationRenderer.java | 9 +- src/jalview/schemabinding/version2/.castor.cdr | 23 +- src/jalview/schemabinding/version2/Colour.java | 245 +++++++++- .../schemabinding/version2/CompoundMatcher.java | 374 +++++++++++++++ .../schemabinding/version2/FeatureMatcher.java | 383 +++++++++++++++ .../schemabinding/version2/FeatureMatcherSet.java | 200 ++++++++ src/jalview/schemabinding/version2/Filter.java | 181 ++++++++ .../schemabinding/version2/JalviewUserColours.java | 173 ++++++- .../schemabinding/version2/MatchCondition.java | 126 +++++ src/jalview/schemabinding/version2/MatcherSet.java | 126 +++++ src/jalview/schemabinding/version2/OtherData.java | 336 +++++++------- src/jalview/schemabinding/version2/Setting.java | 254 +++++++++- .../version2/descriptors/ColourDescriptor.java | 132 +++++- .../descriptors/CompoundMatcherDescriptor.java | 270 +++++++++++ .../descriptors/FeatureMatcherDescriptor.java | 356 ++++++++++++++ .../descriptors/FeatureMatcherSetDescriptor.java | 258 +++++++++++ .../version2/descriptors/FilterDescriptor.java | 246 ++++++++++ .../descriptors/JalviewUserColoursDescriptor.java | 70 ++- .../descriptors/MatchConditionDescriptor.java | 148 ++++++ .../version2/descriptors/MatcherSetDescriptor.java | 148 ++++++ .../version2/descriptors/OtherDataDescriptor.java | 468 ++++++++++--------- .../version2/descriptors/SettingDescriptor.java | 160 ++++++- .../schemabinding/version2/types/.castor.cdr | 5 + .../version2/types/ColourThreshTypeType.java | 168 +++++++ .../version2/types/FeatureMatcherByType.java | 168 +++++++ .../version2/types/NoValueColour.java | 169 +++++++ .../ColourThreshTypeTypeDescriptor.java | 150 ++++++ .../FeatureMatcherByTypeDescriptor.java | 150 ++++++ .../types/descriptors/NoValueColourDescriptor.java | 147 ++++++ src/jalview/schemes/FeatureColour.java | 215 +++++++-- src/jalview/util/matcher/Condition.java | 53 ++- src/jalview/util/matcher/Matcher.java | 4 +- .../seqfeatures/FeatureRendererModel.java | 14 +- .../datamodel/features/FeatureAttributesTest.java | 17 +- .../datamodel/features/FeatureMatcherSetTest.java | 140 +++++- .../datamodel/features/FeatureMatcherTest.java | 152 +++++- test/jalview/gui/AnnotationColumnChooserTest.java | 176 +++++++ test/jalview/gui/FeatureSettingsTest.java | 191 ++++++++ test/jalview/gui/StructureViewerTest.java | 10 +- test/jalview/io/FeaturesFileTest.java | 102 +++- test/jalview/io/Jalview2xmlTests.java | 177 ++++++- .../renderer/seqfeatures/FeatureRendererTest.java | 3 +- test/jalview/schemes/FeatureColourTest.java | 149 +++++- test/jalview/util/matcher/ConditionTest.java | 43 ++ 81 files changed, 10280 insertions(+), 925 deletions(-) create mode 100644 src/jalview/binding/CompoundMatcher.java create mode 100644 src/jalview/binding/FeatureMatcher.java create mode 100644 src/jalview/binding/FeatureMatcherSet.java create mode 100644 src/jalview/binding/Filter.java create mode 100644 src/jalview/binding/MatchCondition.java create mode 100644 src/jalview/binding/MatcherSet.java create mode 100644 src/jalview/binding/types/ColourThreshTypeType.java create mode 100644 src/jalview/binding/types/FeatureMatcherByType.java create mode 100644 src/jalview/binding/types/NoValueColour.java create mode 100644 src/jalview/schemabinding/version2/CompoundMatcher.java create mode 100644 src/jalview/schemabinding/version2/FeatureMatcher.java create mode 100644 src/jalview/schemabinding/version2/FeatureMatcherSet.java create mode 100644 src/jalview/schemabinding/version2/Filter.java create mode 100644 src/jalview/schemabinding/version2/MatchCondition.java create mode 100644 src/jalview/schemabinding/version2/MatcherSet.java create mode 100644 src/jalview/schemabinding/version2/descriptors/CompoundMatcherDescriptor.java create mode 100644 src/jalview/schemabinding/version2/descriptors/FeatureMatcherDescriptor.java create mode 100644 src/jalview/schemabinding/version2/descriptors/FeatureMatcherSetDescriptor.java create mode 100644 src/jalview/schemabinding/version2/descriptors/FilterDescriptor.java create mode 100644 src/jalview/schemabinding/version2/descriptors/MatchConditionDescriptor.java create mode 100644 src/jalview/schemabinding/version2/descriptors/MatcherSetDescriptor.java create mode 100644 src/jalview/schemabinding/version2/types/.castor.cdr create mode 100644 src/jalview/schemabinding/version2/types/ColourThreshTypeType.java create mode 100644 src/jalview/schemabinding/version2/types/FeatureMatcherByType.java create mode 100644 src/jalview/schemabinding/version2/types/NoValueColour.java create mode 100644 src/jalview/schemabinding/version2/types/descriptors/ColourThreshTypeTypeDescriptor.java create mode 100644 src/jalview/schemabinding/version2/types/descriptors/FeatureMatcherByTypeDescriptor.java create mode 100644 src/jalview/schemabinding/version2/types/descriptors/NoValueColourDescriptor.java create mode 100644 test/jalview/gui/AnnotationColumnChooserTest.java create mode 100644 test/jalview/gui/FeatureSettingsTest.java diff --git a/examples/exampleFeatures.txt b/examples/exampleFeatures.txt index 9e65534..99af214 100755 --- a/examples/exampleFeatures.txt +++ b/examples/exampleFeatures.txt @@ -26,6 +26,11 @@ BETA-TURN-IIL 8b5b50 ST-MOTIF ac25a1 kdHydrophobicity ccffcc|333300|-3.9|4.5|above|-2.0 +STARTFILTERS +GAMMA-TURN-INVERSE Label Contains PDB +kdHydrophobicity (Score LT 1.5) OR (Score GE 2.8) +ENDFILTERS + STARTGROUP uniprot Pfam family FER_CAPAA -1 0 0 Pfam Iron-sulfur (2Fe-2S) FER_CAPAA -1 39 39 METAL diff --git a/help/html/releases.html b/help/html/releases.html index e1402e9..a36e31a 100755 --- a/help/html/releases.html +++ b/help/html/releases.html @@ -77,7 +77,13 @@ li:before {
-