Added notes about not calling the Case notification methods from the EDT.

This commit is contained in:
Ann Priestman 2015-07-17 12:21:59 -04:00
parent cc20095f08
commit 47124626ff

View File

@ -651,6 +651,8 @@ public class Case {
* Notifies case event subscribers (property change listeners) that a data
* source is being added to the case database.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param dataSourceId A unique identifier for the data source. This UUID
* should be used to call notifyNewDataSource() after the
* data source is added.
@ -663,6 +665,8 @@ public class Case {
* Notifies case event subscribers (property change listeners) that a data
* source failed to be added to the case database.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param dataSourceId A unique identifier for the data source.
*/
public void notifyFailedAddingNewDataSource(UUID dataSourceId) {
@ -673,6 +677,8 @@ public class Case {
* Notifies case event subscribers (property change listeners) that a data
* source is being added to the case database.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param newDataSource New data source added.
* @param dataSourceId A unique identifier for the data source. Should be
* the same UUID used to call notifyAddingNewDataSource() when the process
@ -685,6 +691,8 @@ public class Case {
/**
* Notifies the UI that a new ContentTag has been added.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param newTag new ContentTag added
*/
public void notifyContentTagAdded(ContentTag newTag) {
@ -694,6 +702,8 @@ public class Case {
/**
* Notifies the UI that a ContentTag has been deleted.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param deletedTag ContentTag deleted
*/
public void notifyContentTagDeleted(ContentTag deletedTag) {
@ -703,6 +713,8 @@ public class Case {
/**
* Notifies the UI that a new BlackboardArtifactTag has been added.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param newTag new BlackboardArtifactTag added
*/
public void notifyBlackBoardArtifactTagAdded(BlackboardArtifactTag newTag) {
@ -710,7 +722,9 @@ public class Case {
}
/**
* Notifies the UI that a BlackboardArtifactTag has been.
* Notifies the UI that a BlackboardArtifactTag has been deleted.
*
* This should not be called from the event dispatch thread (EDT)
*
* @param deletedTag BlackboardArtifactTag deleted
*/