Bug 196091 - [Schema][Editors] Add field assist to "Extends" and "Implements" fields
Summary: [Schema][Editors] Add field assist to "Extends" and "Implements" fields
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4 M1   Edit
Assignee: Adam Archer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-07-10 20:09 EDT by Mike Pawlowski CLA
Modified: 2007-07-17 13:05 EDT (History)
1 user (show)

See Also:
mike.pawlowski: review+


Attachments
patch (4.46 KB, patch)
2007-07-17 09:38 EDT, Adam Archer CLA
mike.pawlowski: review+
Details | Diff

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