protected class DicomCleaner.OurSourceDatabaseTreeBrowser extends DatabaseTreeBrowser
Constructor and Description |
---|
OurSourceDatabaseTreeBrowser(DatabaseInformationModel d,
java.awt.Container content) |
Modifier and Type | Method and Description |
---|---|
protected void |
doSomethingWithSelectedFiles(java.util.Vector paths)
Will be called when a selection is made or changed and
doSomethingWithSelections() returns false and not otherwise. |
protected boolean |
doSomethingWithSelections(DatabaseTreeRecord[] selections)
Will be called when a selection is made or changed.
|
buildMouseListenerToDetectDoubleClickEvents, buildTreeSelectionListenerToDisplayAttributesOfSelectedRecord, buildTreeSelectionListenerToDoSomethingWithSelectedFiles, doSomethingMoreWithWhateverWasSelected, getSelectionPaths, recurseThroughChildrenGatheringFileNames
public OurSourceDatabaseTreeBrowser(DatabaseInformationModel d, java.awt.Container content) throws DicomException
DicomException
protected void doSomethingWithSelectedFiles(java.util.Vector paths)
DatabaseTreeBrowser
Will be called when a selection is made or changed and doSomethingWithSelections()
returns false and not otherwise.
Note that during multi-selection, or deselection, this may be called multiple times, so use this method to update cache of what is selected rather than initiating action on the selections, which should be done by some other means.
doSomethingWithSelectedFiles
in class DatabaseTreeBrowser
protected boolean doSomethingWithSelections(DatabaseTreeRecord[] selections)
DatabaseTreeBrowser
Will be called when a selection is made or changed.
Note that during multi-selection, or deselection, this may be called multiple times, so use this method to update cache of what is selected rather than initiating action on the selections, which should be done by some other means.
doSomethingWithSelections
in class DatabaseTreeBrowser
selections
- return true if did something and hence should do no more