1 18 19 package de.gulden.framework.amoda.generic.document; 20 21 import de.gulden.framework.amoda.model.document.*; 22 import de.gulden.framework.amoda.model.document.Document; 23 import de.gulden.framework.amoda.model.document.DocumentView; 24 import java.awt.*; 25 import java.lang.*; 26 import java.util.*; 27 import javax.swing.*; 28 import org.w3c.dom.*; 29 30 36 public abstract class GenericSingleViewDocumentAbstract extends GenericDocumentAbstract implements Cloneable , DocumentView { 37 38 42 public DocumentView createDefaultView() { 43 return this; 44 } 45 46 public Document getDocument() { 47 return this; 48 } 49 50 public DocumentPart getActiveDocumentPart() { 51 return this; 52 } 53 54 public DocumentSelection getSelection() { 55 return null; 57 } 58 59 public JComponent createGUIEditor() { 60 return null; 62 } 63 64 public Object clone() { 65 try { 66 return super.clone(); 67 } catch (CloneNotSupportedException cnse) { 68 return null; 69 } 70 } 71 72 public Component getGUIPrintView(JComponent editor) { 73 return null; 75 } 76 77 public Component getGUIExportView(JComponent editor) { 78 return null; 80 } 81 82 } | Popular Tags |