|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ide.addin.AbstractCommand | +--oracle.ide.cmd.RemoveFileCommand | +--oracle.ide.cmd.RemoveFromDiskCommand
The RemoveFileCommand
class implements the command to delete
the file(s) on disk that are associated with the selected element(s).
oracle.ide.Command
,
oracle.ide.AbstractCommand
Fields inherited from class oracle.ide.addin.AbstractCommand |
cmdId, context, name, type |
Fields inherited from interface oracle.ide.addin.Command |
CANCEL, EXECUTING, NO_CHANGE, NO_UNDO, NORMAL, OK |
Constructor Summary | |
RemoveFromDiskCommand()
Constructor. |
Method Summary | |
int |
doit()
Presents the user with the selected list of element files to delete from disk using SelectFilesPanel.showDialog(). |
protected boolean |
remove(Document document,
Folder owner)
Removes element from owner . |
Methods inherited from class oracle.ide.cmd.RemoveFileCommand |
buildFileNamesString, canRemove, canRemove, findOwner, findOwner, getAffectedDocuments, remove, remove |
Methods inherited from class oracle.ide.addin.AbstractCommand |
getContext, getData, getId, getName, getType, setContext, setData, undo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoveFromDiskCommand()
Method Detail |
public int doit() throws java.lang.Exception
doit
in class RemoveFileCommand
protected boolean remove(Document document, Folder owner)
RemoveFileCommand
element
from owner
.remove
in class RemoveFileCommand
oracle.ide.cmd.RemoveFileCommand
false
if the element could not be removed.
|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |