Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370080 - [rewrite] creating base class via quickfix should insert base import
Summary: [rewrite] creating base class via quickfix should insert base import
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 2.1   Edit
Hardware: Other Linux
: P3 enhancement (vote)
Target Milestone: 2.1 M6   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 17:07 EST by Stephan Herrmann CLA
Modified: 2012-09-22 19:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2012-01-29 17:07:36 EST
If a base class (after "playedBy" or before "as") is unresolved:
1. invoke quick fix for creating the base class
2. inside the wizard set a different package than the current

-> a regular import will be added to the current file where a base import is actually recommended.
Comment 1 Stephan Herrmann CLA 2012-02-19 17:55:43 EST
Fixed for 2.1M6 via commit 3da337a7580ad9a258cd84549b66c7e297a34053
Comment 2 Stephan Herrmann CLA 2012-09-22 19:04:23 EDT
Verified using build 2.2.0.201209221748