|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.ui.part.FileEditorInput
org.eclipse.datatools.sqltools.sqlbuilder.input.SQLBuilderFileEditorInput
public class SQLBuilderFileEditorInput
This class implements the ISQLEditorInput interface using a
FileEditorInput as the base. In addition, this class contains
fields and methods that are specifically for launching the SQL Builder. This class
is provided as a convenience for callers of the SQL Builder who want to open the
SQL Builder on a file.
| Constructor Summary | |
|---|---|
SQLBuilderFileEditorInput(org.eclipse.core.resources.IFile aFile)
Creates an instance of this class with the given file. |
|
| Method Summary | |
|---|---|
ISQLEditorConnectionInfo |
getConnectionInfo()
Gets the ISQLEditorConnectionInfo associated with this input. |
java.lang.String |
getId()
Returns the unique identifier that distinguishes this editor input |
ISQLBuilderEditorInputUsageOptions |
getInputUsageOptions()
Gets the usage options of the editor input. |
IOmitSchemaInfo |
getOmitSchemaInfo()
Gets the IOmitSchemaInfo associated with this input. |
java.lang.String |
getSQL()
Gets the SQLStatement contained in this input's File |
IWindowStateInfo |
getWindowStateInfo()
Gets the window state information which stores the control states of the SQL Query Builder. |
boolean |
isConnectionRequired()
Returns whether database connection is required for this editor input to exist. |
void |
setConnectionInfo(ISQLEditorConnectionInfo connInfo)
Sets the ISQLEditorConnectionInfo associated with this input to the given
object. |
void |
setInputUsageOptions(ISQLBuilderEditorInputUsageOptions options)
Sets the usage options of the editor input. |
void |
setOmitSchemaInfo(IOmitSchemaInfo omitSchemaInfo)
Sets the OmitSchemaInfo associated with this input to the given
object. |
void |
setWindowStateInfo(IWindowStateInfo windowStateInfo)
Sets the window state information. |
| Methods inherited from class org.eclipse.ui.part.FileEditorInput |
|---|
equals, exists, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, getURI, hashCode, isLocalFile, saveState, toString |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IEditorInput |
|---|
exists, getImageDescriptor, getName, getPersistable, getToolTipText |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public SQLBuilderFileEditorInput(org.eclipse.core.resources.IFile aFile)
aFile - the file to associate with this input| Method Detail |
|---|
public ISQLEditorConnectionInfo getConnectionInfo()
ISQLEditorConnectionInfo associated with this input.
getConnectionInfo in interface ISQLBuilderEditorInputgetConnectionInfo in interface ISQLEditorInputISQLEditorConnectionInfo objectpublic void setConnectionInfo(ISQLEditorConnectionInfo connInfo)
ISQLEditorConnectionInfo associated with this input to the given
object.
setConnectionInfo in interface ISQLBuilderEditorInputsetConnectionInfo in interface ISQLEditorInputconnInfo - the ISQLEditorConnectionInfo object to setpublic void setOmitSchemaInfo(IOmitSchemaInfo omitSchemaInfo)
OmitSchemaInfo associated with this input to the given
object.
setOmitSchemaInfo in interface ISQLBuilderEditorInputomitSchemaInfo - the OmitSchemaInfo object to setpublic IOmitSchemaInfo getOmitSchemaInfo()
IOmitSchemaInfo associated with this input.
getOmitSchemaInfo in interface ISQLBuilderEditorInputIOmitSchemaInfo objectpublic java.lang.String getSQL()
getSQL in interface ISQLBuilderEditorInputpublic boolean isConnectionRequired()
ISQLEditorInput
isConnectionRequired in interface ISQLEditorInputpublic java.lang.String getId()
ISQLEditorInput
getId in interface ISQLEditorInputpublic IWindowStateInfo getWindowStateInfo()
ISQLBuilderEditorInput
getWindowStateInfo in interface ISQLBuilderEditorInputpublic void setWindowStateInfo(IWindowStateInfo windowStateInfo)
ISQLBuilderEditorInput
setWindowStateInfo in interface ISQLBuilderEditorInputpublic ISQLBuilderEditorInputUsageOptions getInputUsageOptions()
ISQLBuilderEditorInput
getInputUsageOptions in interface ISQLBuilderEditorInputpublic void setInputUsageOptions(ISQLBuilderEditorInputUsageOptions options)
ISQLBuilderEditorInput
setInputUsageOptions in interface ISQLBuilderEditorInput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||