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

Bug 359915

Summary: Content assist isn't giving any help on @Resource for interface declaration
Product: z_Archived Reporter: Jing Qian <jqian>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, jvincens, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Add support for EDT interface service lasher: iplog+

Description Jing Qian CLA 2011-10-04 16:32:32 EDT
Define an interface myInterface.

s myInterface?{@Re, then type content assit, no choices is given.
Comment 1 Xiao Bin Chen CLA 2011-10-09 05:39:34 EDT
The @Resource{} and @dedicateService{} annotation can't be used in interface type.

They are used in Service type.
Comment 2 Jing Qian CLA 2011-10-10 09:21:11 EDT
@dedicateService{} can not be used on interface part,

but @Resource{} can be used on interface part.
Comment 3 Joseph Vincens CLA 2011-10-10 10:01:40 EDT
Both @Resource{} and @dedicateService{} can be used on an interface or service. This is different than RBD.
For @dedicateService{} the user must specify @dedicateService{{serviceName = "<fully qualified service name>"}}
Comment 4 Joseph Vincens CLA 2011-10-10 10:03:34 EDT
if I type {@ then ctrl space I see both dedicatedservice and resource as selections so both seem to be working this morning.
Comment 5 Xiao Bin Chen CLA 2011-10-11 02:08:57 EDT
Since We have a new design in EDT for Service. ContentAssist will make some change for this part.
Comment 6 Xiao Bin Chen CLA 2011-10-11 02:32:15 EDT
Created attachment 204922 [details]
Add support for EDT interface service
Comment 7 Xiao Bin Chen CLA 2011-10-11 04:11:41 EDT
fixed.
Comment 8 Jing Qian CLA 2011-11-11 12:38:16 EST
verified on 2011/11/11/0901's build