|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.sqleditor.internal.sql.SQLDBProposalsService
public class SQLDBProposalsService
Provides database identifier proposal services for the editor, to support
code completion. These are services to construct and return a list of
proposals of database objects (tables, columns) based on a given database
connection.
This class implements the ISQLDBProposalsService
interface.
Constructor Summary | |
---|---|
SQLDBProposalsService(ISQLEditorConnectionInfo connInfo)
Constructs an instance of this class with the given ISQLEditorConnectionInfo object. |
Method Summary | |
---|---|
ISQLEditorConnectionInfo |
getConnectionInfo()
Gets the ISQLEditorConnectionInfo used to provide content
assist. |
java.util.List |
getDBProposals()
Gets the list of SQLDBProposal objects for the content
assist proposals. |
SQLDBProposalsRequest |
getSQLDBProposalRequest()
Gets the content assist request for database meta objects. |
ISQLEditorConnectionInfo |
getSQLEditorConnectionInfo()
Gets the ISQLEditorConnectionInfo used to provide content assist. |
boolean |
populate(SQLDBProposalsRequest request)
Populates the list database of database object proposals (schemas, tables, columns) using given list of tokens (DB identifiers) indicating the start of the expression for which the user wants DB proposals. |
void |
setSQLEditorConnectionInfo(ISQLEditorConnectionInfo connectionInfo)
Sets the ISQLEditorConnectionInfo used to provide content assist. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLDBProposalsService(ISQLEditorConnectionInfo connInfo)
ISQLEditorConnectionInfo
object.
connInfo
- the ISQLEditorConnectionInfo
object to useMethod Detail |
---|
public ISQLEditorConnectionInfo getConnectionInfo()
ISQLEditorConnectionInfo
used to provide content
assist. Implements ISQLDBProposalsService
interface.
ISQLEditorConnectionInfo
objectISQLDBProposalsService#getConnectionInfo()
public java.util.List getDBProposals()
SQLDBProposal
objects for the content
assist proposals. Implements ISQLDBProposalsService
interface.
getDBProposals
in interface ISQLDBProposalsService
ISQLDBProposalsService.getDBProposals()
public SQLDBProposalsRequest getSQLDBProposalRequest()
public boolean populate(SQLDBProposalsRequest request)
ISQLDBProposalsService
interface.
populate
in interface ISQLDBProposalsService
tokenList
- list of strings indicating the start of the expression for
which the user wants DB proposals
ISQLDBProposalsService#populate()
public ISQLEditorConnectionInfo getSQLEditorConnectionInfo()
ISQLDBProposalsService
ISQLEditorConnectionInfo
used to provide content assist.
getSQLEditorConnectionInfo
in interface ISQLDBProposalsService
ISQLEditorConnectionInfo
objectpublic void setSQLEditorConnectionInfo(ISQLEditorConnectionInfo connectionInfo)
ISQLDBProposalsService
ISQLEditorConnectionInfo
used to provide content assist.
setSQLEditorConnectionInfo
in interface ISQLDBProposalsService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |