Bug 196091

Summary: [Schema][Editors] Add field assist to "Extends" and "Implements" fields
Product: [Eclipse Project] PDE Reporter: Mike Pawlowski <mike.pawlowski>
Component: UIAssignee: Adam Archer <agarcher>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: wassim.melhem
Version: 3.3Keywords: contributed
Target Milestone: 3.4 M1Flags: mike.pawlowski: review+
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch mike.pawlowski: review+

Description Mike Pawlowski CLA 2007-07-10 20:09:37 EDT
Add field assist to the "Extends" and "Implements" fields on the "Attribute Details" section ("Type" has to be "java" to see the fields).

Invoking a content assist Ctrl-Space should give proposals for Java classes / interfaces.  Java scope is determined by the fields adjacent "Browse..." button

This functionality is identical to that of "class" or "Activator" fields within the Plug-in Manifest Editor.

Valuable References:

org.eclipse.pde.internal.ui.editor.plugin.rows.ClassAttributeRow
org.eclipse.pde.internal.ui.util.PDEJavaHelperUI.addTypeFieldAssistToText(Text, IProject, int)
Comment 1 Adam Archer CLA 2007-07-17 09:38:17 EDT
Created attachment 73944 [details]
patch

Adds field assist to the specified fields. Also fixes a bug in field assist in which specifying IJavaSearchConstants.INTERFACE as the field assist type would still show classes.
Comment 2 Mike Pawlowski CLA 2007-07-17 13:05:21 EDT
Comment on attachment 73944 [details]
patch

Tested well.  Thanks Adam.
Comment 3 Mike Pawlowski CLA 2007-07-17 13:05:49 EDT
Patch released to HEAD.

Target:  3.4 M1