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

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

public class ResourceFolderHandler
extends CollaborationResourceHandler

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


Field Summary
protected  org.eclipse.core.resources.IFolder m_ResourceFolder
          The Folder 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
ResourceFolderHandler(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 folder 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

m_ResourceFolder

protected org.eclipse.core.resources.IFolder m_ResourceFolder
The Folder resource that was change

Constructor Detail

ResourceFolderHandler

public ResourceFolderHandler(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 folder resource change.

Overrides:
processResourceChange in class CollaborationResourceHandler
Parameters:
delta - An IResourceDelta instance that describes the changes made to the folder 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.