Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Run "extract interface.." refactoring programatically?
Run "extract interface.." refactoring programatically? [message #237229] Thu, 12 October 2006 15:30 Go to next message
Eclipse UserFriend
Originally posted by: fiedler.bass.web.de

Hi,

is there a way to bring up the "Extract Interface.." refactoring dialog
programmatically?

Thanks
ff
Re: Run "extract interface.." refactoring programatically? [message #237246 is a reply to message #237229] Thu, 12 October 2006 21:17 Go to previous message
Eclipse UserFriend
Frank Fiedler wrote:
> Hi,
>
> is there a way to bring up the "Extract Interface.." refactoring dialog
> programmatically?
>

If you find the command ID for it, you can execute it from code using
the handler service:

handlerService.executeCommand("id", null);

For more information on handlers and commands
http://wiki.eclipse.org/index.php/Platform_Command_Framework


You can always attach a keybinding to it in the
Window>Preferences>General>Keys preference page.

Later,
PW
Previous Topic:Turn Swing app into plugin?
Next Topic:Automatically adding import statements
Goto Forum:
  


Current Time: Fri May 02 01:04:09 EDT 2025

Powered by FUDForum. Page generated in 0.02783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top