Bug 337229 - Make OpenStrategy's constant for post selection delay API
Summary: Make OpenStrategy's constant for post selection delay API
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2011-02-15 11:24 EST by Dani Megert CLA
Modified: 2011-03-14 07:05 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.