org.netbeans.modules.refactoring.api 1.26.0 1

org.netbeans.modules.refactoring.spi
Interface RefactoringPluginFactory


public interface RefactoringPluginFactory

Factory for a refactoring plugin (implementing RefactoringPlugin interface). Implementations of this factory can be registered to the lookup. The refactorings then get all the implementations of this interface from the lookup and call createInstance method passing "this" as a parameter.


Method Summary
 RefactoringPlugin createInstance(AbstractRefactoring refactoring)
          Creates and returns a new instance of the refactoring plugin or returns null if the plugin is not suitable for the passed refactoring.
 

Method Detail

createInstance

RefactoringPlugin createInstance(AbstractRefactoring refactoring)
Creates and returns a new instance of the refactoring plugin or returns null if the plugin is not suitable for the passed refactoring.

Parameters:
refactoring - Refactoring, the plugin should operate on.
Returns:
Instance of RefactoringPlugin or null if the plugin is not applicable to the passed refactoring.

org.netbeans.modules.refactoring.api 1.26.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.