com.ibm.di.admin.ui
Class AssemblyLineUI.TreeSelMod

java.lang.Object
  extended by javax.swing.tree.DefaultTreeSelectionModel
      extended by com.ibm.di.admin.ui.AssemblyLineUI.TreeSelMod
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel
Enclosing class:
AssemblyLineUI

public class AssemblyLineUI.TreeSelMod
extends DefaultTreeSelectionModel

Override the setSelectionPath to prevent resetting selected items if user clicks on an already selected item. If no control or shift is used in the selection, then the singleClick() method will reset the selected items and set the currently clicked item as selected.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode
 
Fields inherited from interface javax.swing.tree.TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION
 
Constructor Summary
AssemblyLineUI.TreeSelMod()
           
 
Method Summary
 void setSelectionPaths(TreePath[] paths)
           
 
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, toString, updateLeadIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssemblyLineUI.TreeSelMod

public AssemblyLineUI.TreeSelMod()
Method Detail

setSelectionPaths

public void setSelectionPaths(TreePath[] paths)
Specified by:
setSelectionPaths in interface TreeSelectionModel
Overrides:
setSelectionPaths in class DefaultTreeSelectionModel