站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

RefactoringPluginFactory (Refactoring API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.refactoring.api 1.0

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.0

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.