| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqleditor.SQLEditorStorageEditorInput
org.eclipse.datatools.sqltools.sqlbuilder.input.SQLBuilderStorageEditorInput
public class SQLBuilderStorageEditorInput
This class implements the ISQLBuilderEditorInput interface on a
 IStorageEditorInput 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 an input that isn't a file.
| Field Summary | |
|---|---|
| static java.lang.String | CURRENT_VERSIONCurrent version identifier | 
| Constructor Summary | |
|---|---|
| SQLBuilderStorageEditorInput(org.eclipse.core.resources.IStorage storage)Constructs an instance of this class with the given IStorageobject as the editor input source. | |
| SQLBuilderStorageEditorInput(java.lang.String name,
                             java.lang.String storageSource)Constructs an instance of this class with the given string as the editor input source. | |
| Method Summary | |
|---|---|
|  java.lang.String | getFactoryId()Returns the id of the element factory which should be used to re-create this object. | 
|  ISQLBuilderEditorInputUsageOptions | getInputUsageOptions()Gets the usage options of the editor input. | 
|  IOmitSchemaInfo | getOmitSchemaInfo()Gets the IOmitSchemaInfoassociated with this input. | 
|  java.lang.String | getSQL()Gets the SQLStatementassociated with this input. | 
|  IWindowStateInfo | getWindowStateInfo()Gets the window state information which stores the control states of the SQL Query Builder. | 
|  void | saveState(org.eclipse.ui.IMemento memento)Saves the state of the object in the given memento. | 
|  void | setInputUsageOptions(ISQLBuilderEditorInputUsageOptions options)Sets the usage options of the editor input. | 
|  void | setOmitSchemaInfo(IOmitSchemaInfo omitSchemaInfo)Sets the IOmitSchemaInfoassociated with this input to the given 
 object. | 
|  void | setWindowStateInfo(IWindowStateInfo windowStateInfo)Sets the window state information. | 
| Methods inherited from class org.eclipse.datatools.sqltools.sqleditor.SQLEditorStorageEditorInput | 
|---|
| exists, getAdapter, getConnectionInfo, getId, getImageDescriptor, getName, getPersistable, getStorage, getToolTipText, isConnectionRequired, setConnectionInfo, setName, setStorage | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.eclipse.datatools.sqltools.sqlbuilder.input.ISQLBuilderEditorInput | 
|---|
| getConnectionInfo, setConnectionInfo | 
| Methods inherited from interface org.eclipse.datatools.sqltools.sqleditor.ISQLEditorInput | 
|---|
| getId, isConnectionRequired | 
| Methods inherited from interface org.eclipse.ui.IEditorInput | 
|---|
| exists, getImageDescriptor, getName, getPersistable, getToolTipText | 
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable | 
|---|
| getAdapter | 
| Field Detail | 
|---|
public static final java.lang.String CURRENT_VERSION
| Constructor Detail | 
|---|
public SQLBuilderStorageEditorInput(java.lang.String name,
                                    java.lang.String storageSource)
storageSource - the editor input source string, i.e. the SQL statementpublic SQLBuilderStorageEditorInput(org.eclipse.core.resources.IStorage storage)
IStorage
 object as the editor input source.
storage - the storage object for this editor input| Method Detail | 
|---|
public java.lang.String getSQL()
SQLStatement associated with this input.
getSQL in interface ISQLBuilderEditorInputSQLStatementpublic void setOmitSchemaInfo(IOmitSchemaInfo omitSchemaInfo)
IOmitSchemaInfo associated with this input to the given 
 object.
setOmitSchemaInfo in interface ISQLBuilderEditorInputomitSchemaInfo - the IOmitSchemaInfo object to setpublic IOmitSchemaInfo getOmitSchemaInfo()
IOmitSchemaInfo associated with this input.
getOmitSchemaInfo in interface ISQLBuilderEditorInputIOmitSchemaInfo objectpublic java.lang.String getFactoryId()
getFactoryId in interface org.eclipse.ui.IPersistableElementgetFactoryId in class SQLEditorStorageEditorInputIPersistableElement.getFactoryId()public void saveState(org.eclipse.ui.IMemento memento)
saveState in interface org.eclipse.ui.IPersistablesaveState in class SQLEditorStorageEditorInputmemento - the storage area for object's stateIPersistable.saveState(org.eclipse.ui.IMemento)public 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 | |||||||||