Java Doc for RenameFieldProcessor.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » corext » refactoring » rename » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.internal.corext.refactoring.rename 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameProcessor
   org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor

All known Subclasses:   org.eclipse.jdt.internal.corext.refactoring.rename.RenameEnumConstProcessor,
RenameFieldProcessor
public class RenameFieldProcessor extends JavaRenameProcessor implements IReferenceUpdating,ITextUpdating,IDelegateUpdating(Code)


Field Summary
final protected static  StringATTRIBUTE_TEXTUAL_MATCHES
    
protected  IFieldfField
    
protected  booleanfUpdateReferences
    
protected  booleanfUpdateTextualMatches
    

Constructor Summary
public  RenameFieldProcessor(IField field)
     Creates a new rename field processor.
 RenameFieldProcessor(IField field, TextChangeManager manager, GroupCategorySet categorySet)
     Creates a new rename field processor.

Method Summary
public  booleancanEnableDelegateUpdating()
    
public  StringcanEnableGetterRenaming()
    
public  StringcanEnableSetterRenaming()
    
public  booleancanEnableTextUpdating()
    
public  booleancanEnableUpdateReferences()
    
public  RefactoringStatuscheckInitialConditions(IProgressMonitor pm)
    
public  RefactoringStatuscheckNewElementName(String newName)
    
protected  RenameModificationscomputeRenameModifications()
    
public  ChangecreateChange(IProgressMonitor monitor)
    
protected  RenameJavaElementDescriptorcreateRefactoringDescriptor()
     Overridden by subclasses.
protected  RefactoringStatusdoCheckFinalConditions(IProgressMonitor pm, CheckConditionsContext context)
    
protected  String[]getAffectedProjectNatures()
    
protected  IFile[]getChangedFiles()
    
final public  StringgetCurrentElementName()
    
final public  StringgetCurrentElementQualifier()
    
public  intgetDelegateCount()
     Returns the maximum number of delegates which can be created for the input elements of this refactoring.
public  booleangetDelegateUpdating()
    
public  StringgetDelegateUpdatingTitle(boolean plural)
    
public  booleangetDeprecateDelegates()
    
public  Object[]getElements()
    
public  IFieldgetField()
    
public  IMethodgetGetter()
    
public  StringgetIdentifier()
    
public  ObjectgetNewElement()
    
public  StringgetNewGetterName()
    
public  StringgetNewSetterName()
    
public  StringgetProcessorName()
    
public  booleangetRenameGetter()
    
public  booleangetRenameSetter()
    
public  intgetSaveMode()
    
public  IMethodgetSetter()
    
public  booleangetUpdateReferences()
    
public  booleangetUpdateTextualMatches()
    
public  RefactoringStatusinitialize(RefactoringArguments arguments)
    
public  booleanisApplicable()
    
public  voidsetDelegateUpdating(boolean update)
    
public  voidsetDeprecateDelegates(boolean deprecate)
    
public  voidsetRenameGetter(boolean renameGetter)
    
public  voidsetRenameSetter(boolean renameSetter)
    
public  voidsetUpdateReferences(boolean update)
    
public  voidsetUpdateTextualMatches(boolean update)
    

Field Detail
ATTRIBUTE_TEXTUAL_MATCHES
final protected static String ATTRIBUTE_TEXTUAL_MATCHES(Code)



fField
protected IField fField(Code)



fUpdateReferences
protected boolean fUpdateReferences(Code)



fUpdateTextualMatches
protected boolean fUpdateTextualMatches(Code)




Constructor Detail
RenameFieldProcessor
public RenameFieldProcessor(IField field)(Code)
Creates a new rename field processor.
Parameters:
  field - the field, or null if invoked by scripting



RenameFieldProcessor
RenameFieldProcessor(IField field, TextChangeManager manager, GroupCategorySet categorySet)(Code)
Creates a new rename field processor.

This constructor is only used by RenameTypeProcessor.


Parameters:
  field - the field
Parameters:
  manager - the change manager
Parameters:
  categorySet - the group category set




Method Detail
canEnableDelegateUpdating
public boolean canEnableDelegateUpdating()(Code)



canEnableGetterRenaming
public String canEnableGetterRenaming() throws CoreException(Code)
Error message or null if getter can be renamed.
throws:
  CoreException -



canEnableSetterRenaming
public String canEnableSetterRenaming() throws CoreException(Code)
Error message or null if setter can be renamed.
throws:
  CoreException -



canEnableTextUpdating
public boolean canEnableTextUpdating()(Code)



canEnableUpdateReferences
public boolean canEnableUpdateReferences()(Code)



checkInitialConditions
public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException(Code)



checkNewElementName
public RefactoringStatus checkNewElementName(String newName) throws CoreException(Code)



computeRenameModifications
protected RenameModifications computeRenameModifications() throws CoreException(Code)



createChange
public Change createChange(IProgressMonitor monitor) throws CoreException(Code)



createRefactoringDescriptor
protected RenameJavaElementDescriptor createRefactoringDescriptor()(Code)
Overridden by subclasses. return the refactoring descriptor for this refactoring



doCheckFinalConditions
protected RefactoringStatus doCheckFinalConditions(IProgressMonitor pm, CheckConditionsContext context) throws CoreException(Code)



getAffectedProjectNatures
protected String[] getAffectedProjectNatures() throws CoreException(Code)



getChangedFiles
protected IFile[] getChangedFiles()(Code)



getCurrentElementName
final public String getCurrentElementName()(Code)



getCurrentElementQualifier
final public String getCurrentElementQualifier()(Code)



getDelegateCount
public int getDelegateCount()(Code)
Returns the maximum number of delegates which can be created for the input elements of this refactoring. maximum number of delegates



getDelegateUpdating
public boolean getDelegateUpdating()(Code)



getDelegateUpdatingTitle
public String getDelegateUpdatingTitle(boolean plural)(Code)



getDeprecateDelegates
public boolean getDeprecateDelegates()(Code)



getElements
public Object[] getElements()(Code)



getField
public IField getField()(Code)



getGetter
public IMethod getGetter() throws CoreException(Code)



getIdentifier
public String getIdentifier()(Code)



getNewElement
public Object getNewElement()(Code)



getNewGetterName
public String getNewGetterName() throws CoreException(Code)



getNewSetterName
public String getNewSetterName() throws CoreException(Code)



getProcessorName
public String getProcessorName()(Code)



getRenameGetter
public boolean getRenameGetter()(Code)



getRenameSetter
public boolean getRenameSetter()(Code)



getSaveMode
public int getSaveMode()(Code)



getSetter
public IMethod getSetter() throws CoreException(Code)



getUpdateReferences
public boolean getUpdateReferences()(Code)



getUpdateTextualMatches
public boolean getUpdateTextualMatches()(Code)



initialize
public RefactoringStatus initialize(RefactoringArguments arguments)(Code)



isApplicable
public boolean isApplicable() throws CoreException(Code)



setDelegateUpdating
public void setDelegateUpdating(boolean update)(Code)



setDeprecateDelegates
public void setDeprecateDelegates(boolean deprecate)(Code)



setRenameGetter
public void setRenameGetter(boolean renameGetter)(Code)



setRenameSetter
public void setRenameSetter(boolean renameSetter)(Code)



setUpdateReferences
public void setUpdateReferences(boolean update)(Code)



setUpdateTextualMatches
public void setUpdateTextualMatches(boolean update)(Code)



Methods inherited from org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameProcessor
final public boolean canEnableComment()(Code)(Java Doc)
final public RefactoringStatus checkFinalConditions(IProgressMonitor pm, CheckConditionsContext context) throws CoreException, OperationCanceledException(Code)(Java Doc)
abstract protected RenameModifications computeRenameModifications() throws CoreException(Code)(Java Doc)
abstract protected RefactoringStatus doCheckFinalConditions(IProgressMonitor pm, CheckConditionsContext context) throws CoreException, OperationCanceledException(Code)(Java Doc)
abstract protected String[] getAffectedProjectNatures() throws CoreException(Code)(Java Doc)
abstract protected IFile[] getChangedFiles() throws CoreException(Code)(Java Doc)
final public String getComment()(Code)(Java Doc)
public String getNewElementName()(Code)(Java Doc)
abstract public int getSaveMode()(Code)(Java Doc)
final public RefactoringParticipant[] loadParticipants(RefactoringStatus status, SharableParticipants shared) throws CoreException(Code)(Java Doc)
final public void setComment(String comment)(Code)(Java Doc)
public void setNewElementName(String newName)(Code)(Java Doc)

w_w__w_.___j__a__va__2_s_.__c___o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.