This document lists changes made to the Refactoing API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: $codebase > 1.20
ScopePanel; made by: ralphbenjamin; issues: #252995
When a ScopeProvider should be displayed, it returns true from the initialize method, but it will not work or work as expected the ScopeProvider can return a Problem. Added the method getProblem() to ScopeProvider and getScopeProvider() to ScopePanel.
Scope; made by: ralphbenjamin; issues: #252993
Added the property dependencies in class Scope to include dependencies of the specified scope, like libraries, used by WhereUsedQuery.
FiltersDescription; made by: ralphbenjamin; issues: #230538
Added the method setSelected, to introduce a way to update a filter's selected state after creation.
RefactoringCommit; made by: ralphbenjamin; issues: #221295
RefactoringCommit now implements the interface ProgressProvider to notify the progress of the commit.
ScopePanel; made by: ralphbenjamin; issues: #217347
Added an ExpandableTreeElement and a declarative way to add new scopes.
FiltersDescription; made by: ralphbenjamin; issues: #215361
This API allows refactoring plugins to add/enable filters to the results window and refactoring elements to specify if they should be included in the results.
RefactoringSession; made by: ralphbenjamin; issues: #214926
Changed access level of #finish() to public.
Context; made by: ralphbenjamin; issues: #210673
Added the method remove to the refactoring Context.
CopyRefactoring; made by: ralphbenjamin; issues: #206623
Added support to copy multiple files at once.
Scope; made by: ralphbenjamin; issues: #199779
Scope is used to limit the WhereUsedQuery to a specific scope.
An instance is added to the context of WhereUsedQuery to limit the scope. A custom scope can be any combination of source roots, folders and files.
RefactoringCommit; made by: jbecicka; issues: #209110
Added RefactoringCommit and ModificationResult SPI classes.
ExplorerContext; made by: jbecicka; issues: #116857
ExplorerContext is refactoring specific context, which is passed via Lookup
to ContextAwareActions in following cases:
1. Instant rename in Explorer
2. Nodes are transfered using DnD.
3. Nodes are moved using Cut/Paste.
4. Nodes are copied using Copy/Paste.
5. Nodes are deleted from Explorer.