de.jaret.util.ui.infoprovider
Class SWTInfoProvider

java.lang.Object
  extended by de.jaret.util.ui.infoprovider.SWTInfoProvider
All Implemented Interfaces:
JaretInfoProvider

public class SWTInfoProvider
extends Object
implements JaretInfoProvider

Info provider for swt

Version:
$Id: SWTInfoProvider.java 242 2007-02-11 21:05:07Z olk $
Author:
Peter Kliem

Constructor Summary
SWTInfoProvider()
           
 
Method Summary
 void addSubInfoProvider(JaretInfoProvider infoProvider)
          Add an information provider as a sub information provider
 int getAccess()
          Access to the information provided by this infoprovider
 String getInfoProviderName()
          Give a human readable name for the information provider
 List<JaretInfoProvider> getSubInfoProviders()
          List of subinformation providers registered to this info provider
 List<SysInfoEntry> getSysInfoEntries()
          return a list of the info entries
 void remSubInfoProvider(JaretInfoProvider infoProvider)
          Remove agegsitered sub infoprovider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTInfoProvider

public SWTInfoProvider()
Method Detail

getInfoProviderName

public String getInfoProviderName()
Description copied from interface: JaretInfoProvider
Give a human readable name for the information provider

Specified by:
getInfoProviderName in interface JaretInfoProvider
Returns:
Name to be displayed

getAccess

public int getAccess()
Description copied from interface: JaretInfoProvider
Access to the information provided by this infoprovider

Specified by:
getAccess in interface JaretInfoProvider
Returns:
one of the JaretAccess constants

getSysInfoEntries

public List<SysInfoEntry> getSysInfoEntries()
Description copied from interface: JaretInfoProvider
return a list of the info entries

Specified by:
getSysInfoEntries in interface JaretInfoProvider
Returns:
List of the information as SysInfoEntries

getSubInfoProviders

public List<JaretInfoProvider> getSubInfoProviders()
Description copied from interface: JaretInfoProvider
List of subinformation providers registered to this info provider

Specified by:
getSubInfoProviders in interface JaretInfoProvider
Returns:
List of the registered infoprovders

addSubInfoProvider

public void addSubInfoProvider(JaretInfoProvider infoProvider)
Description copied from interface: JaretInfoProvider
Add an information provider as a sub information provider

Specified by:
addSubInfoProvider in interface JaretInfoProvider
Parameters:
infoProvider - infoprovider to be added

remSubInfoProvider

public void remSubInfoProvider(JaretInfoProvider infoProvider)
Description copied from interface: JaretInfoProvider
Remove agegsitered sub infoprovider

Specified by:
remSubInfoProvider in interface JaretInfoProvider
Parameters:
infoProvider - infoprovider to be removed


Copyright © 2013. All Rights Reserved.