git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a6873d
)
featureGroups not null
author
amwaterhouse
<Andrew Waterhouse>
Wed, 18 Apr 2007 13:29:46 +0000
(13:29 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 18 Apr 2007 13:29:46 +0000
(13:29 +0000)
src/jalview/gui/FeatureRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureRenderer.java
b/src/jalview/gui/FeatureRenderer.java
index
178dc38
..
4c4be5c
100755
(executable)
--- a/
src/jalview/gui/FeatureRenderer.java
+++ b/
src/jalview/gui/FeatureRenderer.java
@@
-49,7
+49,7
@@
public class FeatureRenderer
// A higher level for grouping features of a
// particular type
- Hashtable featureGroups = null;
+ Hashtable featureGroups = new Hashtable();
// This is actually an Integer held in the hashtable,
// Retrieved using the key feature type
@@
-455,6
+455,7
@@
public class FeatureRenderer
{
if (!av.featuresDisplayed.containsKey(features[index].getType()))
{
+
if(featureGroups.containsKey(features[index].getType()))
{
boolean visible = ( (Boolean) featureGroups.get(