Modelers

org.topcased.core.refactoring
Class RenameModelFileProcessor

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
          extended by org.eclipse.ltk.core.refactoring.participants.RenameProcessor
              extended by org.topcased.core.refactoring.RenameModelFileProcessor
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable

public class RenameModelFileProcessor
extends org.eclipse.ltk.core.refactoring.participants.RenameProcessor

The processor is where the work is delegated to if participants are involved. The processor loads the participants and manages the lifecycle of the refactoring. In order to do that, the refactoring entry point methods must be implemented.

Creation 10 janv. 07


Field Summary
static java.lang.String IDENTIFIER
          A unique identifier of the refactoring processor
 
Constructor Summary
RenameModelFileProcessor(RenameModelFileInfo info)
          The constructor
 
Method Summary
 org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
           
 org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
           
 org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm)
           
 java.lang.Object[] getElements()
           
 java.lang.String getIdentifier()
           
 java.lang.String getProcessorName()
           
 boolean isApplicable()
           
 org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status, org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants)
           
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
getRefactoring, postCreateChange
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
A unique identifier of the refactoring processor

See Also:
Constant Field Values
Constructor Detail

RenameModelFileProcessor

public RenameModelFileProcessor(RenameModelFileInfo info)
The constructor

Parameters:
info - an Object that contains informations about the refactoring
Method Detail

getElements

public java.lang.Object[] getElements()
Specified by:
getElements in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.getElements()

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.getIdentifier()

getProcessorName

public java.lang.String getProcessorName()
Specified by:
getProcessorName in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.getProcessorName()

isApplicable

public boolean isApplicable()
                     throws org.eclipse.core.runtime.CoreException
Specified by:
isApplicable in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
Throws:
org.eclipse.core.runtime.CoreException
See Also:
RefactoringProcessor.isApplicable()

checkInitialConditions

public org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
Specified by:
checkInitialConditions in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor)

checkFinalConditions

public org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
                                                                               org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
Specified by:
checkFinalConditions in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext)

createChange

public org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm)
Specified by:
createChange in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.createChange(org.eclipse.core.runtime.IProgressMonitor)

loadParticipants

public org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status,
                                                                                               org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants)
Specified by:
loadParticipants in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
See Also:
RefactoringProcessor.loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus, org.eclipse.ltk.core.refactoring.participants.SharableParticipants)

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.