MetaDone
|
Static Public Member Functions | |
static void | testLogging (boolean info) |
static void | loadProperties (Properties properties) |
static void | printFontsAvailable () |
static void | printSystemProperties () |
static void | printAvailableLookAndFeels () |
static void | setLookAndFeel (String lookAndFeel) |
Private Member Functions | |
MetadoneClientUtil () | |
Static Private Member Functions | |
static boolean | testassert () |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(MetadoneClientUtil.class) |
static final String | METADONE_PROPERTIES = "metadone.properties" |
Utility functions for starting and configuring the metadone client.
metadone.client.MetadoneClientUtil.MetadoneClientUtil | ( | ) | [private] |
static void metadone.client.MetadoneClientUtil.loadProperties | ( | Properties | properties | ) | [static] |
Loads the global default metadone.properties.
properties | The property to load to |
References metadone.client.MetadoneClientUtil.logger, and metadone.client.MetadoneClientUtil.METADONE_PROPERTIES.
Referenced by metadone.metadone_standalone.MetadoneStandalone.main(), and metadone_bundle_client.MetadoneActivator.start().
static void metadone.client.MetadoneClientUtil.printAvailableLookAndFeels | ( | ) | [static] |
Logs the available Swing look&feels.
References metadone.client.MetadoneClientUtil.logger.
Referenced by metadone.client.MetadoneClientUtil.testLogging().
static void metadone.client.MetadoneClientUtil.printFontsAvailable | ( | ) | [static] |
Logs the available fonts.
References metadone.client.MetadoneClientUtil.logger.
Referenced by metadone.client.MetadoneClientUtil.testLogging().
static void metadone.client.MetadoneClientUtil.printSystemProperties | ( | ) | [static] |
Logs the system properties.
References metadone.client.MetadoneClientUtil.logger.
Referenced by metadone.client.MetadoneClientUtil.testLogging().
static void metadone.client.MetadoneClientUtil.setLookAndFeel | ( | String | lookAndFeel | ) | [static] |
Sets a look&feel.
lookAndFeel | The name of the look&feel |
References metadone.client.MetadoneClientUtil.logger.
Referenced by metadone.metadone_standalone.MetadoneStandalone.main(), and metadone_bundle_client.MetadoneActivator.start().
static boolean metadone.client.MetadoneClientUtil.testassert | ( | ) | [static, private] |
References metadone.client.MetadoneClientUtil.logger.
Referenced by metadone.client.MetadoneClientUtil.testLogging().
static void metadone.client.MetadoneClientUtil.testLogging | ( | boolean | info | ) | [static] |
Logs some messages to show what levels are logged.
info | Whether to show the system information too |
References metadone.client.MetadoneClientUtil.logger, metadone.client.MetadoneClientUtil.printAvailableLookAndFeels(), metadone.client.MetadoneClientUtil.printFontsAvailable(), metadone.client.MetadoneClientUtil.printSystemProperties(), and metadone.client.MetadoneClientUtil.testassert().
Referenced by metadone.metadone_standalone.MetadoneStandalone.main(), and metadone_bundle_client.MetadoneActivator.start().
final Logger metadone.client.MetadoneClientUtil.logger = Logger.getLogger(MetadoneClientUtil.class) [static, private] |
Referenced by metadone.client.MetadoneClientUtil.loadProperties(), metadone.client.MetadoneClientUtil.printAvailableLookAndFeels(), metadone.client.MetadoneClientUtil.printFontsAvailable(), metadone.client.MetadoneClientUtil.printSystemProperties(), metadone.client.MetadoneClientUtil.setLookAndFeel(), metadone.client.MetadoneClientUtil.testassert(), and metadone.client.MetadoneClientUtil.testLogging().
final String metadone.client.MetadoneClientUtil.METADONE_PROPERTIES = "metadone.properties" [static, private] |
Referenced by metadone.client.MetadoneClientUtil.loadProperties().