Bug 200827 - [spec] IElementChangedListener should mention where to register
Summary: [spec] IElementChangedListener should mention where to register
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-22 10:06 EDT by Dani Megert CLA
Modified: 2011-04-26 10:11 EDT (History)
3 users (show)

See Also:
daniel_megert: documentation-


Attachments
Updated doc (1.45 KB, patch)
2011-03-23 02:25 EDT, Jay Arthanareeswaran CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-08-22 10:06:26 EDT
I20070821-0800.

Often we tell clients to use IElementChangedListener to listen for Java model changes, but then the next question they ask is: "where do I register that?".

The Javadoc of IElementChangedListener should tell that.
Comment 1 Jerome Lanneluc CLA 2007-08-22 12:03:45 EDT
Good suggestion
Comment 2 Markus Keller CLA 2011-03-21 10:41:17 EDT
IElementChangedListener should contain:
 * @see JavaCore#addElementChangedListener(IElementChangedListener)

Likewise, IJavaElementDelta should have:
 * @see IElementChangedListener
 * @see ElementChangedEvent
Comment 3 Srikanth Sankaran CLA 2011-03-22 00:32:21 EDT
Jay, Please follow up for 3.7. TIA.
Comment 4 Jay Arthanareeswaran CLA 2011-03-23 02:25:31 EDT
Created attachment 191723 [details]
Updated doc

Patch contains the missing Javadoc references.
Comment 5 Jay Arthanareeswaran CLA 2011-03-23 06:10:15 EDT
Released in HEAD for 3.7 M7.
Comment 6 Olivier Thomann CLA 2011-04-26 10:11:55 EDT
Verified.