@@ -172,9+172,12 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
this.transparency = fr.transparency;
this.featureOrder = fr.featureOrder;
}
this.transparency = fr.transparency;
this.featureOrder = fr.featureOrder;
}
+
/**
* update from another feature renderer
/**
* update from another feature renderer
- * @param fr settings to copy
+ *
+ * @param fr
+ * settings to copy
*/
public void transferSettings(FeatureRenderer fr)
{
*/
public void transferSettings(FeatureRenderer fr)
{
@@ -937,8+940,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
return ((GraduatedColor) fc).getMaxColor();
}
}
return ((GraduatedColor) fc).getMaxColor();
}
}
- throw new Error("Implementation Error: Unrecognised render object "
- + fc.getClass() + " for features of type " + featureType);
+ throw new Error(MessageManager.formatMessage("error.implementation_error_unrecognised_render_object_for_features_type", new String[]{fc.getClass().toString(),featureType}));
}
/**
}
/**
@@ -962,8+964,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
return ((GraduatedColor) fc).findColor(feature);
}
}
return ((GraduatedColor) fc).findColor(feature);
}
}
- throw new Error("Implementation Error: Unrecognised render object "
- + fc.getClass() + " for features of type " + feature.getType());
+ throw new Error(MessageManager.formatMessage("error.implementation_error_unrecognised_render_object_for_features_type", new String[]{fc.getClass().toString(),feature.getType()}));