Bug 117519 - Provide clear() method on ListenerList
Summary: Provide clear() method on ListenerList
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 115372
  Show dependency tree
 
Reported: 2005-11-22 11:21 EST by Douglas Pollock CLA
Modified: 2005-11-28 16:14 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Pollock CLA 2005-11-22 11:21:53 EST
Please provide the following method on ListenerList

	/**
	 * Removes all listeners from this list.
	 */
	public synchronized void clear() {
		listeners = EmptyArray;
	}
Comment 1 Jeff McAffer CLA 2005-11-23 21:13:00 EST
Your command is our pleasure...
Comment 2 Nick Edgar CLA 2005-11-28 15:55:01 EST
I've removed the clear() from JFace's ListenerList since it now inherits this from runtime.
Comment 3 Douglas Pollock CLA 2005-11-28 16:14:25 EST
I've asked Nick to revert until clear() becomes available in an integration build.