com.bbn.swede.editor.formatting
Class OWLAutoIndentStrategy

java.lang.Object
  extended byDefaultIndentLineAutoEditStrategy
      extended bycom.bbn.swede.editor.formatting.OWLAutoIndentStrategy

public class OWLAutoIndentStrategy
extends DefaultIndentLineAutoEditStrategy

OWLAutoIndentStrategy extends DefaultAutoIndentStrategy to add an indentation level for child tags and to remove an indention level for end tags. This class also handles substitution of spaces for tabs if this setting is enabled in SWeDE editor preferences.

Author:
jlerner, rblace
See Also:
Serialized Form

Constructor Summary
OWLAutoIndentStrategy()
           
 
Method Summary
 void customizeDocumentCommand(IDocument d, DocumentCommand c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLAutoIndentStrategy

public OWLAutoIndentStrategy()
Method Detail

customizeDocumentCommand

public void customizeDocumentCommand(IDocument d,
                                     DocumentCommand c)


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.