org.eclipse.wst.server.core.util
Class ProjectModuleFactoryDelegate

java.lang.Object
  extended byorg.eclipse.wst.server.core.model.ModuleFactoryDelegate
      extended byorg.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate

public abstract class ProjectModuleFactoryDelegate
extends ModuleFactoryDelegate

A helper class for defining a module factory that provides modules based on projects.

Since:
1.0

Constructor Summary
ProjectModuleFactoryDelegate()
          Construct a new ProjectModuleFactoryDelegate.
 
Method Summary
 IModule[] getModules()
          Return the modules provided by this factory.
static void handleGlobalProjectChange(IProject project, IResourceDelta delta)
          Handle changes to a project.
 
Methods inherited from class org.eclipse.wst.server.core.model.ModuleFactoryDelegate
getModuleDelegate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectModuleFactoryDelegate

public ProjectModuleFactoryDelegate()
Construct a new ProjectModuleFactoryDelegate.

Method Detail

getModules

public final IModule[] getModules()
Return the modules provided by this factory.

Specified by:
getModules in class ModuleFactoryDelegate
Returns:
a possibly-empty array of modules

handleGlobalProjectChange

public static final void handleGlobalProjectChange(IProject project,
                                                   IResourceDelta delta)
Handle changes to a project.

Parameters:
project - a project
delta - a resource delta