public class LogViewer extends ApplicationProject
PREFERENCE_MESSAGE, PROJECT_FILE_MESSAGE| Constructor and Description |
|---|
LogViewer(java.lang.String id)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
void |
killApplication()
Método para encerramento da execução, que pode ser redefinido para
comportamentos próprios da aplicações.
|
void |
openFile(csbase.logic.ClientProjectFile file)
Abre um arquivo de log com a auto-recarga ligada.
|
void |
sendMessage(java.lang.String name,
java.lang.Object value,
java.lang.String senderId)
Método para enviar atributos para uma aplicação; deve ser definido na
aplicação de acordo com a necessidade da mesma.
|
protected boolean |
userCanKillApplication()
Método de kill pelo usuário é específico do desktop applications
|
browseFileOpen, browseFileOpen, browseFileOpen, browseFileOpen, browseFileOpenFromProject, browseFileSave, browseFileSave, browseFileSave, browseFileSave, browseFileSave, browseFileSave, browseFileSave, browseFileSaveFromProject, browseFileSaveFromProject, fileToString, stringArrayToFile, stringArrayToFileWithCreation, stringToFile, stringToFileWithCreationaddPreferenceListener, addWindow, buildApplicationFrame, buildApplicationImage, closeDependentWindows, finishApplication, getApplicationCommand, getApplicationCommandDir, getApplicationFrame, getApplicationProject, getClassString, getClassString, getDesktopFrame, getLocale, getPreferences, getResource, getResourceBundle, getStatusBar, getString, getString, handleError, hasClassString, hasString, isConnectedToServer, isVisible, logDetailedApplicationEvent, removeAllPreferenceListeners, removeWindow, savePreferences, setInitialFrameState, setVisible, showError, showError, showException, showExceptionStack, showInformation, showInformation, showMessage, showMessage, showOptionDialog, showOptionDialog, showWarning, showWarning, startApplicationcloseApplication, getApplicationRegistry, getApplicationResourceAsStream, getApplicationResourceAsStream, getApplicationResourceAsURL, getApplicationResourceAsURL, getAuthorMail, getAuthorName, getBooleanSpecificProperty, getDescription, getDoubleSpecificProperty, getFileTypes, getId, getImageIcon, getImageIcon, getImageIcon, getInstanceId, getInstanceIndex, getIntSpecificProperty, getLongSpecificProperty, getLongSpecificProperty, getMainApplicationClass, getName, getStringListSpecificProperty, getStringSpecificProperty, getVersion, getVersionNumber, launchApplication, postInitializationpublic LogViewer(java.lang.String id)
id - identificador da aplicaçãopublic final void openFile(csbase.logic.ClientProjectFile file)
file - o arquivo.public void sendMessage(java.lang.String name,
java.lang.Object value,
java.lang.String senderId)
sendMessage in class ApplicationTypename - nome do atributo.value - seu valor.senderId - a identificação da aplicação que enviou a mensagem.public void killApplication()
killApplication in class Applicationprotected boolean userCanKillApplication()
userCanKillApplication in class ApplicationTypeCopyright © 2016. All Rights Reserved.