com.ibm.dse.tools.workbench.gui
Interface UIDelegate

All Known Implementing Classes:
AttributeUI, EntityUI, DomainUI, PropertyUI, UserUI, EntityEntityUI, InstanceUI, GroupUI

public interface UIDelegate
extends DWChangeNotifier

The interface that must implement any element that needs to be showed to the user, or give to the user an editor or a wizard to modify it.


Field Summary
static java.lang.String MENU_EXTENSIONS_SECTION
           
 
Method Summary
 javax.swing.JComponent getEditor(javax.swing.JComponent component)
          This method returns the editor component for the class and for a type of component.
 java.awt.Component[] getOptionList(TableRow row, java.util.Hashtable params)
          This method returns the specific options for a class.
 javax.swing.Renderer getRenderer(javax.swing.JComponent component)
          This method returns the renderer component for this element and for a type of component.
 void launchWizard(TableRow tableRow, java.util.Hashtable params)
          This method launches the appropiate wizard to edit the instance.
 void refreshRenderers()
          This method refresh the delegate renderers to compute new data or dimension.
 
Methods inherited from interface com.ibm.dse.tools.workbench.gui.DWChangeNotifier
addChangeListener, removeChangeListener
 

Field Detail

MENU_EXTENSIONS_SECTION

public static final java.lang.String MENU_EXTENSIONS_SECTION
Method Detail

getEditor

public javax.swing.JComponent getEditor(javax.swing.JComponent component)
This method returns the editor component for the class and for a type of component.
Parameters:
component - com.sun.java.swing.JComponent
Returns:
com.sun.java.swing.JComponent

getOptionList

public java.awt.Component[] getOptionList(TableRow row,
                                          java.util.Hashtable params)
This method returns the specific options for a class. The menu items will be displayed on a menu.
Parameters:
row - com.ibm.dse.tools.workbench.base.TableRow
params - java.util.Hashtable
Returns:
java.awt.Component[]

getRenderer

public javax.swing.Renderer getRenderer(javax.swing.JComponent component)
This method returns the renderer component for this element and for a type of component.
Parameters:
component - com.sun.java.swing.JComponent
Returns:
javax.swing.Renderer

launchWizard

public void launchWizard(TableRow tableRow,
                         java.util.Hashtable params)
This method launches the appropiate wizard to edit the instance.
Parameters:
tableRow - com.ibm.dse.tools.workbench.base.TableRow
params - java.util.Hashtable

refreshRenderers

public void refreshRenderers()
This method refresh the delegate renderers to compute new data or dimension.