public class ProjectFileDeletedEvent extends ProjectEvent
DIR_REFRESHED, event, FILE_DELETED, FILE_MOVED, FILE_STATE_CHANGED, FILES_DELETED, INFO_MODIFIED, NEW_FILE, NEW_FILE_NAME, NEW_FILES, PROJECT_CLOSED, PROJECT_DELETED, projectId, TREE_CHANGED| Constructor and Description |
|---|
ProjectFileDeletedEvent(Object projectId,
String[] path)
Cria uma instância de
ProjectEvent para o evento de remoção de
um arquivo na árvore de um projeto. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPath()
Retorna o caminho do arquivo excluído como resultado do evento ocorrido.
|
ClientProjectFile |
getRemovedFile()
Obtém o arquivo excluído.
|
int |
getRemovedFileIndex()
Consulta ao índice
|
void |
setRemovedFile(ClientProjectFile file)
Define o arquivo excluído.
|
void |
setRemovedFileIndex(int index)
Ajuste do índice
|
makeEventgetCreationDatepublic ProjectFileDeletedEvent(Object projectId, String[] path)
ProjectEvent para o evento de remoção de
um arquivo na árvore de um projeto.projectId - o identificador do projeto de qual o arquivo foi excluído.path - O caminho do arquivo excluído.public String[] getPath()
public void setRemovedFileIndex(int index)
index - o índicepublic int getRemovedFileIndex()
public void setRemovedFile(ClientProjectFile file)
file - o arquivo excluído.public ClientProjectFile getRemovedFile()
Copyright © 2018. All rights reserved.