org.eclipse.corona.container.project.ui.builder
Class ResourceProjectHandler

java.lang.Object
  extended by org.eclipse.corona.container.project.ui.builder.CollaborationResourceHandler
      extended by org.eclipse.corona.container.project.ui.builder.ResourceProjectHandler

public class ResourceProjectHandler
extends CollaborationResourceHandler

Abstract base class to process project changes. The method processResourceChange is intended to be implemented by sub-class to actually process the project change.


Field Summary
protected  org.eclipse.core.resources.IProject resourceProject
          The Project resource that was change
 
Fields inherited from class org.eclipse.corona.container.project.ui.builder.CollaborationResourceHandler
delta, deltaFlags, deltaKind, deltaResource, m_bCollaborationProject, projectEvent
 
Constructor Summary
ResourceProjectHandler(ICollaborationEventAdmin eventAdmin)
          Class constructor performs basic intializatio of the class instance.
 
Method Summary
 boolean processResourceChange()
          This method MUST be implemented by sub classes to process the folderresource change.
 boolean processResourceChange(org.eclipse.core.resources.IResourceDelta delta)
          Process the file resource change.
 
Methods inherited from class org.eclipse.corona.container.project.ui.builder.CollaborationResourceHandler
buildEvent, getProjectGuid, initProjectEvent, postEvent, processResourceCommit, processResourceCommit, resourceIPathToURI, sendEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceProject

protected org.eclipse.core.resources.IProject resourceProject
The Project resource that was change

Constructor Detail

ResourceProjectHandler

public ResourceProjectHandler(ICollaborationEventAdmin eventAdmin)
Class constructor performs basic intializatio of the class instance.

Method Detail

processResourceChange

public boolean processResourceChange(org.eclipse.core.resources.IResourceDelta delta)
Process the file resource change.

Overrides:
processResourceChange in class CollaborationResourceHandler
Parameters:
delta - An IResourceDelta instance that describes the changes made to the project resource.

processResourceChange

public boolean processResourceChange()
Description copied from class: CollaborationResourceHandler
This method MUST be implemented by sub classes to process the folderresource change. The change can be determined by a combination of the m_ResourceDeltaKind and m_ResourceDeltaFlags fields. The method is called while the resource tree is locked, therefore changes to the resource may not be possible.

Specified by:
processResourceChange in class CollaborationResourceHandler

Copyright 2006 IBM Corporation and others.
All Rights Reserved.