AnalyseFilter
112113114115116117118119120121122
editor.setBackground(Constantes.COULEUR_FOND_MLD) ; chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); chooser.setFileHidingEnabled(true); AnalyseFilter af; FileChooserFilter cf; chooser.resetChoosableFileFilters(); cf = new FileChooserFilter("MLD"); cf.setExtension("mld"); cf.setDescription("Fichier script MLD");
7071727374757677787980
chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); chooser.setFileHidingEnabled(true); AnalyseFilter af; FileChooserFilter cf; chooser.resetChoosableFileFilters(); cf = new FileChooserFilter("HTML"); cf.setExtension("sql"); cf.setDescription("Fichier script SQL");
8485868788899091929394
chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); chooser.setFileHidingEnabled(true); AnalyseFilter af; FileChooserFilter cf; chooser.resetChoosableFileFilters(); cf = new FileChooserFilter(Constantes.PNG); cf.setExtension(Constantes.PNG_MINUSCULE); cf.setDescription(Constantes.STR_IMAGE_PNG);
109110111112113114115116117118119
chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); chooser.setFileHidingEnabled(true); AnalyseFilter af; FileChooserFilter cf; chooser.resetChoosableFileFilters(); cf = new FileChooserFilter("SQL"); cf.setExtension("sql"); cf.setDescription(Utilities.getLangueMessage("fichier_script_sql"));
141142143144145146147148149150151