Interface ProjectResourceListener
- All Known Subinterfaces:
DesignerProjectResourceListener
- All Known Implementing Classes:
AbstractClientContext.ClientContextResourceListener
,LastProjectUpdateTag
,PaletteImpl
,PendingUpdateState
,ProjectResourceAdapter
,SingleProjectResourceListener
,SuppressibleProjectResourceListener
public interface ProjectResourceListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceFilter
Get theResourceFilter
used to filter resources this listener cares about.default void
manifestChanged
(String projectName, List<ChangeOperation.ManifestChangeOperation> operation) default void
Called after a set of change operations is applied, which may result in multiple calls to toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}.default void
Called before a set of change operations is applied, which may result in multiple calls toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}.void
resourcesCreated
(String projectName, List<ChangeOperation.CreateResourceOperation> resources) void
resourcesDeleted
(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) void
resourcesModified
(String projectName, List<ChangeOperation.ModifyResourceOperation> resources)
-
Method Details
-
onBeforeChanges
default void onBeforeChanges()Called before a set of change operations is applied, which may result in multiple calls toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}. -
onAfterChanges
default void onAfterChanges()Called after a set of change operations is applied, which may result in multiple calls to toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}. -
manifestChanged
default void manifestChanged(String projectName, List<ChangeOperation.ManifestChangeOperation> operation) -
resourcesCreated
-
resourcesModified
-
resourcesDeleted
-
getResourceFilter
Get theResourceFilter
used to filter resources this listener cares about. Default is to care about all resources.- Returns:
- the
ResourceFilter
used to filter resources this listener cares about.
-