|
Eclipse Platform Release 3.1 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A synchronize scope defines the set of resources involved in a synchronization.
Instance of this interface are used to scope the resources of a created SubscriberParticipant.
This interface is not intended to be implemented by clients
SubscriberParticipant| Field Summary | |
|---|---|
static String |
CONTAINMENT
Property used to indicate that the roots of the scope have not changes but the resources covered by the scope have. |
static String |
NAME
Property used to indicate when the name of the scope has changed. |
static String |
ROOTS
Property used to indicate when the roots of the scope have changed. |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Add a property change listener that will get invoked when a property of the receiver changes. |
boolean |
contains(IResource resource)
Return whether the given resource is contained in this scope. |
void |
dispose()
Dispose of the scope when it is no longer needed. |
String |
getName()
Return the name of the scope |
org.eclipse.core.resources.mapping.ResourceMapping[] |
getResourceMappings()
Return the resource mappings that define this scope. |
IResource[] |
getRoots()
Return the root resources that define this scope. |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Remove a property change listener. |
| Field Detail |
public static final String ROOTS
public static final String NAME
public static final String CONTAINMENT
contains(IResource),
Constant Field Values| Method Detail |
public String getName()
public IResource[] getRoots()
null indicates that the participant should use
its default set of resources.
nullpublic void addPropertyChangeListener(IPropertyChangeListener listener)
listener - public void removePropertyChangeListener(IPropertyChangeListener listener)
listener - public void dispose()
public boolean contains(IResource resource)
resource - the resource to be tested
public org.eclipse.core.resources.mapping.ResourceMapping[] getResourceMappings()
|
Eclipse Platform Release 3.1 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.