krysalis-version/src/java/org/krysalis/version/collecting/collectors VersionBrandCollector.java,1.3,1.4

[email protected]
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/collecting/collectors
In directory sc8-pr-cvs1:/tmp/cvs-serv17677/src/java/org/krysalis/version/collecting/collectors

Modified Files:
	VersionBrandCollector.java 
Log Message:
Try 2: Allow Eclipse plug-in to set the Classpath

Index: VersionBrandCollector.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/collecting/collectors/VersionBrandCollector.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** VersionBrandCollector.java	9 Feb 2003 02:44:13 -0000	1.3
--- VersionBrandCollector.java	18 Feb 2003 22:17:09 -0000	1.4
***************
*** 81,85 ****
      private VersionBrandLoader m_loader = null;
      private PathWalker m_searcher = null;
! 
      /**
      * Construct a VersionFinder class (a ClassFinder specifialized for Versions)
--- 81,85 ----
      private VersionBrandLoader m_loader = null;
      private PathWalker m_searcher = null;
!   
      /**
      * Construct a VersionFinder class (a ClassFinder specifialized for Versions)
***************
*** 96,99 ****
--- 96,115 ----
          m_loader = new VersionBrandLoader();
      }
+   
+     /**
+     * Construct a VersionFinder class (a ClassFinder specifialized for Versions)
+     */
+     public VersionBrandCollector(PathSet pathSet) {
+         m_searcher =
+             new PathWalker(
+                 this,
+                 null,
+                 "Version.class",
+                 ".version.Version",
+                 ".Version",
+                 pathSet);
+ 
+         m_loader = new VersionBrandLoader();
+     }
  
      public void collectInto(EntryCollection collection)
***************
*** 147,149 ****
--- 163,174 ----
          (new VersionBrandCollector()).collect().dump(System.out);
      }
+ 
+     /**
+      * Sets the pathSet.
+      * @param pathSet The pathSet to set
+      */
+     public void setPathSet(PathSet pathSet) {
+         m_searcher.setPathSet(pathSet);
+     }
+ 
  }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.