Class StoreXmlDocumentOperation

  • All Implemented Interfaces:
    org.eclipse.jface.operation.IRunnableWithProgress, org.eclipse.jface.operation.IThreadListener

    public class StoreXmlDocumentOperation
    extends org.eclipse.ui.actions.WorkspaceModifyOperation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.jdom.Document doc  
      protected org.eclipse.core.resources.IFile file  
    • Constructor Summary

      Constructors 
      Constructor Description
      StoreXmlDocumentOperation​(org.jdom.Document doc, org.eclipse.core.resources.IFile file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute​(org.eclipse.core.runtime.IProgressMonitor monitor)  
      • Methods inherited from class org.eclipse.ui.actions.WorkspaceModifyOperation

        getRule, run, threadChange
      • Methods inherited from class java.lang.Object

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

      • doc

        protected org.jdom.Document doc
      • file

        protected org.eclipse.core.resources.IFile file
    • Constructor Detail

      • StoreXmlDocumentOperation

        public StoreXmlDocumentOperation​(org.jdom.Document doc,
                                         org.eclipse.core.resources.IFile file)
    • Method Detail

      • execute

        protected void execute​(org.eclipse.core.runtime.IProgressMonitor monitor)
                        throws org.eclipse.core.runtime.CoreException,
                               java.lang.reflect.InvocationTargetException,
                               java.lang.InterruptedException
        Specified by:
        execute in class org.eclipse.ui.actions.WorkspaceModifyOperation
        Throws:
        org.eclipse.core.runtime.CoreException
        java.lang.reflect.InvocationTargetException
        java.lang.InterruptedException