X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationExporter.java;h=2ffe92711eb55234de335d96168ba849fa16e3fb;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=52d6af5fb5ab362f751ff5b35537da9d3a50be69;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/gui/AnnotationExporter.java b/src/jalview/gui/AnnotationExporter.java index 52d6af5..2ffe927 100644 --- a/src/jalview/gui/AnnotationExporter.java +++ b/src/jalview/gui/AnnotationExporter.java @@ -116,9 +116,9 @@ public class AnnotationExporter extends JPanel } /** - * Configures the dialog for options to export visible features. If from a split - * frame panel showing linked features, make the option to include these in the - * export visible. + * Configures the dialog for options to export visible features. If from a + * split frame panel showing linked features, make the option to include these + * in the export visible. */ public void exportFeatures() { @@ -197,8 +197,8 @@ public class AnnotationExporter extends JPanel } /** - * Answers the text to output for either Features (in GFF or Jalview format) or - * Annotations (in CSV or Jalview format) + * Answers the text to output for either Features (in GFF or Jalview format) + * or Annotations (in CSV or Jalview format) * * @return */ @@ -208,8 +208,8 @@ public class AnnotationExporter extends JPanel } /** - * Returns the text contents for output of annotations in either CSV or Jalview - * format + * Returns the text contents for output of annotations in either CSV or + * Jalview format * * @return */ @@ -325,10 +325,10 @@ public class AnnotationExporter extends JPanel } /** - * Builds a panel with a checkbox for the option to export linked (CDS/peptide) - * features. This is hidden by default, and only made visible if exporting - * features from a split frame panel which is configured to show linked - * features. + * Builds a panel with a checkbox for the option to export linked + * (CDS/peptide) features. This is hidden by default, and only made visible if + * exporting features from a split frame panel which is configured to show + * linked features. * * @return */ @@ -338,17 +338,14 @@ public class AnnotationExporter extends JPanel linkedFeaturesPanel.setOpaque(false); boolean nucleotide = ap.av.isNucleotide(); - String complement = nucleotide - ? MessageManager.getString("label.protein").toLowerCase(Locale.ROOT) - : "CDS"; - JLabel label = new JLabel( - MessageManager.formatMessage("label.include_linked_features", - complement)); + String complement = nucleotide ? MessageManager + .getString("label.protein").toLowerCase(Locale.ROOT) : "CDS"; + JLabel label = new JLabel(MessageManager + .formatMessage("label.include_linked_features", complement)); label.setHorizontalAlignment(SwingConstants.TRAILING); String tooltip = MessageManager .formatMessage("label.include_linked_tooltip", complement); - label.setToolTipText( - JvSwingUtils.wrapTooltip(true, tooltip)); + label.setToolTipText(JvSwingUtils.wrapTooltip(true, tooltip)); includeLinkedFeatures = new JCheckBox(); linkedFeaturesPanel.add(label); @@ -405,8 +402,8 @@ public class AnnotationExporter extends JPanel } /** - * Builds the panel with options to output in Jalview, GFF or CSV format. GFF is - * only made visible when exporting features, CSV only when exporting + * Builds the panel with options to output in Jalview, GFF or CSV format. GFF + * is only made visible when exporting features, CSV only when exporting * annotation. * * @return