Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.db.panels.sql
Interface ExpressionPanel.FragmentProvider

All Known Implementing Classes:
GroupByPanel, OrderByPanel, SelectObjectsPanel
Enclosing class:
ExpressionPanel

public static interface ExpressionPanel.FragmentProvider


Method Summary
 void addToExpression(java.lang.String text)
          Accepts the given text from a template on the panel.
 void commit()
          Commits any edits in progress on the current fragment.
 void edit(SQLFragment frag)
          Edits the given fragment.
 java.lang.String getComponentNamePrefix()
          Returns the prefix to use for all component names.
 java.lang.String getEditorName()
          Returns the name of the editor - used for the titled border.
 javax.swing.JPanel getEditorUI()
          Returns the UI used to edit the SQLFragments.
 java.lang.String getListTitle()
          Returns the name of the List.
 java.lang.String getTemplateTitle()
          Returns the name to use for the templates.
 void moveFragment(SQLFragment frag, int newIndex)
          Moves the fragment within it's section of the query.
 SQLFragment newFragment()
          Requests a new fragment from the provider.
 boolean removeFragment(SQLFragment frag)
          Removes the given fragment from the query.
 

Method Detail

newFragment

SQLFragment newFragment()
Requests a new fragment from the provider.


removeFragment

boolean removeFragment(SQLFragment frag)
Removes the given fragment from the query.


moveFragment

void moveFragment(SQLFragment frag,
                  int newIndex)
Moves the fragment within it's section of the query.


getEditorUI

javax.swing.JPanel getEditorUI()
Returns the UI used to edit the SQLFragments.


commit

void commit()
            throws TraversalException
Commits any edits in progress on the current fragment.

Throws:
TraversalException

edit

void edit(SQLFragment frag)
Edits the given fragment. Loses current edit - commit() must be called first.


addToExpression

void addToExpression(java.lang.String text)
Accepts the given text from a template on the panel.


getEditorName

java.lang.String getEditorName()
Returns the name of the editor - used for the titled border.


getListTitle

java.lang.String getListTitle()
Returns the name of the List.


getTemplateTitle

java.lang.String getTemplateTitle()
Returns the name to use for the templates.


getComponentNamePrefix

java.lang.String getComponentNamePrefix()
Returns the prefix to use for all component names.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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