|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.genuine.organizer.internal.DefaultHelperService
Default implementation of helper service.
| Constructor Summary | |
DefaultHelperService()
|
|
| Method Summary | |
void |
setDesktopComponents(java.awt.Frame mainFrame,
javax.swing.JLabel infoLabel)
Takes the info label |
void |
showException(java.lang.Exception e)
Shows the error message of an exception in a dialog. |
java.lang.String |
showMessage(ResourceItem resourceItem)
Creates a message and shows it. |
java.lang.String |
showMessage(ResourceItem resourceItem,
java.lang.Object[] parameters)
Creates a message including the given parameters and shows the message. |
java.lang.String |
showMessage(java.lang.String resourceItemName)
Fetches the resource item, creates a message and shows it. |
java.lang.String |
showMessage(java.lang.String resourceItemName,
java.lang.Object[] parameters)
Fetches the resource item, creates a message including the given parameters and shows the message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultHelperService()
| Method Detail |
public void setDesktopComponents(java.awt.Frame mainFrame,
javax.swing.JLabel infoLabel)
setDesktopComponents in interface InternalHelperServicepublic void showException(java.lang.Exception e)
showException in interface HelperServicee - The exception to be shown.public java.lang.String showMessage(java.lang.String resourceItemName)
showMessage in interface HelperServiceresourceItemName - The name of a resource item that is fetched using
the ResourceManager. The resource item has to contain the properties
of the message to be shown
public java.lang.String showMessage(ResourceItem resourceItem)
showMessage in interface HelperServiceresourceItem - A resource item that contains the properties
of the message to be shown
public java.lang.String showMessage(java.lang.String resourceItemName,
java.lang.Object[] parameters)
showMessage in interface HelperServiceresourceItemName - The name of a resource item that is fetched using
the ResourceManager. The resource item has to contain the properties
of the message to be shownparameters - An array of objects that is inserted into the message as
parameters as defined by MessageFormat.
public java.lang.String showMessage(ResourceItem resourceItem,
java.lang.Object[] parameters)
showMessage in interface HelperServiceresourceItem - A resource item that contains the properties
of the message to be shownparameters - An array of objects that is inserted into the message as
parameters as defined by MessageFormat.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||