Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ How do I participate in a refactoring?"

 
m
Line 5: Line 5:
 
UML diagrams, or elsewhere, the plug-ins responsible for those files will
 
UML diagrams, or elsewhere, the plug-ins responsible for those files will
 
want to update their references as well.
 
want to update their references as well.
 
  
 
New extension points are defined by <tt>org.eclipse.jdt.ui</tt>
 
New extension points are defined by <tt>org.eclipse.jdt.ui</tt>
Line 13: Line 12:
 
details by browsing through the extension point documentation for the new
 
details by browsing through the extension point documentation for the new
 
refactoring participant extension points.
 
refactoring participant extension points.
 
  
 
== See Also: ==
 
== See Also: ==
 
+
*[[FAQ_What_is_LTK%3F]]
[[FAQ_What_is_LTK%3F]]
+
  
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Revision as of 22:16, 29 May 2006

In Eclipse 3.0, the JDT introduced new API to allow other plug-ins to participate in simple refactorings. For example, if a user renames a method, JDT can fix up method references only in other standard Java files. If references to that method exist in Java-like files, such as JSPs, UML diagrams, or elsewhere, the plug-ins responsible for those files will want to update their references as well.

New extension points are defined by org.eclipse.jdt.ui for participation in renaming, creating, deleting, copying, and moving Java elements. The refactoring participant API is based on the new language-independent refactoring infrastructure in the LTK plug-ins. You can find more details by browsing through the extension point documentation for the new refactoring participant extension points.

See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top