|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectChange
com.alveole.studio.web.refactoring.AnyChange
public abstract class AnyChange
This is the base class for all refactor actions.
| Field Summary | |
|---|---|
protected boolean |
autoSave
Specifies if project should be saved after changes. |
protected java.lang.String |
fromName
Old name. |
protected Project |
project
The parsed project. |
protected org.eclipse.core.resources.IFile |
targetFile
The file referencing MVC Web Project file. |
protected java.lang.String |
toName
New name. |
protected java.lang.String |
warning
A warning message if an error occurred. |
| Constructor Summary | |
|---|---|
AnyChange()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getModifiedElement()
|
java.lang.String |
getName()
|
java.lang.String |
getWarning()
|
abstract boolean |
init()
|
void |
initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
|
RefactoringStatus |
isValid(org.eclipse.core.runtime.IProgressMonitor pm)
|
protected void |
openProject()
Parses project. |
void |
setWarning(java.lang.String warning)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String fromName
protected java.lang.String toName
protected boolean autoSave
protected Project project
protected org.eclipse.core.resources.IFile targetFile
protected java.lang.String warning
| Constructor Detail |
|---|
public AnyChange()
| Method Detail |
|---|
public java.lang.String getWarning()
public void setWarning(java.lang.String warning)
warning - the warning to setpublic java.lang.Object getModifiedElement()
public java.lang.String getName()
public void initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
public RefactoringStatus isValid(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException,
org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledExceptionprotected void openProject()
public abstract boolean init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||