Class HistoryBrowserInterface.AttributeRemovedCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String attributeName
      The attribute name.
      protected org.w3c.dom.Element contextElement
      The context element.
      protected java.lang.String namespaceURI
      The namespaceURI.
      protected java.lang.String prevValue
      The previous attribute value.
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeRemovedCommand​(java.lang.String commandName, org.w3c.dom.Element contextElement, java.lang.String attributeName, java.lang.String prevAttributeValue, java.lang.String namespaceURI)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Executes this command.
      void redo()
      Performs redo for this command.
      boolean shouldExecute()
      Tests if the command can be executed.
      void undo()
      Performs undo for this command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • contextElement

        protected org.w3c.dom.Element contextElement
        The context element.
      • attributeName

        protected java.lang.String attributeName
        The attribute name.
      • prevValue

        protected java.lang.String prevValue
        The previous attribute value.
      • namespaceURI

        protected java.lang.String namespaceURI
        The namespaceURI.
    • Constructor Detail

      • AttributeRemovedCommand

        public AttributeRemovedCommand​(java.lang.String commandName,
                                       org.w3c.dom.Element contextElement,
                                       java.lang.String attributeName,
                                       java.lang.String prevAttributeValue,
                                       java.lang.String namespaceURI)
        Constructor.
        Parameters:
        commandName - The name of this command.
        contextElement - The context element
        attributeName - The attribute name
        prevAttributeValue - The previous attribute value
        namespaceURI - The namespaceURI