public class JRenameModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_ACCEPT |
static int |
ACTION_CANCEL |
Constructor and Description |
---|
JRenameModel(ScriptingManager manager,
ScriptingUnit unit) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
java.lang.String |
getNewName() |
ScriptingUnit |
getUnit() |
void |
setAction(int action) |
void |
setNewName(java.lang.String newName) |
void |
setUnit(ScriptingUnit unit) |
void |
validate() |
public static final int ACTION_CANCEL
public static final int ACTION_ACCEPT
public JRenameModel(ScriptingManager manager, ScriptingUnit unit)
public void validate() throws java.lang.Exception
java.lang.Exception
public void setAction(int action)
public int getAction()
public void setNewName(java.lang.String newName)
public java.lang.String getNewName()
public void setUnit(ScriptingUnit unit)
public ScriptingUnit getUnit()