oracle.ide.db.panels.sql
Class QuickPickSourcePicker
java.lang.Object
oracle.ide.db.controls.AbstractTreePicker
oracle.ide.db.controls.DBObjectPicker
oracle.ide.db.controls.DBObjectSourcePicker
oracle.ide.db.panels.sql.QuickPickSourcePicker
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.event.MouseListener, java.lang.Runnable, java.util.EventListener, javax.swing.event.TreeSelectionListener, oracle.bali.ewt.shuttle.ItemPicker
public class QuickPickSourcePicker
- extends DBObjectSourcePicker
Specific picker for the quick-pick panel that handles expanding relations
when they're shuttled and tooltipping relations and fks.
Fields inherited from interface oracle.bali.ewt.shuttle.ItemPicker |
PROPERTY_SELECTION |
Methods inherited from class oracle.ide.db.controls.DBObjectPicker |
addDBObjectPaths, addDBObjects, addNode, addSelectedItems, canAcceptFlavors, clear, findOrAddChild, getAllSelectableItems, getNodeMaker, getSelectionDataFlavors, isSelectableItemPresent, reloadTree, removeAllSelectableItems, setSelectedItems, valueChanged |
Methods inherited from class oracle.ide.db.controls.AbstractTreePicker |
actionPerformed, addActionListener, addPropertyChangeListener, deselectAll, focusGained, focusLost, getScrollPane, getSelectedItems, getTree, handleDefaultAction, isItemSelected, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, removeActionListener, removePropertyChangeListener, setTree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickPickSourcePicker
public QuickPickSourcePicker(DBObjectProvider pro,
boolean showChildren,
boolean removeOnShuttle)
getComponentNamePrefix
protected java.lang.String getComponentNamePrefix()
- Overrides:
getComponentNamePrefix
in class DBObjectSourcePicker
removeSelectedItems
public void removeSelectedItems()
- Description copied from class:
DBObjectPicker
- Removes the selected nodes from their parents - and removes their parents
if they are empty.
- Specified by:
removeSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
- Overrides:
removeSelectedItems
in class DBObjectPicker
setSQLQueryOwner
public void setSQLQueryOwner(SQLQueryOwner view)
filterAndSort
protected SystemObject[] filterAndSort(SystemObject[] objs)
- Description copied from class:
DBObjectSourcePicker
- Called by the picker when querying the database. This method is
respsonsible for sorting the list of objects that appear in the picker, as
well as omitting any objects that are unwanted.
- Overrides:
filterAndSort
in class DBObjectSourcePicker
- Parameters:
objs
- the SystemObjects queried from the database.
- Returns:
- the list of objects (in order) to appear in the picker.
createTransferable
public java.awt.datatransfer.Transferable createTransferable(javax.swing.tree.TreePath treePath)
- Overrides:
createTransferable
in class DBObjectPicker
Copyright © 1997, 2010, Oracle. All rights reserved.