org.datamanager.simpleton
Class EmailDisplaySimpleton
java.lang.Object
|
+--org.datamanager.kernel.Simpleton
|
+--org.datamanager.kernel.GuiSimpleton
|
+--org.datamanager.simpleton.EmailDisplaySimpleton
- All Implemented Interfaces:
- EventHandler
- public class EmailDisplaySimpleton
- extends GuiSimpleton
- implements EventHandler
Provides a GUI to view one single email. Supports text/plain content-type at
this time.
- Author:
- Team Helium
Method Summary |
void |
handle(DataManagerEvent dataManagerEvent)
The BasicEmailViewerSimpleton generates EntityDisplayRequestEvents with
the appropriate Email entities. |
void |
process()
Runs this Simpleton. |
EmailDisplaySimpleton
public EmailDisplaySimpleton()
process
public void process()
- Runs this Simpleton. Subscribes to the Pool listening
for EntityDisplayRequestEvents that contain email messages.
FIXME: We need to deal with exception handling in a better fashion.
- Specified by:
process
in class Simpleton
handle
public void handle(DataManagerEvent dataManagerEvent)
- The BasicEmailViewerSimpleton generates EntityDisplayRequestEvents with
the appropriate Email entities. This method handles the aforementioned
events by displaying the email message in a new window.
FIXME: We need to deal with exception handling in a better fashion.
- Specified by:
handle
in interface EventHandler
- Parameters:
dataManagerEvent
- The event to handle.
See the Helium Website