Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 29068 - New refactor copy method
Summary: New refactor copy method
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 04:45 EST by Rodion Dokhtorenko CLA
Modified: 2003-01-07 05:26 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodion Dokhtorenko CLA 2003-01-07 04:45:43 EST
I not found in the Eclipse separate refactor method for creating entity (class,
interface, file, etc) based on the other. For example, I have a class MyClass1
with fully implemented methods which represent some JSPBean. And I want to
create new one, MyClass2, which will represent another one JSPBean. Today for
achieving my goal, I need to create new java file, copy/past content of the
MyClass1 into new one and call Find/Replace dialog for name changing.
Can you add new separate refactoring method that will ask user before performing
about new name for target? As it implemented int the IntelliJ IDEA?
Comment 1 Adam Kiezun CLA 2003-01-07 05:26:24 EST
select the file in which the class is declared
press ctrl+C
press ctrl+V select a new name