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

@ -650,6 +650,8 @@ public class Case {
/** /**
* Notifies case event subscribers (property change listeners) that a data * Notifies case event subscribers (property change listeners) that a data
* source is being added to the case database. * 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 * @param dataSourceId A unique identifier for the data source. This UUID
* should be used to call notifyNewDataSource() after the * should be used to call notifyNewDataSource() after the
@ -662,6 +664,8 @@ public class Case {
/** /**
* Notifies case event subscribers (property change listeners) that a data * Notifies case event subscribers (property change listeners) that a data
* source failed to be added to the case database. * 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. * @param dataSourceId A unique identifier for the data source.
*/ */
@ -672,6 +676,8 @@ public class Case {
/** /**
* Notifies case event subscribers (property change listeners) that a data * Notifies case event subscribers (property change listeners) that a data
* source is being added to the case database. * 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 newDataSource New data source added.
* @param dataSourceId A unique identifier for the data source. Should be * @param dataSourceId A unique identifier for the data source. Should be
@ -684,6 +690,8 @@ public class Case {
/** /**
* Notifies the UI that a new ContentTag has been added. * 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 * @param newTag new ContentTag added
*/ */
@ -693,6 +701,8 @@ public class Case {
/** /**
* Notifies the UI that a ContentTag has been deleted. * Notifies the UI that a ContentTag has been deleted.
*
* This should not be called from the event dispatch thread (EDT)
* *
* @param deletedTag ContentTag deleted * @param deletedTag ContentTag deleted
*/ */
@ -702,6 +712,8 @@ public class Case {
/** /**
* Notifies the UI that a new BlackboardArtifactTag has been added. * 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 * @param newTag new BlackboardArtifactTag added
*/ */
@ -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 * @param deletedTag BlackboardArtifactTag deleted
*/ */