|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.gui.GroupUI
This class provides an user interface for Groups.
Field Summary | |
protected static java.lang.String |
GROUP_MENU_EXTENSIONS
|
protected GroupListCellRenderer |
listCellRenderer
|
protected static java.lang.String |
OPTION_DELETE_TEXT
|
protected static java.lang.String |
OPTION_DETAILS_TEXT
|
protected static java.lang.String |
OPTION_EXTERNALIZE_ENTITIES_TEXT
|
protected static java.lang.String |
OPTION_EXTERNALIZE_INSTANCES_TEXT
|
protected static java.lang.String |
OPTION_NEW_TEXT
|
protected static java.lang.String |
OPTION_ORDER_INSTANCES_BY_NAME_TEXT
|
protected static java.lang.String |
OPTION_ORDER_INSTANCES_BY_POSITION_TEXT
|
protected static java.lang.String |
OPTION_ORDER_INSTANCES_TEXT
|
protected static java.lang.String |
OPTION_REFRESH_CONTENTS_TEXT
|
protected static java.lang.String |
OPTION_VALIDATE_TEXT
|
protected RepositoryExplorer |
repExplorer
|
protected static java.lang.String |
SECTION
|
protected GroupTreeCellRenderer |
treeCellRenderer
|
protected com.ibm.dse.tools.workbench.wizards.GroupsWizard |
wizard
|
Fields inherited from interface com.ibm.dse.tools.workbench.gui.UIDelegate |
MENU_EXTENSIONS_SECTION |
Fields inherited from interface com.ibm.dse.tools.workbench.gui.CommonParameters |
CHANGE_LISTENER,
CONTAINER_GROUPS,
CURRENT_GROUP,
PARENT_ROW,
REPOSITORY,
ROW_SELECTION_COUNT,
SELECTED_PARENT_ROWS,
SELECTED_ROWS,
WIZARD_PARAM,
WORKSPACE |
Constructor Summary | |
GroupUI()
This constructor creates a GroupUI object. |
Method Summary | |
void |
addChangeListener(DWChangeListener listener)
This method adds a DWChangeListener listener to the listener list. |
protected void |
fireStateChanged(TableRow tableRowChanged)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow[] tableRowsChanged)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow[] tableRowsChanged,
int action)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow tableRowChanged,
int action)
To tell to the listener that a event has occurred. |
GroupUIActionListener |
getActionListener()
This method gets actionListener |
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 |
getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
This method returns the renderer component for a JList. |
protected MenuOption[] |
getMenuOptionsExtension()
This method gets the dynamic menu options for a group |
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. |
java.awt.Component |
getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
This method returns the renderer component for a JTree. |
void |
launchWizard(TableRow row,
java.util.Hashtable parameters)
This method launches the appropiate wizard to edit the group. |
void |
refreshRenderers()
This method update and refresh all the renderers. |
void |
removeChangeListener(DWChangeListener listener)
This method removes a DWChangeListener listener from the listener list. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static final java.lang.String SECTION
protected static final java.lang.String OPTION_NEW_TEXT
protected static final java.lang.String OPTION_DETAILS_TEXT
protected static final java.lang.String OPTION_DELETE_TEXT
protected static final java.lang.String OPTION_VALIDATE_TEXT
protected static final java.lang.String OPTION_EXTERNALIZE_INSTANCES_TEXT
protected static final java.lang.String OPTION_EXTERNALIZE_ENTITIES_TEXT
protected static final java.lang.String OPTION_REFRESH_CONTENTS_TEXT
protected static final java.lang.String OPTION_ORDER_INSTANCES_TEXT
protected static final java.lang.String OPTION_ORDER_INSTANCES_BY_POSITION_TEXT
protected static final java.lang.String OPTION_ORDER_INSTANCES_BY_NAME_TEXT
protected GroupTreeCellRenderer treeCellRenderer
protected GroupListCellRenderer listCellRenderer
protected com.ibm.dse.tools.workbench.wizards.GroupsWizard wizard
protected RepositoryExplorer repExplorer
protected static final java.lang.String GROUP_MENU_EXTENSIONS
Constructor Detail |
public GroupUI()
Method Detail |
public void addChangeListener(DWChangeListener listener)
listener
- com.ibm.dse.tools.workbench.gui.DWChangeListenerprotected void fireStateChanged(TableRow[] tableRowsChanged)
tableRowsChanged
- com.ibm.dse.tools.workbench.base.TableRow[] The table rows that have been changed.protected void fireStateChanged(TableRow[] tableRowsChanged, int action)
tableRowsChanged
- com.ibm.dse.tools.workbench.base.TableRow[] The table rows that have been changed.action
- int. The action to do.protected void fireStateChanged(TableRow tableRowChanged)
tableRowChanged
- com.ibm.dse.tools.workbench.base.TableRow The table row that has changed.protected void fireStateChanged(TableRow tableRowChanged, int action)
tableRowChanged
- com.ibm.dse.tools.workbench.base.TableRow The table row that has changed.action
- int. Action to do.public GroupUIActionListener getActionListener()
public javax.swing.JComponent getEditor(javax.swing.JComponent component)
component
- com.sun.java.swing.JComponentpublic java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
list
- javax.swing.JListvalue
- java.lang.Objectindex
- intisSelected
- booleancellHasFocus
- booleanprotected MenuOption[] getMenuOptionsExtension()
public java.awt.Component[] getOptionList(TableRow row, java.util.Hashtable params)
row
- com.ibm.dse.tools.workbench.base.TableRowparams
- java.util.Hashtablepublic javax.swing.Renderer getRenderer(javax.swing.JComponent component)
component
- com.sun.java.swing.JComponentpublic java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
table
- javax.swing.JTreevalue
- java.lang.ObjectisSelected
- booleanexpanded
- booleanleaf
- booleanrow
- inthasFocus
- booleanpublic void launchWizard(TableRow row, java.util.Hashtable parameters)
row
- com.ibm.dse.tools.workbench.base.TableRowparams
- java.util.Hashtablepublic void refreshRenderers()
public void removeChangeListener(DWChangeListener listener)
com.ibm.dse.tools.workbench.gui.DWChangeListener
- listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |