Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.dialogs.SearchFileThread Class Reference
Collaboration diagram for rene.dialogs.SearchFileThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SearchFileThread (SearchFileDialog dialog, MyList l, String d, String p, boolean r)
void run ()

Package Attributes

SearchFileDialog D
MyList L
String Dir
String Pattern
boolean Recurse

Detailed Description

Definition at line 43 of file SearchFileDialog.java.


Constructor & Destructor Documentation

rene.dialogs.SearchFileThread.SearchFileThread ( SearchFileDialog  dialog,
MyList  l,
String  d,
String  p,
boolean  r 
) [inline]

Definition at line 48 of file SearchFileDialog.java.

       {      D=dialog; L=l; Dir=d; Pattern=p; Recurse=r;
       }

Member Function Documentation

Definition at line 52 of file SearchFileDialog.java.

       {      D.enableButtons(false);     
              L.removeAll();
              L.setEnabled(false);
              FileList f=new FileList(Dir,Pattern,Recurse);
              D.F=f;
              f.search();
              f.sort();
              Enumeration e=f.files();
              while (e.hasMoreElements())
              {      try    
                     {      L.add(((File)e.nextElement()).getCanonicalPath());
                     }
                     catch (Exception ex) {}
              }
              L.setEnabled(true);
              D.enableButtons(true);
       }

Here is the call graph for this function:


Member Data Documentation

Definition at line 44 of file SearchFileDialog.java.

Definition at line 46 of file SearchFileDialog.java.

Definition at line 45 of file SearchFileDialog.java.

Definition at line 46 of file SearchFileDialog.java.

Definition at line 47 of file SearchFileDialog.java.


The documentation for this class was generated from the following file: