Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362022 - sync predefined type with system package eglar
Summary: sync predefined type with system package eglar
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard: EGLAR
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 22:35 EDT by Xiao Bin Chen CLA
Modified: 2017-02-23 14:20 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiao Bin Chen CLA 2011-10-25 22:35:50 EDT

    
Comment 1 Xiao Bin Chen CLA 2011-10-25 22:36:50 EDT
Add below predefined type to content assist:
HttpRest 
HttpSoap 
IHttp
Request 
Response 
Job 
IRest
MultiStatus
Comment 2 Xiao Bin Chen CLA 2011-10-25 23:00:17 EDT
fixed
Comment 3 Jing Qian CLA 2011-10-26 09:59:43 EDT
the purpose of this work item is to leave it open until before we ship 070, this serves as a reminder that you should double check the hard coded list with the latest "system" eglar at that time to make sure they're in sync
Comment 4 Lisa Lasher CLA 2011-11-14 11:18:00 EST
changing from defect to enhancement (task)
Comment 5 Tony Chen CLA 2011-11-16 23:57:36 EST
Xiaobin, we are locking down code. it's time to screen the list and close this workitem.
Comment 6 Xiao Bin Chen CLA 2011-11-17 01:31:03 EST
I have retrieved the system package. so far, the list below is the types can be listed in content assist:(Annotation and exception not included)


any
bigint
boolean
datasource
date
decimal
dictionary
float
int
number
string
ScrollableDataSource
SQLDataSource
SQLResultSet
SQLStatement
HttpRest
HttpSoap
IHttp
IRest
MultiStatus
Request
Response
Job
smallint
smallfloat
timestamp



If I missed something, Please reopened this defect.Thanks :)
Comment 7 Zhi Zhu CLA 2011-11-22 22:10:02 EST
Listed Proposal can be shown; but I have some suggestions to this feature, so I reopen it:

1 Proposals that can be improved:
  A. HttpRest
     EDT proposal only suggest 'HttpRest', it is better to offer a usage template for using HttpRest,
     such as:
         HttpRest{@Resource{bindingKey=?}};  or
         HttpRest = new HttpRest{
            restType = eglx.rest.ServiceType.TrueRest}
            
      need confirmation for suggested template for this.
      
      
      
      
2 Proposal that should not be displayed for EDT 0.70
  A. HttpSoap 
        EDT does not support SOAP/WSDL web service, should not show it in proposal
        
  
  

3 Cannot see the following proposal in Service part:
  A. IHttp
  B. IRest
  
  
4 Widgets-related proposal should not be displayed in Service,Library and etc parts


5 Displayed proposal are not ordered.
Comment 8 Tony Chen CLA 2011-11-23 00:46:44 EST
Make this a future enhancement.
Comment 9 Brian Svihovec CLA 2011-12-15 15:14:16 EST
If an enhancement has not already been opened to change the behavior of content assist so that these values are no longer hard coded, please open one.  If you open one, or if one already exists, please record the # here.
Comment 10 Xiao Bin Chen CLA 2012-01-11 01:11:44 EST
https://bugs.eclipse.org/bugs/show_bug.cgi?id=366507. Hard code for enumeration.
Comment 11 Matt Heitz CLA 2013-01-03 14:15:15 EST
This is no longer a valid bug, since content assist now works by looking at the types in the system eglars.