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

Bug 337229

Summary: Make OpenStrategy's constant for post selection delay API
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: bokowski, jessev, prakash, remy.suen
Version: 3.7Keywords: api
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2011-02-15 11:24:05 EST
3.7.

We should make the OpenStrategy's value for post selection delay (TIME) API because it can be used at other places e.g. to implement post selection behavior in Text (currently it copied the value) or at any other place where one wants to wait with presenting information until the UI is quiet.
Comment 1 Dani Megert CLA 2011-02-15 11:29:39 EST
The addition would look like this:

	/**
	 * Returns the delay for post selection events.
	 * 
	 * @return the delay for post selection events in milliseconds
	 * @since 3.7
	 */
	public static final int getPostSelectionDelay() {
		return TIME;
	}

Boris, to do this we have to add a static method due to the fix you added for bug 246209. Otherwise we break them again.

I'll commit this if there are no objections by end of this week.
Comment 2 Dani Megert CLA 2011-02-21 03:42:06 EST
Fixed in HEAD.
Available in builds >= N20110221-2000.
Comment 3 Jesse CLA 2011-03-10 10:39:03 EST
Verified for build I20110307-2110.