|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 InternalHelperService
public void showException(java.lang.Exception e)
showException
in interface HelperService
e
- The exception to be shown.public java.lang.String showMessage(java.lang.String resourceItemName)
showMessage
in interface HelperService
resourceItemName
- 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 HelperService
resourceItem
- 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 HelperService
resourceItemName
- 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 HelperService
resourceItem
- 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 |