Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 128109

Summary: Javadoc facet API methods that should not be called on the UI thread
Product: [WebTools] WTP Common Tools Reporter: Rupam Kuehner <rsinha>
Component: wst.commonAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.5 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Rupam Kuehner CLA 2006-02-15 17:11:14 EST
Certain methods like 
ProjectFacetsManager.create(name, location, monitor ) and IFacetedProject.modify( Set actions, IProgressMonitor monitor ) cannot be called on the main UI thread. The javadoc should state this clearly.

For example, in the server platform, IServer.publish should not be called on the main UI thread and the javadoc for the method includes the following paragraph:

* This method should not be called from the UI thread. Publishing is long-
* running and may trigger resource change events or builds. Although this
* framework is safe, there is no guarantee that other bundles are UI-safe
* and the risk of UI deadlock is high.
Comment 1 Konstantin Komissarchik CLA 2006-03-10 15:14:12 EST
Released the changes.
Comment 2 Rupam Kuehner CLA 2006-05-16 17:47:29 EDT
Verified.
Comment 3 Konstantin Komissarchik CLA 2006-06-15 09:10:31 EDT
closing