From 87aef041f264ec541724d5f72d8148a1fb1aa5fc Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 7 May 2019 20:17:48 +0100 Subject: [PATCH] JAL-3247 Auto generated file associations from jalview/io/FileFormat.java --- utils/auto_file_associations_info_plist.sh | 1 + .../Info_plist_file_associations-AUTO.xml | 367 ++++++++++++++++++++ 2 files changed, 368 insertions(+) create mode 100644 utils/auto_file_associations_info_plist.sh create mode 100644 utils/install4j/Info_plist_file_associations-AUTO.xml diff --git a/utils/auto_file_associations_info_plist.sh b/utils/auto_file_associations_info_plist.sh new file mode 100644 index 0000000..dd00e40 --- /dev/null +++ b/utils/auto_file_associations_info_plist.sh @@ -0,0 +1 @@ +perl -n -e 's/\s+/ /g;if(m/^ ?(\w+) ?\( ?"([^"]*)" ?, ?"([^"]*)" ?, ?(true|false) ?, ?(true|false) ?\) ?$/){$m=lc($1); $n=$2; $e=$3; @es=split(m/\s*,\s*/,$e); print "\nCFBundleTypeExtensions\n\n";for $e (@es){print"$e\n";}print"\nCFBundleTypeName\n$n File\nCFBundleTypeIconFile\nJalview-File.icns\nCFBundleTypeRole\nEditor\nCFBundleTypeMIMETypes\n\napplication/x-jalview-$m\n\nLSIsAppleDefaultForType\n\n\n\n";}' src/jalview/io/FileFormat.java diff --git a/utils/install4j/Info_plist_file_associations-AUTO.xml b/utils/install4j/Info_plist_file_associations-AUTO.xml new file mode 100644 index 0000000..ce2e549 --- /dev/null +++ b/utils/install4j/Info_plist_file_associations-AUTO.xml @@ -0,0 +1,367 @@ + +CFBundleTypeExtensions + +fa +fasta +mfa +fastq + +CFBundleTypeName +Fasta File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-fasta + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +pfam + +CFBundleTypeName +PFAM File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-pfam + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +sto +stk + +CFBundleTypeName +Stockholm File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-stockholm + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +pir + +CFBundleTypeName +PIR File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-pir + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +BLC + +CFBundleTypeName +BLC File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-blc + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +amsa + +CFBundleTypeName +AMSA File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-amsa + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +html + +CFBundleTypeName +HTML File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-html + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +xml +rnaml + +CFBundleTypeName +RNAML File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-rnaml + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +json + +CFBundleTypeName +JSON File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-json + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +pileup + +CFBundleTypeName +PileUp File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-pileup + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +msf + +CFBundleTypeName +MSF File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-msf + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +aln + +CFBundleTypeName +Clustal File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-clustal + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +phy + +CFBundleTypeName +PHYLIP File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-phylip + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + + +CFBundleTypeName +JnetFile File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-jnet + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +gff2 +gff3 + +CFBundleTypeName +GFF or Jalview features File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-features + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + + +CFBundleTypeName +Substitution matrix File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-scorematrix + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +pdb +ent + +CFBundleTypeName +PDB File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-pdb + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +cif + +CFBundleTypeName +mmCIF File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-mmcif + +LSIsAppleDefaultForType + + + + +CFBundleTypeExtensions + +jvp +jar + +CFBundleTypeName +Jalview File +CFBundleTypeIconFile +Jalview-File.icns +CFBundleTypeRole +Editor +CFBundleTypeMIMETypes + +application/x-jalview-jalview + +LSIsAppleDefaultForType + + + -- 1.7.10.2