com.japisoft.xmlpad.helper.handler.system
Class ClosingTagHandler

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.handler.AbstractHelperHandler
      extended bycom.japisoft.xmlpad.helper.handler.system.AbstractSystemHandler
          extended bycom.japisoft.xmlpad.helper.handler.system.ClosingTagHandler

public class ClosingTagHandler
extends com.japisoft.xmlpad.helper.handler.system.AbstractSystemHandler

Assistant when closing a tag, it will open the previous opening tag


Field Summary
 
Fields inherited from class com.japisoft.xmlpad.helper.handler.AbstractHelperHandler
descriptors
 
Constructor Summary
ClosingTagHandler()
           
 
Method Summary
protected  java.lang.String getActivatorSequence()
           
 java.lang.String getTitle()
           
 boolean haveDescriptors(SimpleNode currentNode, XMLDocument document, boolean insertBefore, int offset, java.lang.String activatorString)
           
protected  void installDescriptors(XMLDocument document, int offset, java.lang.String addedString)
           
 
Methods inherited from class com.japisoft.xmlpad.helper.handler.AbstractHelperHandler
addDescriptor, dispose, flushDescriptors, getDefaultIcon, getName, getPriority, getType, hasDelegateForInsertingResult, insertResult, isEnabled, match, mustBeJobSynchronized, removeDescriptor, resolveContentAssistant, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosingTagHandler

public ClosingTagHandler()
Method Detail

installDescriptors

protected void installDescriptors(XMLDocument document,
                                  int offset,
                                  java.lang.String addedString)
Overrides:
installDescriptors in class AbstractHelperHandler

getActivatorSequence

protected java.lang.String getActivatorSequence()
Specified by:
getActivatorSequence in class AbstractHelperHandler

haveDescriptors

public boolean haveDescriptors(SimpleNode currentNode,
                               XMLDocument document,
                               boolean insertBefore,
                               int offset,
                               java.lang.String activatorString)
Specified by:
haveDescriptors in class AbstractHelperHandler

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class AbstractHelperHandler


Copyright © 2006 JAPISoft. All Rights Reserved.