|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.input.SQLBuilderInputFactory
public class SQLBuilderInputFactory
The class implements a factory which is capable of saving and recreating SQLBuilderStorageEditorInputs stored in a memento.
| Field Summary | |
|---|---|
static java.lang.String |
ID_SQL_BUILDER_STORAGE_EDITOR_INPUT_FACTORY
The Factory ID. |
static java.lang.String |
ID_SQL_BUILDER_STORAGE_EDITOR_INPUT_TYPE
The InputType |
static java.lang.String |
ID_XML_MEMENTO_ROOT_ELEMENT
The root element name used in XMLMemento objects representing
SQLBuilderStorageEditorInput objects. |
static java.lang.String |
KEY_CONN_INFO_CODE
Key used for ConnectionInfo element. |
static java.lang.String |
KEY_EDITOR_INPUT_OPTIONS_CODE
Key used for EditorUsageInputUsageOptions element. |
static java.lang.String |
KEY_EDITOR_INPUT_TYPE
Key used for EditorInputType property. |
static java.lang.String |
KEY_OMIT_SCHEMA_INFO_CODE
Key used for OmitSchemaInfo element. |
static java.lang.String |
KEY_STORAGE_NAME
Key used for StorageName property. |
static java.lang.String |
KEY_STORAGE_SQLCONTENT
Key used for SQLStatement element. |
static java.lang.String |
KEY_STORAGE_VERSION
Key used for Version property. |
| Constructor Summary | |
|---|---|
SQLBuilderInputFactory()
|
|
| Method Summary | |
|---|---|
org.eclipse.core.runtime.IAdaptable |
createElement(org.eclipse.ui.IMemento memento)
Re-creates and returns an object from the state captured within the given memento. |
static void |
saveState(org.eclipse.ui.IMemento memento,
SQLBuilderStorageEditorInput input)
Saves the state of the given storage editor input object in the given memento. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID_SQL_BUILDER_STORAGE_EDITOR_INPUT_FACTORY
public static final java.lang.String ID_SQL_BUILDER_STORAGE_EDITOR_INPUT_TYPE
public static final java.lang.String ID_XML_MEMENTO_ROOT_ELEMENT
XMLMemento objects representing
SQLBuilderStorageEditorInput objects.
public static final java.lang.String KEY_EDITOR_INPUT_TYPE
public static final java.lang.String KEY_STORAGE_NAME
public static final java.lang.String KEY_STORAGE_VERSION
public static final java.lang.String KEY_STORAGE_SQLCONTENT
public static final java.lang.String KEY_CONN_INFO_CODE
public static final java.lang.String KEY_OMIT_SCHEMA_INFO_CODE
public static final java.lang.String KEY_EDITOR_INPUT_OPTIONS_CODE
| Constructor Detail |
|---|
public SQLBuilderInputFactory()
| Method Detail |
|---|
public org.eclipse.core.runtime.IAdaptable createElement(org.eclipse.ui.IMemento memento)
createElement in interface org.eclipse.ui.IElementFactoryIElementFactory.createElement(org.eclipse.ui.IMemento)
public static void saveState(org.eclipse.ui.IMemento memento,
SQLBuilderStorageEditorInput input)
memento - the storage area for object's stateinput - the storage editor input object that needs to be saved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||