1 19 20 package org.netbeans.modules.editor.fold; 21 22 import javax.swing.event.DocumentEvent ; 23 import org.netbeans.api.editor.fold.Fold; 24 import org.netbeans.api.editor.fold.FoldType; 25 import org.netbeans.spi.editor.fold.FoldHierarchyTransaction; 26 import org.netbeans.spi.editor.fold.FoldManager; 27 import org.netbeans.spi.editor.fold.FoldOperation; 28 29 35 36 public abstract class AbstractFoldManager implements FoldManager { 37 38 public static final FoldType REGULAR_FOLD_TYPE = new FoldType("regular"); 40 private FoldOperation operation; 41 42 protected FoldOperation getOperation() { 43 return operation; 44 } 45 46 public void init(FoldOperation operation) { 47 this.operation = operation; 48 } 49 50 public void initFolds(FoldHierarchyTransaction transaction) { 51 } 52 53 public void insertUpdate(DocumentEvent evt, FoldHierarchyTransaction transaction) { 54 } 55 56 public void removeUpdate(DocumentEvent evt, FoldHierarchyTransaction transaction) { 57 } 58 59 public void changedUpdate(DocumentEvent evt, FoldHierarchyTransaction transaction) { 60 } 61 62 public void removeEmptyNotify(Fold epmtyFold) { 63 } 64 65 public void removeDamagedNotify(Fold damagedFold) { 66 } 67 68 public void expandNotify(Fold expandedFold) { 69 } 70 71 public void release() { 72 } 73 74 } 75 | Popular Tags |