|
||||||||||
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 inputMethod Detail |
---|
public ISQLEditorConnectionInfo getConnectionInfo()
ISQLEditorConnectionInfo
associated with this input.
getConnectionInfo
in interface ISQLBuilderEditorInput
getConnectionInfo
in interface ISQLEditorInput
ISQLEditorConnectionInfo
objectpublic void setConnectionInfo(ISQLEditorConnectionInfo connInfo)
ISQLEditorConnectionInfo
associated with this input to the given
object.
setConnectionInfo
in interface ISQLBuilderEditorInput
setConnectionInfo
in interface ISQLEditorInput
connInfo
- the ISQLEditorConnectionInfo
object to setpublic void setOmitSchemaInfo(IOmitSchemaInfo omitSchemaInfo)
OmitSchemaInfo
associated with this input to the given
object.
setOmitSchemaInfo
in interface ISQLBuilderEditorInput
omitSchemaInfo
- the OmitSchemaInfo
object to setpublic IOmitSchemaInfo getOmitSchemaInfo()
IOmitSchemaInfo
associated with this input.
getOmitSchemaInfo
in interface ISQLBuilderEditorInput
IOmitSchemaInfo
objectpublic java.lang.String getSQL()
getSQL
in interface ISQLBuilderEditorInput
public boolean isConnectionRequired()
ISQLEditorInput
isConnectionRequired
in interface ISQLEditorInput
public java.lang.String getId()
ISQLEditorInput
getId
in interface ISQLEditorInput
public IWindowStateInfo getWindowStateInfo()
ISQLBuilderEditorInput
getWindowStateInfo
in interface ISQLBuilderEditorInput
public void setWindowStateInfo(IWindowStateInfo windowStateInfo)
ISQLBuilderEditorInput
setWindowStateInfo
in interface ISQLBuilderEditorInput
public ISQLBuilderEditorInputUsageOptions getInputUsageOptions()
ISQLBuilderEditorInput
getInputUsageOptions
in interface ISQLBuilderEditorInput
public 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 |