Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.db.panels.sql
Class QuickPickSourcePicker

java.lang.Object
  extended by oracle.ide.db.controls.AbstractTreePicker
      extended by oracle.ide.db.controls.DBObjectPicker
          extended by oracle.ide.db.controls.DBObjectSourcePicker
              extended by 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.


Field Summary
 
Fields inherited from class oracle.ide.db.controls.DBObjectPicker
EMPTY, m_dbRenderer, m_nodeMaker, m_remove, m_top, m_tree, m_treeModel
 
Fields inherited from interface oracle.bali.ewt.shuttle.ItemPicker
PROPERTY_SELECTION
 
Constructor Summary
QuickPickSourcePicker(DBObjectProvider pro, boolean showChildren, boolean removeOnShuttle)
           
 
Method Summary
 java.awt.datatransfer.Transferable createTransferable(javax.swing.tree.TreePath treePath)
           
protected  SystemObject[] filterAndSort(SystemObject[] objs)
          Called by the picker when querying the database.
protected  java.lang.String getComponentNamePrefix()
           
 void removeSelectedItems()
          Removes the selected nodes from their parents - and removes their parents if they are empty.
 void setSQLQueryOwner(SQLQueryOwner view)
           
 
Methods inherited from class oracle.ide.db.controls.DBObjectSourcePicker
getComponent, getProvider, query, run, setFilter, setProvider, setSchema, setTypes
 
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
 

Constructor Detail

QuickPickSourcePicker

public QuickPickSourcePicker(DBObjectProvider pro,
                             boolean showChildren,
                             boolean removeOnShuttle)
Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.