public class CommandsMonitor extends Application
ALGORITHM_FILE_MESSAGE, PREFERENCE_MESSAGE, PROJECT_FILE_MESSAGE| Constructor and Description |
|---|
CommandsMonitor(String id)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptCommandsFromStatus(csbase.logic.CommandStatus status,
XmlConfigDAO config)
Verifica se o filtro de qualquer uma das tabelas a serem mostradas aceitam
comandos no dado estado.
|
void |
addSelectionChangedListener(EventListener<SelectionChangedEvent> listener)
Adiciona um ouvinte interessado nas alterações na seleção dos comandos.
|
void |
killApplication()
Interrompe a monitoração de comandos.
|
void |
startApplication()
Inicializa o monitor de comando de cada tabela presente.
|
protected boolean |
userCanKillApplication()
Método de kill pelo usuário é específico do desktop applications
|
addPreferenceListener, 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, showWarningcloseApplication, getApplicationRegistry, getApplicationResourceAsStream, getApplicationResourceAsStream, getApplicationResourceAsURL, getApplicationResourceAsURL, getAuthorMail, getAuthorName, getBooleanSpecificProperty, getDescription, getDoubleSpecificProperty, getFileTypes, getId, getImageIcon, getImageIcon, getImageIcon, getInstanceId, getInstanceIndex, getIntSpecificProperty, getLongSpecificProperty, getLongSpecificProperty, getMainApplicationClass, getName, getStringListSpecificProperty, getStringSpecificProperty, getStringSpecificProperty, getVersion, getVersionNumber, launchApplication, onAsyncMessageReceived, onSyncMessageReceived, postInitialization, sendMessageaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic CommandsMonitor(String id) throws ApplicationException
id - identificador único da aplicação.ApplicationException - caso não seja possível criar dinamicamente a
interface.public void addSelectionChangedListener(EventListener<SelectionChangedEvent> listener)
listener - ouvinte interessado.public void startApplication()
throws ApplicationException
startApplication in class ApplicationApplicationException - Em caso de erro ao iniciar a aplicação.public void killApplication()
killApplication in class Applicationprotected boolean userCanKillApplication()
userCanKillApplication in class ApplicationTypepublic boolean acceptCommandsFromStatus(csbase.logic.CommandStatus status,
XmlConfigDAO config)
status - Estado que deve ser aceito pelo filtro de qualquer tabela do
visualizador.config - As configurações da aplicação.Copyright © 2018. All rights reserved.