@@ -1355,25 +1355,25 @@ public CustomEntryType getCustomEntryType(int number) {
13551355 }
13561356
13571357 public List <ExternalFileType > getDefaultExternalFileTypes () {
1358- List <ExternalFileType > list = new ArrayList <ExternalFileType >();
1358+ List <ExternalFileType > list = new ArrayList <>();
13591359 list .add (new ExternalFileType ("PDF" , "pdf" , "application/pdf" , "evince" , "pdfSmall" , IconTheme .JabRefIcon .PDF_FILE .getSmallIcon ()));
13601360 list .add (new ExternalFileType ("PostScript" , "ps" , "application/postscript" , "evince" , "psSmall" , IconTheme .JabRefIcon .FILE .getSmallIcon ()));
1361- list .add (new ExternalFileType ("Word" , "doc" , "application/msword" , "oowriter" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1362- list .add (new ExternalFileType ("Word 2007+" , "docx" , "application/vnd.openxmlformats-officedocument.wordprocessingml.document" , "oowriter" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1361+ list .add (new ExternalFileType ("Word" , "doc" , "application/msword" , "oowriter" , "openoffice" , IconTheme .JabRefIcon . FILE_WORD . getSmallIcon ( )));
1362+ list .add (new ExternalFileType ("Word 2007+" , "docx" , "application/vnd.openxmlformats-officedocument.wordprocessingml.document" , "oowriter" , "openoffice" , IconTheme .JabRefIcon . FILE_WORD . getSmallIcon ( )));
13631363 list .add (new ExternalFileType ("OpenDocument text" , "odt" , "application/vnd.oasis.opendocument.text" , "oowriter" , "openoffice" , IconTheme .getImage ("openoffice" )));
1364- list .add (new ExternalFileType ("Excel" , "xls" , "application/excel" , "oocalc" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1365- list .add (new ExternalFileType ("Excel 2007+" , "xlsx" , "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" , "oocalc" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1364+ list .add (new ExternalFileType ("Excel" , "xls" , "application/excel" , "oocalc" , "openoffice" , IconTheme .JabRefIcon . FILE_EXCEL . getSmallIcon ( )));
1365+ list .add (new ExternalFileType ("Excel 2007+" , "xlsx" , "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" , "oocalc" , "openoffice" , IconTheme .JabRefIcon . FILE_EXCEL . getSmallIcon ( )));
13661366 list .add (new ExternalFileType ("OpenDocument spreadsheet" , "ods" , "application/vnd.oasis.opendocument.spreadsheet" , "oocalc" , "openoffice" , IconTheme .getImage ("openoffice" )));
1367- list .add (new ExternalFileType ("PowerPoint" , "ppt" , "application/vnd.ms-powerpoint" , "ooimpress" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1368- list .add (new ExternalFileType ("PowerPoint 2007+" , "pptx" , "application/vnd.openxmlformats-officedocument.presentationml.presentation" , "ooimpress" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1367+ list .add (new ExternalFileType ("PowerPoint" , "ppt" , "application/vnd.ms-powerpoint" , "ooimpress" , "openoffice" , IconTheme .JabRefIcon . FILE_POWERPOINT . getSmallIcon ( )));
1368+ list .add (new ExternalFileType ("PowerPoint 2007+" , "pptx" , "application/vnd.openxmlformats-officedocument.presentationml.presentation" , "ooimpress" , "openoffice" , IconTheme .JabRefIcon . FILE_POWERPOINT . getSmallIcon ( )));
13691369 list .add (new ExternalFileType ("OpenDocument presentation" , "odp" , "application/vnd.oasis.opendocument.presentation" , "ooimpress" , "openoffice" , IconTheme .getImage ("openoffice" )));
1370- list .add (new ExternalFileType ("Rich Text Format" , "rtf" , "application/rtf" , "oowriter" , "openoffice" , IconTheme .getImage ( "openoffice" )));
1370+ list .add (new ExternalFileType ("Rich Text Format" , "rtf" , "application/rtf" , "oowriter" , "openoffice" , IconTheme .JabRefIcon . FILE_TEXT . getSmallIcon ( )));
13711371 list .add (new ExternalFileType ("PNG image" , "png" , "image/png" , "gimp" , "picture" , IconTheme .JabRefIcon .PICTURE .getSmallIcon ()));
13721372 list .add (new ExternalFileType ("GIF image" , "gif" , "image/gif" , "gimp" , "picture" , IconTheme .JabRefIcon .PICTURE .getSmallIcon ()));
13731373 list .add (new ExternalFileType ("JPG image" , "jpg" , "image/jpeg" , "gimp" , "picture" , IconTheme .JabRefIcon .PICTURE .getSmallIcon ()));
13741374 list .add (new ExternalFileType ("Djvu" , "djvu" , "" , "evince" , "psSmall" , IconTheme .JabRefIcon .FILE .getSmallIcon ()));
1375- list .add (new ExternalFileType ("Text" , "txt" , "text/plain" , "emacs" , "emacs" , IconTheme .getImage ( "emacs" )));
1376- list .add (new ExternalFileType ("LaTeX" , "tex" , "application/x-latex" , "emacs" , "emacs" , IconTheme .getImage ( "emacs" )));
1375+ list .add (new ExternalFileType ("Text" , "txt" , "text/plain" , "emacs" , "emacs" , IconTheme .JabRefIcon . FILE_TEXT . getSmallIcon ( )));
1376+ list .add (new ExternalFileType ("LaTeX" , "tex" , "application/x-latex" , "emacs" , "emacs" , IconTheme .JabRefIcon . FILE_TEXT . getSmallIcon ( )));
13771377 list .add (new ExternalFileType ("CHM" , "chm" , "application/mshelp" , "gnochm" , "www" , IconTheme .JabRefIcon .WWW .getSmallIcon ()));
13781378 list .add (new ExternalFileType ("TIFF image" , "tiff" , "image/tiff" , "gimp" , "picture" , IconTheme .JabRefIcon .PICTURE .getSmallIcon ()));
13791379 list .add (new ExternalFileType ("URL" , "html" , "text/html" , "firefox" , "www" , IconTheme .JabRefIcon .WWW .getSmallIcon ()));
0 commit comments