org.openoffice.ide.eclipse.core.builders
Class RegmergeBuildVisitor

java.lang.Object
  extended by org.openoffice.ide.eclipse.core.builders.RegmergeBuildVisitor
All Implemented Interfaces:
IFileVisitor

public class RegmergeBuildVisitor
extends java.lang.Object
implements IFileVisitor

Class visiting each child of the urd folder to merge it with the common types.rdb registry.

Author:
cbosdonnat

Constructor Summary
RegmergeBuildVisitor(IUnoidlProject pUnoprj, org.eclipse.core.runtime.IProgressMonitor pMonitor)
          Default constructor.
 
Method Summary
 boolean visit(java.io.File pResource)
          Simply visit the file and return if the children should be visited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegmergeBuildVisitor

public RegmergeBuildVisitor(IUnoidlProject pUnoprj,
                            org.eclipse.core.runtime.IProgressMonitor pMonitor)
Default constructor.

Parameters:
pUnoprj - the UNO project to visit
pMonitor - progress monitor for the regmerge
Method Detail

visit

public boolean visit(java.io.File pResource)
Simply visit the file and return if the children should be visited.

Specified by:
visit in interface IFileVisitor
Parameters:
pResource - the file to visit
Returns:
true if the children should be visited, false otherwise. This has no importance for files.