Package kiyut.sketsa.loaders
Class SVGEditorSupport.SVGDocumentLoader
- java.lang.Object
-
- kiyut.sketsa.loaders.SVGEditorSupport.SVGDocumentLoader
-
- All Implemented Interfaces:
Runnable,org.openide.util.Cancellable
- Enclosing class:
- SVGEditorSupport
public class SVGEditorSupport.SVGDocumentLoader extends Object implements Runnable, org.openide.util.Cancellable
DocumentLoader Helper class
-
-
Constructor Summary
Constructors Constructor Description SVGDocumentLoader()SVGDocumentLoader(boolean revert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()org.w3c.dom.svg.SVGDocumentloadDocument()voidopenEditor(org.w3c.dom.svg.SVGDocument doc)This will invoke openEditorImpl in the event threadvoidrun()
-
-
-
Method Detail
-
cancel
public boolean cancel()
- Specified by:
cancelin interfaceorg.openide.util.Cancellable
-
loadDocument
public org.w3c.dom.svg.SVGDocument loadDocument() throws IOException- Throws:
IOException
-
openEditor
public void openEditor(org.w3c.dom.svg.SVGDocument doc)
This will invoke openEditorImpl in the event thread- Parameters:
doc- SVGDocument
-
-