Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.propertypages
Class SystemTypeFieldEditor

java.lang.Object
  extended byFieldEditor
      extended bycom.ibm.etools.systems.core.ui.propertypages.SystemTypeFieldEditor

public class SystemTypeFieldEditor
extends FieldEditor

This is a field type editor for the Remote Systems preference page, used for setting system type preferences.

See Also:
Serialized Form

Field Summary
static char EACHVALUE_DELIMITER
           
 
Constructor Summary
SystemTypeFieldEditor(String name, String labelText, Composite parent)
          Constructor
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
protected  void adjustForNumColumns(int numColumns)
           
 boolean canModify(Object element, String property)
           
static String createString(Hashtable keyValues)
          Convert hashtable of key-value pairs into a single string
protected  void doFillIntoGrid(Composite parent, int numColumns)
           
protected  void doLoad()
           
protected  void doLoadDefault()
           
protected  void doStore()
           
 Image getColumnImage(Object element, int columnIndex)
           
 String getColumnText(Object element, int columnIndex)
           
 Object[] getElements(Object inputElement)
           
 int getNumberOfControls()
           
 Object getValue(Object element, String property)
           
static Hashtable initSystemTypePreferences(IPreferenceStore store, SystemType[] systemTypes)
           
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
           
 boolean isLabelProperty(Object element, String property)
           
 boolean isValid()
           
 void modify(Object element, String property, Object value)
           
 void removeListener(ILabelProviderListener listener)
           
 void setEnabled(boolean enabled, Composite parent)
           
 void setToolTipText(String tip)
          Set the tooltip text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EACHVALUE_DELIMITER

public static final char EACHVALUE_DELIMITER
See Also:
Constant Field Values
Constructor Detail

SystemTypeFieldEditor

public SystemTypeFieldEditor(String name,
                             String labelText,
                             Composite parent)
Constructor

Parameters:
name -
labelText -
parent -
Method Detail

adjustForNumColumns

protected void adjustForNumColumns(int numColumns)

doFillIntoGrid

protected void doFillIntoGrid(Composite parent,
                              int numColumns)

doLoad

protected void doLoad()

doLoadDefault

protected void doLoadDefault()

doStore

protected void doStore()

getNumberOfControls

public int getNumberOfControls()

setEnabled

public void setEnabled(boolean enabled,
                       Composite parent)

isValid

public boolean isValid()

createString

public static String createString(Hashtable keyValues)
Convert hashtable of key-value pairs into a single string


canModify

public boolean canModify(Object element,
                         String property)

getValue

public Object getValue(Object element,
                       String property)

modify

public void modify(Object element,
                   String property,
                   Object value)

getColumnImage

public Image getColumnImage(Object element,
                            int columnIndex)

getColumnText

public String getColumnText(Object element,
                            int columnIndex)

addListener

public void addListener(ILabelProviderListener listener)

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)

removeListener

public void removeListener(ILabelProviderListener listener)

getElements

public Object[] getElements(Object inputElement)

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)

setToolTipText

public void setToolTipText(String tip)
Set the tooltip text


initSystemTypePreferences

public static Hashtable initSystemTypePreferences(IPreferenceStore store,
                                                  SystemType[] systemTypes)

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.