|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.texteditor.AbstractDocumentProvider
org.eclipse.ui.editors.text.StorageDocumentProvider
org.eclipse.datatools.sqltools.sqleditor.SQLStorageDocumentProvider
org.eclipse.datatools.sqltools.routineeditor.ui.SQLRoutineDocumentProvider
public class SQLRoutineDocumentProvider
This document provider class is responsible for mapping routine objects and routine editor documents.
| Constructor Summary | |
|---|---|
SQLRoutineDocumentProvider()
|
|
| Method Summary | |
|---|---|
boolean |
isModifiable(java.lang.Object element)
|
boolean |
isReadOnly(java.lang.Object element)
|
void |
refreshFromDatabase(java.lang.Object element,
org.eclipse.datatools.sqltools.core.IControlConnection controlCon,
org.eclipse.datatools.sqltools.core.ProcIdentifier proc)
Refreshs the routine object from database. |
| Methods inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider |
|---|
getContentType, getDefaultEncoding, getEncoding, isNotSynchronizedException, setEncoding |
| Methods inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider |
|---|
aboutToChange, addElementStateListener, canSaveDocument, changed, connect, disconnect, getAnnotationModel, getDocument, getModificationStamp, getProgressMonitor, getStatus, getSynchronizationStamp, isDeleted, isStateValidated, isSynchronized, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.texteditor.IDocumentProvider |
|---|
aboutToChange, addElementStateListener, canSaveDocument, changed, connect, disconnect, getAnnotationModel, getDocument, getModificationStamp, getSynchronizationStamp, isDeleted, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument |
| Methods inherited from interface org.eclipse.ui.texteditor.IDocumentProviderExtension2 |
|---|
getProgressMonitor, setProgressMonitor |
| Methods inherited from interface org.eclipse.ui.texteditor.IDocumentProviderExtension3 |
|---|
isSynchronized |
| Constructor Detail |
|---|
public SQLRoutineDocumentProvider()
| Method Detail |
|---|
public boolean isModifiable(java.lang.Object element)
isModifiable in interface org.eclipse.ui.texteditor.IDocumentProviderExtensionisModifiable in class SQLStorageDocumentProvider
public void refreshFromDatabase(java.lang.Object element,
org.eclipse.datatools.sqltools.core.IControlConnection controlCon,
org.eclipse.datatools.sqltools.core.ProcIdentifier proc)
throws org.eclipse.core.runtime.CoreException,
java.sql.SQLException
IRoutineEditorDocumentProvider
refreshFromDatabase in interface IRoutineEditorDocumentProviderelement - the routine objectcontrolCon - control connection that's used by the routine editorproc - the routine identifier
org.eclipse.core.runtime.CoreException
java.sql.SQLExceptionpublic boolean isReadOnly(java.lang.Object element)
isReadOnly in interface org.eclipse.ui.texteditor.IDocumentProviderExtensionisReadOnly in class org.eclipse.ui.editors.text.StorageDocumentProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||