org.eclipse.datatools.sqltools.sqleditor.internal.indent
Class SQLCommentAutoIndentStrategy
java.lang.Object
   org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy
org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy
       org.eclipse.datatools.sqltools.sqleditor.internal.indent.SQLCommentAutoIndentStrategy
org.eclipse.datatools.sqltools.sqleditor.internal.indent.SQLCommentAutoIndentStrategy
- All Implemented Interfaces: 
- org.eclipse.jface.text.IAutoEditStrategy
- public class SQLCommentAutoIndentStrategy 
- extends org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy
Auto indent strategy for SQL multi-line comments
- Author:
- Li Huang
| Constructor Summary | 
| SQLCommentAutoIndentStrategy(java.lang.String partitioning)Creates a new SQL multi-line comment auto indent strategy for the given document partitioning.
 | 
 
| Method Summary | 
|  void | customizeDocumentCommand(org.eclipse.jface.text.IDocument document,
                         org.eclipse.jface.text.DocumentCommand command)
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SQLCommentAutoIndentStrategy
public SQLCommentAutoIndentStrategy(java.lang.String partitioning)
- Creates a new SQL multi-line comment auto indent strategy for the given document partitioning.
 
- Parameters:
- partitioning- the document partitioning
 
customizeDocumentCommand
public void customizeDocumentCommand(org.eclipse.jface.text.IDocument document,
                                     org.eclipse.jface.text.DocumentCommand command)
- 
- Specified by:
- customizeDocumentCommandin interface- org.eclipse.jface.text.IAutoEditStrategy
- Overrides:
- customizeDocumentCommandin class- org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy
 
-