1 11 package org.eclipse.core.runtime.dynamichelpers; 12 13 import org.eclipse.core.internal.runtime.ReferenceHashSet; 14 import org.eclipse.core.runtime.IExtension; 15 16 27 public interface IExtensionTracker { 28 29 34 public static final int REF_STRONG = ReferenceHashSet.HARD; 35 36 41 public static final int REF_SOFT = ReferenceHashSet.SOFT; 42 43 48 public static final int REF_WEAK = ReferenceHashSet.WEAK; 49 50 56 public void registerHandler(IExtensionChangeHandler handler, IFilter filter); 57 58 63 public void unregisterHandler(IExtensionChangeHandler handler); 64 65 77 public void registerObject(IExtension extension, Object object, int referenceType); 78 79 85 public void unregisterObject(IExtension extension, Object object); 86 87 94 public Object [] unregisterObject(IExtension extension); 95 96 105 public Object [] getObjects(IExtension extension); 106 107 110 public void close(); 111 } 112 | Popular Tags |