public abstract class ElementCreator extends java.lang.Object implements WriteActionAware
Modifier | Constructor and Description |
---|---|
protected |
ElementCreator(Project project,
java.lang.String errorTitle) |
Modifier and Type | Method and Description |
---|---|
protected abstract PsiElement[] |
create(java.lang.String newName) |
protected abstract java.lang.String |
getActionName(java.lang.String newName) |
static java.lang.String |
getErrorMessage(java.lang.Throwable t) |
PsiElement[] |
tryCreate(java.lang.String inputString) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startInWriteAction
protected ElementCreator(Project project, java.lang.String errorTitle)
protected abstract PsiElement[] create(java.lang.String newName) throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String getActionName(java.lang.String newName)
public PsiElement[] tryCreate(java.lang.String inputString)
public static java.lang.String getErrorMessage(java.lang.Throwable t)