public class LibraryEvent
extends java.lang.Object
library changes.| Constructor and Description | 
|---|
LibraryEvent(Context context,
            java.util.Collection<LibraryChange> changes)  | 
LibraryEvent(Context context,
            LibraryChange change)  | 
| Modifier and Type | Method and Description | 
|---|---|
Context | 
getContext()
Get the context for this event. 
 | 
java.util.Collection<LibraryChange> | 
getLibraryChanges()
Get the library changes. 
 | 
java.util.Collection<LibraryChange> | 
getLibraryChanges(LibraryChange.Type type)
Get the library changes of a given type. 
 | 
boolean | 
hasPropertyChange(java.lang.String name)
Convenience method to determine whether this event contains any
 property changes for the named property. 
 | 
public LibraryEvent(Context context, LibraryChange change)
public LibraryEvent(Context context, java.util.Collection<LibraryChange> changes)
public Context getContext()
LibraryEventSource the listener was registered with.  For
 example, on an application workspace, the workspace will be set in the
 context.  For a project, the project and workspace will be set in the
 context.public java.util.Collection<LibraryChange> getLibraryChanges()
public java.util.Collection<LibraryChange> getLibraryChanges(LibraryChange.Type type)
type - the change typepublic boolean hasPropertyChange(java.lang.String name)
name - the property nametrue if the event contains changes to a property with
   the given name, or false otherwise