public class OpenProjectRemoteTask extends RemoteTask<csbase.logic.CommonClientProject>
Tarefa que define a abertura de um projeto no servidor.
OBS: É instalado um observador remoto para um projeto aberto.
serverURI| Constructor and Description |
|---|
OpenProjectRemoteTask(java.lang.Object projectId)
Cria uma tarefa para abertura de um projeto no servidor.
|
OpenProjectRemoteTask(java.lang.Object projectId,
java.awt.Dialog.ModalityType modality)
Cria uma tarefa para abertura de um projeto no servidor.
|
| Modifier and Type | Method and Description |
|---|---|
protected csbase.logic.CommonClientProject |
openProject()
Abre um projeto no servidor.
|
protected void |
performTask() |
handleError, handleInfoError, handleServerErrorgetCancelDelaySecs, getDefaultParentWindowafterTaskUI, beforeTaskUI, cancelTask, execute, execute, execute, execute, execute, execute, executeNonBlocking, getAdditionalInfo, getError, getProgressDialogDelay, getResult, getStatus, getTaskMessage, run, setProgressDialogDelay, setProgressDialogEnabled, setProgressStatus, setResult, setStepText, setUnknownStatus, wasCancelledpublic OpenProjectRemoteTask(java.lang.Object projectId,
java.awt.Dialog.ModalityType modality)
projectId - Identificador do projeto a ser aberto.modality - tipo de bloqueio das janelaspublic OpenProjectRemoteTask(java.lang.Object projectId)
projectId - protected void performTask()
throws java.lang.Exception
performTask in class tecgraf.javautils.gui.Task<csbase.logic.CommonClientProject>java.lang.Exceptionprotected csbase.logic.CommonClientProject openProject()
throws java.lang.Exception
java.lang.Exception - Caso ocorra algum erro no procedimento.Copyright © 2018. All Rights Reserved.