| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.util.SQLBuilderEditorInputUtil
public class SQLBuilderEditorInputUtil
This class provides static methods for SQLBuilder EditorInputs.
| Constructor Summary | |
|---|---|
| SQLBuilderEditorInputUtil() | |
| Method Summary | |
|---|---|
| static SQLBuilderEditorInput | createSQLBuilderEditorInput(org.eclipse.core.resources.IFile file)Creates a SQLBuilderEditorInput from a file. | 
| static SQLBuilderStorageEditorInput | createSQLBuilderStorageEditorInput(org.eclipse.core.resources.IFile file)Creates a SQLBuilderStorageEditorInput from a file. | 
| static SQLBuilderStorageEditorInput | createSQLBuilderStorageEditorInput(org.eclipse.ui.IMemento memento)Create a new SQLBuilderStorageEditorInput from the specified memento. | 
| static SQLBuilderStorageEditorInput | createSQLBuilderStorageEditorInput(java.lang.String s)Creates a SQLBuilderStorageEditorInput from a string. | 
| static org.eclipse.ui.IMemento | readMementoFromString(java.lang.String s)Utility function to create a new IMemento from a a string. | 
| static org.eclipse.ui.XMLMemento | saveSQLBuilderStorageEditorInput(SQLBuilderStorageEditorInput storageEditorInput)Save a SQLBuilderStorageEditorInput to an XMLMemento | 
| static java.lang.String | writeXMLMementoToString(org.eclipse.ui.XMLMemento memento)Utility function to write an XMLMemento to a string | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLBuilderEditorInputUtil()
| Method Detail | 
|---|
public static SQLBuilderStorageEditorInput createSQLBuilderStorageEditorInput(java.lang.String s)
s - 
SQLBuilderFileEditorInput created from the input string.public static SQLBuilderStorageEditorInput createSQLBuilderStorageEditorInput(org.eclipse.ui.IMemento memento)
memento - 
SQLBuilderFileEditorInput created from the mementopublic static SQLBuilderStorageEditorInput createSQLBuilderStorageEditorInput(org.eclipse.core.resources.IFile file)
file - 
SQLBuilderStorageEditorInput created from the input file.public static SQLBuilderEditorInput createSQLBuilderEditorInput(org.eclipse.core.resources.IFile file)
file - 
SQLBuilderEditorInput created from the input file.public static org.eclipse.ui.XMLMemento saveSQLBuilderStorageEditorInput(SQLBuilderStorageEditorInput storageEditorInput)
storageEditorInput - 
XMLMemento to which the input is saved.public static java.lang.String writeXMLMementoToString(org.eclipse.ui.XMLMemento memento)
public static org.eclipse.ui.IMemento readMementoFromString(java.lang.String s)
s - a serialized XMLMemento
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||