SQL Editor Document Provider

com.sybase.stf.dmp.editor.documentprovider

0.7.0

This extension point allows a document provider to be contributed for SQL Routine editor. Extensions register a org.eclipse.datatools.sqltools.routineeditor.IRoutineEditorDocumentProvider class which will provide additional functions beyond the original document provider. Note: this extension point is intended to be used by DTP SQL debugger only for now.

<!ELEMENT extension (provider)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

This extension point should be used by debugger only.



<!ELEMENT provider EMPTY>

<!ATTLIST provider

id    CDATA #IMPLIED

class CDATA #REQUIRED>


<extension point=

"org.eclipse.datatools.sqltools.routineeditor.documentprovider"

>

<provider class=

"org.eclipse.datatools.sqltools.debugger.editorextension.SQLDebuggerDocumentProvider"

/>

</extension>

SQLDebuggerDocumentProvider will be used by SQLEditorDocumentProvider to manage breakpoint positions.

The class attribute must be a fully qualified name of the Java class implementing org.eclipse.datatools.sqltools.routineeditor.IRoutineEditorDocumentProvider. public interface IRoutineEditorDocumentProvider extends IDocumentProvider, IDocumentProviderExtension2, IDocumentProviderExtension3 { /** * Refreshs the routine object from database. * @param element the routine object * @param controlCon control connection that's used by the routine editor * @param proc the routine identifier */ public void refreshFromDatabase(Object element, IControlConnection controlCon, ProcIdentifier proc) throws CoreException, SQLException; }

[Enter information about supplied implementation of this extension point.]