Examples of ExtensionFileFilter


Examples of VisualLogic.ExtensionFileFilter

                              
                chooser.setLocation(mitteX-getWidth()/2-200,mitteY-getHeight()/2-200);
               
                chooser.setCurrentDirectory(new java.io.File(letztesVerzeichniss));

                ExtensionFileFilter filter = new ExtensionFileFilter(  );

                VSFile ref=((VSFile)getReference());
                for (int i=0;i<ref.getExtensionsCount();i++)
                {
                    filter.addExtension(ref.getExtension(i));
                }
               
                filter.setDescription(ref.getDescription());
               

                chooser.addChoosableFileFilter(filter);

                int returnVal = chooser.showOpenDialog(null);
View Full Code Here

Examples of VisualLogic.ExtensionFileFilter

                              
                chooser.setLocation(mitteX-getWidth()/2-200,mitteY-getHeight()/2-200);
               
                chooser.setCurrentDirectory(new java.io.File(letztesVerzeichniss));

                ExtensionFileFilter filter = new ExtensionFileFilter(  );


                filter.addExtension("gif");
                filter.addExtension("png");
                filter.addExtension("jpg");
                //filter.setDescription(ref.getDescription());
               

                chooser.addChoosableFileFilter(filter);
View Full Code Here

Examples of ch.randelshofer.io.ExtensionFileFilter

    }// </editor-fold>//GEN-END:initComponents
   
    private void exportInternalTemplate(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportInternalTemplate
        if (exportFileChooser == null) {
            exportFileChooser = new JFileChooser();
            exportFileChooser.setFileFilter(new ExtensionFileFilter("zip", "Zip Archive"));
            exportFileChooser.setSelectedFile(new File(userPrefs.get("courseBuilder.exportedTemplate", "TinyLMS Template.zip")));
            exportFileChooser.setApproveButtonText(labels.getString("filechooser.export"));
        }
        if (JFileChooser.APPROVE_OPTION == exportFileChooser.showSaveDialog(this)) {
            userPrefs.put("courseBuilder.exportedTemplate", exportFileChooser.getSelectedFile().getPath());
View Full Code Here

Examples of ch.randelshofer.io.ExtensionFileFilter

    }//GEN-LAST:event_exportInternalTemplate
   
    private void chooseExternalTemplate(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chooseExternalTemplate
        if (importFileChooser == null) {
            importFileChooser = new JFileChooser();
            importFileChooser.setFileFilter(new ExtensionFileFilter("zip", "Zip Archive"));
            importFileChooser.setSelectedFile(new File(userPrefs.get("courseBuilder.externalTemplate", "TinyLMS Template.zip")));
            importFileChooser.setApproveButtonText(labels.getString("filechooser.choose"));
        }
        if (JFileChooser.APPROVE_OPTION == importFileChooser.showOpenDialog(this)) {
            userPrefs.put("courseBuilder.externalTemplate", importFileChooser.getSelectedFile().getPath());
View Full Code Here

Examples of com.antlersoft.util.ExtensionFileFilter

  /* (non-Javadoc)
   * @see com.antlersoft.query.environment.ui.QueryFrame#getExtensionFileFilter()
   */
  @Override
  protected ExtensionFileFilter getExtensionFileFilter() {
        ExtensionFileFilter filter=new ExtensionFileFilter( ".class files, dirs and jars");
        filter.addExtension( "class");
        filter.addExtension( "zip");
        filter.addExtension( "jar");
        return filter;
  }
View Full Code Here

Examples of com.eviware.soapui.support.ExtensionFileFilter

    chooser.setDialogTitle( title );
    chooser.setAcceptAllFileFilterUsed( true );

    if( extension != null && fileType != null )
    {
      chooser.setFileFilter( new ExtensionFileFilter( extension, fileType ) );
    }
    else
    {
      chooser.setFileFilter( null );
    }
View Full Code Here

Examples of com.eviware.soapui.support.ExtensionFileFilter

      chooser.setSelectedFile( null );
    }

    if( extension != null && fileType != null )
    {
      chooser.setFileFilter( new ExtensionFileFilter( extension, fileType ) );
    }
    else
    {
      chooser.setFileFilter( null );
    }
View Full Code Here

Examples of edu.stanford.nlp.io.ExtensionFileFilter

   *                    all files in directories will be loaded.  If <code>pathName</code>
   *                    is not a directory, this parameter is ignored.
   * @param recursively descend into subdirectories as well
   */
  public void loadPath(String pathName, String suffix, boolean recursively) {
    loadPath(new File(pathName), new ExtensionFileFilter(suffix, recursively));
  }
View Full Code Here

Examples of gate.util.ExtensionFileFilter

    }


  void saveControllerAndGenerateDoc() {
      final XJFileChooser fileChooser = MainFrame.getFileChooser();
      ExtensionFileFilter filter = new ExtensionFileFilter(
        "GATE Application files", "gapp");
      fileChooser.addChoosableFileFilter(filter);
      fileChooser.setDialogTitle("Select a file where to save the application "
        + ((theTarget instanceof CorpusController
           && ((CorpusController)theTarget).getCorpus() != null) ?
View Full Code Here

Examples of net.paoding.analysis.dictionary.support.detection.ExtensionFileFilter

    if (detector != null || interval < 0) {
      return;
    }
    Detector detector = new Detector();
    detector.setHome(dicHome);
    detector.setFilter(new ExtensionFileFilter(".dic"));
    detector.setLastSnapshot(detector.flash());
    detector.setListener(l);
    detector.setInterval(interval);
    detector.start(true);
    this.detector = detector;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.