Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359915 - Content assist isn't giving any help on @Resource for interface declaration
Summary: Content assist isn't giving any help on @Resource for interface declaration
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 16:32 EDT by Jing Qian CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments
Add support for EDT interface service (1.16 KB, patch)
2011-10-11 02:32 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

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