public class CommonFileRenameAction extends CommonProjectAction
ERROR_DIALOG_TITLE, WAIT_DIALOG_TITLEchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
CommonFileRenameAction(ProjectFileContainer container)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
String |
getName()
Consulta o nome da ação.
|
void |
rename(csbase.logic.ClientProjectFile file,
String name)
Solicita ao servidor para renomear o arquivo ou diretório.
|
clearClipboard, clearSelection, getFileChooser, getProject, getSelectedFile, getSelectedFiles, getSelectionCount, getTitle, getWindow, showError, showError, showError, showError, startCopyAction, startCutAction, startPasteAction, startRenamingActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic CommonFileRenameAction(ProjectFileContainer container)
container - o container.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class CommonProjectActionpublic String getName()
getName in class CommonProjectActionpublic void rename(csbase.logic.ClientProjectFile file,
String name)
file - O arquivo ou diretório a ser renomeado.name - O novo nome.Copyright © 2018. All rights reserved.