net.refractions.udig.catalog
Interface IResolveChangeEvent


public interface IResolveChangeEvent

Captures changes to the Catalog.

For those familiar with IResourceChangeEvent and IResourceDelta from eclipse development there is one important addition. The constant REPLACE indicates a reaname, or substiution, you will need to replace any references you have to the oldObject with the newObject.

Since:
0.6.0
Author:
jgarnett

Nested Class Summary
static class IResolveChangeEvent.Type
           
 
Method Summary
 IResolveDelta getDelta()
          Returns a delta, rooted at the catalog, describing the set of changes that happened to resources in the workspace.
 IResolve getResolve()
          Returns the handle in question.
 java.lang.Object getSource()
          Returns an object identifying the source of this event.
 IResolveChangeEvent.Type getType()
          Returns the type of event being reported.
 

Method Detail

getDelta

IResolveDelta getDelta()
Returns a delta, rooted at the catalog, describing the set of changes that happened to resources in the workspace. Returns null if not applicable to this type of event.

Returns:
the resource delta, or null if not applicable

getResolve

IResolve getResolve()
Returns the handle in question. Returns null if not applicable to this type of event.

Returns:
the resource, or null if not applicable

getSource

java.lang.Object getSource()
Returns an object identifying the source of this event.

Returns:
an object identifying the source of this event
See Also:
EventObject

getType

IResolveChangeEvent.Type getType()
Returns the type of event being reported.

Returns:
one of the event type constants
See Also:
#POST_CHANGE, #PRE_CLOSE, #PRE_DELETE