com.tensegrity.gui.swt
Class SwtDefaultUIManager

java.lang.Object
  extended bycom.tensegrity.gui.DefaultUIManager
      extended bycom.tensegrity.gui.swt.SwtDefaultUIManager
All Implemented Interfaces:
UIManager

public class SwtDefaultUIManager
extends DefaultUIManager

THIS CLASS HAS BEEN TEMPORARY ADDED HERE IN ORDER TO TEST LANGUAGE SWITCH IN AN SWT CONTEXT AND MIGHT SOON BE REMOVE. TODO SGu (26.03.2004): REVIEW UIManager interface and change this class accordingly

Version:
$Id: SwtDefaultUIManager.java,v 1.7 2005/10/05 10:59:05 BurkhardWick Exp $
Author:
S�bastien Guyon

Field Summary
 
Fields inherited from class com.tensegrity.gui.DefaultUIManager
itemList
 
Constructor Summary
SwtDefaultUIManager()
           This is the default constructor, simply forwarding it's call to the default constructor of DefaultUIManager.
 
Method Summary
 void applyItem(java.lang.String guiObjID, java.lang.Object guiObj)
          Sets the new values for the Widget guiObj.
 void applyItem(UIItemList guiItems, java.lang.String guiObjID, org.eclipse.swt.widgets.Widget guiObj)
          Forwards its call to #applyItem(Widget, UIItem, String).
 
Methods inherited from class com.tensegrity.gui.DefaultUIManager
apply, apply, apply, applyItem, containsKey, createIcon, createLocalizedIcon, getItem, getItemList, getKeyStroke, getText, getText, getTextWithoutMnemonicCharacter, setLocale, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtDefaultUIManager

public SwtDefaultUIManager()

This is the default constructor, simply forwarding it's call to the default constructor of DefaultUIManager.

Method Detail

applyItem

public void applyItem(java.lang.String guiObjID,
                      java.lang.Object guiObj)
Sets the new values for the Widget guiObj.

Specified by:
applyItem in interface UIManager
Overrides:
applyItem in class DefaultUIManager
Parameters:
guiObjID - the id to be used for the component.
guiObj - a Widget to apply the values to.
See Also:
applyItem(UIItemList, String, Widget)

applyItem

public void applyItem(UIItemList guiItems,
                      java.lang.String guiObjID,
                      org.eclipse.swt.widgets.Widget guiObj)
Forwards its call to #applyItem(Widget, UIItem, String).

Parameters:
guiItems - the list of UIItems
guiObjID - the id to be used for guiObj
guiObj - a Widget to apply the values to


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.