Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339264 - [refactoring] extract interface on a role should create a role interface
Summary: [refactoring] extract interface on a role should create a role interface
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 0.8   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 0.8 M6   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2011-03-08 12:59 EST by Stephan Herrmann CLA
Modified: 2011-06-02 11:54 EDT (History)
0 users

See Also:


Attachments
proposed implementation (18.18 KB, patch)
2011-03-11 19:38 EST, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-03-08 12:59:30 EST
Currently the extract interface refactoring unconditionally creates a
top-level interface. However, when extracting a role interface this
should be placed into the enclosing team.

If desired it can still be moved to its own file, later.
Comment 1 Stephan Herrmann CLA 2011-03-11 19:38:54 EST
Created attachment 191035 [details]
proposed implementation

This patch adds a team for adaption the extract interface refactoring:
- conditionally add a checkbox to the wizard
- different way for creating and integrating the change for the new interface.

Works with nested teams, too.
Comment 2 Stephan Herrmann CLA 2011-03-11 19:45:56 EST
Committed for 0.8M6 in r1403.
Comment 3 Stephan Herrmann CLA 2011-06-02 11:54:57 EDT
Verified using build 201105311237