1 19 20 package org.openide.modules; 21 22 import org.openide.util.SharedClassObject; 23 24 46 public class ModuleInstall extends SharedClassObject { 47 private static final long serialVersionUID = -5615399519545301432L; 48 49 64 public void validate() throws IllegalStateException { 65 } 66 67 80 public void installed() { 81 restored(); 82 } 83 84 100 public void restored() { 101 } 102 103 117 public void updated(int release, String specVersion) { 118 restored(); 119 } 120 121 125 public void uninstalled() { 126 } 127 128 133 public boolean closing() { 134 return true; 135 } 136 137 140 public void close() { 141 } 142 143 protected boolean clearSharedData() { 144 return false; 145 } 146 } 147 | Popular Tags |