public class EditorSaveAsCommand extends SaveAsCommand
RenameCommand class implements the Rename command.oracle.ide.Command_context, _duplicate, _elementOwner, _newURL, _nodeClass, _noPlaceToAdd, _sourceContentSet, CANCELED, OK_NAME_CHANGED, OK_NAME_UNCHANGED| Constructor and Description |
|---|
EditorSaveAsCommand()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
convertToDupNode(Node doc) |
protected int |
convertToNewNode(Node doc)
Rename with node conversion.
|
protected int |
saveAsDupNode(Node doc)
There is already a node in the cache with the new url.
|
protected int |
saveAsNewNode(Node doc)
The specified
doc is being saved as a different
name in addition to the name it already has. |
approveNewURL, doit, doSaveAs, getOwningContentSet, isSameFile, saveFileDlgOK, saveNode, validateNewURLenableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfo, undoprotected int saveAsNewNode(Node doc)
SaveAsCommanddoc is being saved as a different
name in addition to the name it already has.
The doc class has not changed (that is an html Node
has not been renamed as a jsp Node).saveAsNewNode in class SaveAsCommandprotected int convertToNewNode(Node doc)
SaveAsCommandconvertToNewNode in class SaveAsCommandprotected int convertToDupNode(Node doc)
convertToDupNode in class SaveAsCommandprotected int saveAsDupNode(Node doc)
SaveAsCommandsaveAsDupNode in class SaveAsCommand