|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.corona.container.project.ui.builder.ResourceChangeListener
public class ResourceChangeListener
Constructor Summary | |
---|---|
ResourceChangeListener(ICollaborationEventAdmin eventAdmin)
|
Method Summary | |
---|---|
void |
addCollaborationProject(java.lang.String projectName)
Adds the specified project as a Corona Collaboration project. |
boolean |
isCollaborationProject(org.eclipse.core.resources.IResource resource)
Check if specified resource is contained in a project that has the Corona Collaboration Nature. |
boolean |
processResourceDelta(org.eclipse.core.resources.IResourceDelta delta)
Process the resource change. |
void |
removeCollaborationProject(java.lang.String projectName)
Removes the specified project as a Corona Collaboration project. |
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Process the specified change. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceChangeListener(ICollaborationEventAdmin eventAdmin)
Method Detail |
---|
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
resourceChanged
in interface org.eclipse.core.resources.IResourceChangeListener
event
- An instance of IResourceChangeEvent that describe the
chnage to the resourcepublic void addCollaborationProject(java.lang.String projectName)
projectName
- Name of project to add.public void removeCollaborationProject(java.lang.String projectName)
projectName
- Name of project to add.public boolean processResourceDelta(org.eclipse.core.resources.IResourceDelta delta)
delta
- An instance of IResourceDelta that describe
the changes made to the resource.public boolean isCollaborationProject(org.eclipse.core.resources.IResource resource)
resource
- An instance of IResource for the specified resource.
true
is returned if the specified resource is contained
ia a project that has the Corona Collaboration Nature. false
is returned otherwise.
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |