|
||||||||||
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.SQLCompletionProposalFactory
public final class SQLCompletionProposalFactory
Constructor Summary | |
---|---|
SQLCompletionProposalFactory()
Constructs an instance of this class. |
Method Summary | |
---|---|
java.lang.String[] |
getContextInformation()
Gets context information as an array of strings. |
java.util.List |
getDBObjectProposals(SQLDBProposalsRequest request)
Gets a list of DBProposal objects. |
ISQLDBProposalsService |
getDBProposalsService()
Get the DBProposalsService to use. |
java.lang.String[] |
getStatementProposals()
Gets proposals based on SQL statement type. |
void |
setFactoryDBContext(ISQLDBProposalsService dbProposalsService)
Sets the DBProposalsService to use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLCompletionProposalFactory()
Method Detail |
---|
public java.lang.String[] getStatementProposals()
public java.lang.String[] getContextInformation()
public java.util.List getDBObjectProposals(SQLDBProposalsRequest request)
DBProposal
objects.
tokenList
- list of tokens entered by user to invoke the content assist. For example if user
entered schema1.table1 then the ArrayList consists of 2 tokens schema1, and table1.
DBProposal
objectspublic void setFactoryDBContext(ISQLDBProposalsService dbProposalsService)
DBProposalsService
to use.
dbProposalsService
- the DBProposalsService
to usepublic ISQLDBProposalsService getDBProposalsService()
DBProposalsService
to use.
DBProposalsService
to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |