org.acm.seguin.ide.jbuilder.refactor
Class JBuilderRefactoringFactory

java.lang.Object
  extended by org.acm.seguin.refactor.RefactoringFactory
      extended by org.acm.seguin.ide.jbuilder.refactor.JBuilderRefactoringFactory

public class JBuilderRefactoringFactory
extends RefactoringFactory

Creates refactorings specific to JBuilder. The refactorings make sure to close out existing files before the refactoring is performed.

Author:
Chris Seguin

Constructor Summary
protected JBuilderRefactoringFactory()
          Constructor for the JBuilderRefactoringFactory object
 
Method Summary
 MoveClass moveClass()
          Creates a move class refactoring object
protected  void prepare()
          We use this as an opportunity to save all the files in the system before we perform the refactorings.
static void register()
          Register this as the factory
 RemoveEmptyClassRefactoring removeEmptyClass()
          Description of the Method
 RenameClassRefactoring renameClass()
          Description of the Method
 
Methods inherited from class org.acm.seguin.refactor.RefactoringFactory
addChild, addParent, extractInterface, extractMethod, get, moveMethod, pushDownField, pushDownMethod, pushUpAbstractMethod, pushUpField, pushUpMethod, renameField, renameMethod, renameParameter, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBuilderRefactoringFactory

protected JBuilderRefactoringFactory()
Constructor for the JBuilderRefactoringFactory object

Method Detail

moveClass

public MoveClass moveClass()
Creates a move class refactoring object

Overrides:
moveClass in class RefactoringFactory
Returns:
the move class refactoring object

prepare

protected void prepare()
We use this as an opportunity to save all the files in the system before we perform the refactorings.

Overrides:
prepare in class RefactoringFactory

register

public static void register()
Register this as the factory


removeEmptyClass

public RemoveEmptyClassRefactoring removeEmptyClass()
Description of the Method

Overrides:
removeEmptyClass in class RefactoringFactory
Returns:
Description of the Returned Value

renameClass

public RenameClassRefactoring renameClass()
Description of the Method

Overrides:
renameClass in class RefactoringFactory
Returns:
Description of the Returned Value