com.sdm.quasar.client.swing.systeminfo
Class SystemInfoPanelFeature

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.swing.systeminfo.SystemInfoPanelFeature
All Implemented Interfaces:
Feature, SystemInfoProvider

public class SystemInfoPanelFeature
extends AbstractFeature

This is the system info panel with a toolbar, that allows setting of the detail level and the refresh time.

Version:
1.$Revision$
Author:
Thomas Wolf

Constructor Summary
SystemInfoPanelFeature()
           
 
Method Summary
protected  void dispose()
          Called when the feature or dialog is disposed.
 javax.swing.Action getSaveAction()
          Returns the Action.
 javax.swing.JPanel getSystemInfoPanel()
          Returns the JPanel.
 javax.swing.JPanel getToolbarPanel()
          Returns the JPanel.
protected  void init()
          Called when the feature is initializing.
 java.lang.String translate(java.lang.String original)
          Translates the given original text to get translated by a resource entry.
 
Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfoPanelFeature

public SystemInfoPanelFeature()
Method Detail

init

protected void init()
Description copied from class: AbstractFeature
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl installed to. To access the DialogControl use the AbstractFeature.getDialogControl() method.

Override this method to perform some action on initialization e.g. register public services.

Specified by:
init in class AbstractFeature
See Also:
AbstractFeature.init()

dispose

protected void dispose()
                throws DisposeException
Description copied from class: AbstractFeature
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing.

Specified by:
dispose in class AbstractFeature
Throws:
DisposeException
See Also:
AbstractFeature.dispose()

getSystemInfoPanel

public javax.swing.JPanel getSystemInfoPanel()
Returns the JPanel.


getToolbarPanel

public javax.swing.JPanel getToolbarPanel()
Returns the JPanel.


getSaveAction

public javax.swing.Action getSaveAction()
Returns the Action.


translate

public java.lang.String translate(java.lang.String original)
Translates the given original text to get translated by a resource entry.

Parameters:
original - the orginal key text
Returns:
the translated value - if any, otherwise the original text