com.alveole.studio.web.refactoring
Class ActionUpdateMethodRef
java.lang.Object
Change
com.alveole.studio.web.refactoring.AnyChange
com.alveole.studio.web.refactoring.ActionUpdateMethodRef
public class ActionUpdateMethodRef
- extends AnyChange
This change action performs changing Struts2 action fully qualified class name
from a MVC Web Project.
- Author:
- sylvain
Constructor Summary |
ActionUpdateMethodRef(org.eclipse.core.resources.IFile projectFile,
java.lang.String className,
java.lang.String fromName,
java.lang.String signature,
java.lang.String toName)
|
Method Summary |
boolean |
init()
Initializes this action, and return true if this action should
be performed, false else. |
Change |
perform(org.eclipse.core.runtime.IProgressMonitor pm)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionUpdateMethodRef
public ActionUpdateMethodRef(org.eclipse.core.resources.IFile projectFile,
java.lang.String className,
java.lang.String fromName,
java.lang.String signature,
java.lang.String toName)
init
public boolean init()
- Initializes this action, and return true if this action should
be performed, false else.
If false is return, getWarning() may not be null.
- Specified by:
init
in class AnyChange
- Returns:
perform
public Change perform(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException