| 
 | ||||||||||
| 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.routineeditor.ui.ProcEditorInput
public class ProcEditorInput
The editor input object for routine editor.
| Constructor Summary | |
|---|---|
| ProcEditorInput(org.eclipse.datatools.sqltools.core.ProcIdentifier procid) | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object obj) | 
|  boolean | exists()Gets whether the editor input exists. | 
|  java.lang.Object | getAdapter(java.lang.Class adapter)Gets an object which is an instance of the given class associated with this object. | 
|  java.lang.String | getId()Returns the unique identifier that distinguishes this editor input | 
|  org.eclipse.jface.resource.ImageDescriptor | getImageDescriptor()Gets the image descriptor for this input. | 
|  java.lang.String | getName()Gets the name of this editor input for display purposes. | 
|  org.eclipse.ui.IPersistableElement | getPersistable()Gets an object that can be used to save the state of this editor input. | 
|  org.eclipse.datatools.sqltools.core.ProcIdentifier | getProcIdentifier() | 
|  java.lang.String | getSourceCode()Convenience method for ((SQLEditorStorage)getStorage()).getContentsString() | 
|  java.lang.String | getToolTipText()Gets the tool tip text for this editor input. | 
|  boolean | isConnectionRequired()Returns whether database connection is required for this editor input to exist. | 
|  boolean | isEditable()Judges whether this IEditorInput is editable | 
|  void | setEditable(boolean isEditable)Set isEditable status | 
|  void | setSourceCode(java.lang.String code)Convenience method for setStorage(new SQLEditorStorage(_procIdentifier.getDisplayString(), code)) | 
| Methods inherited from class org.eclipse.datatools.sqltools.sqleditor.SQLEditorStorageEditorInput | 
|---|
| getConnectionInfo, getFactoryId, getStorage, saveState, setConnectionInfo, setName, setStorage | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProcEditorInput(org.eclipse.datatools.sqltools.core.ProcIdentifier procid)
| Method Detail | 
|---|
public org.eclipse.datatools.sqltools.core.ProcIdentifier getProcIdentifier()
public boolean isEditable()
public void setEditable(boolean isEditable)
isEditable - public boolean exists()
SQLEditorStorageEditorInput
exists in interface org.eclipse.ui.IEditorInputexists in class SQLEditorStorageEditorInputIEditorInput.exists()public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
SQLEditorStorageEditorInput
getImageDescriptor in interface org.eclipse.ui.IEditorInputgetImageDescriptor in class SQLEditorStorageEditorInputIEditorInput.getImageDescriptor()public java.lang.String getName()
SQLEditorStorageEditorInput
getName in interface org.eclipse.ui.IEditorInputgetName in class SQLEditorStorageEditorInputIEditorInput.getName()public org.eclipse.ui.IPersistableElement getPersistable()
SQLEditorStorageEditorInput
getPersistable in interface org.eclipse.ui.IEditorInputgetPersistable in class SQLEditorStorageEditorInputIEditorInput.getPersistable()public java.lang.String getToolTipText()
SQLEditorStorageEditorInput
getToolTipText in interface org.eclipse.ui.IEditorInputgetToolTipText in class SQLEditorStorageEditorInputIEditorInput.getToolTipText()public java.lang.Object getAdapter(java.lang.Class adapter)
SQLEditorStorageEditorInputnull if no such object can be found.
 This default implementation returns null.
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class SQLEditorStorageEditorInputIAdaptable.getAdapter(java.lang.Class)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getSourceCode()
public void setSourceCode(java.lang.String code)
code - public boolean isConnectionRequired()
ISQLEditorInput
isConnectionRequired in interface ISQLEditorInputisConnectionRequired in class SQLEditorStorageEditorInputpublic java.lang.String getId()
ISQLEditorInput
getId in interface ISQLEditorInputgetId in class SQLEditorStorageEditorInput| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||