Package de.mid.innovator.ui
Interface InnovatorApplication
- All Known Implementing Classes:
InnovatorApplicationDefault
public interface InnovatorApplication
Every Java application that should be run as an Innovator application
should commit to this interface.
- Author:
- borschet
-
Method Summary
Modifier and TypeMethodDescriptionvoidProtocols any messages at info level.voidProtocols any messages.voidShould be called to show the application user an NLS message.voidonExit()Performs a clean up.voidonInit()Initializes the application or provides attribute values that can control the behavior during initialization.voidrun()Contains the real work the application does.Usage()voidShows the application user a warning message.
-
Method Details
-
onInit
void onInit()Initializes the application or provides attribute values that can control the behavior during initialization. -
onExit
void onExit()Performs a clean up. -
run
Contains the real work the application does.- Throws:
InoNlsException- If anything happens that causes the application to stop.
-
log
Protocols any messages.- Parameters:
l- the logging levelmsg- a message that can contain message format variablesargs- the arguments for the message format
-
info
Protocols any messages at info level.- Parameters:
msg- a message that can contain message format variablesargs- the arguments for the message format
-
msg
Should be called to show the application user an NLS message.- Parameters:
key- a property file's message keyargs- the arguments for the message format
-
warning
Shows the application user a warning message.- Parameters:
key- a property file's message keyargs- the arguments for the message format
-
Usage
String Usage()- Returns:
- A string containing the usage of the Innovator application.
-