@Override
 public void dispose() {
   if (bold != null) {
     bold.dispose();
   }
   super.dispose();
 }
 public void dispose() {
   super.dispose();
   FeatureModelManager mng = PDECore.getDefault().getFeatureModelManager();
   mng.removeFeatureModelListener(this);
   fModel.removeModelChangedListener(this);
   if (fSiteLabelProvider != null) fSiteLabelProvider.dispose();
 }
 /** Disposes of the images created by this label provider. */
 @Override
 public final void dispose() {
   for (final Image image : _imageCache.values()) {
     image.dispose();
   }
   super.dispose();
 }
 /*
  * @see BaseLabelProvider#dispose()
  */
 @Override
 public void dispose() {
   super.dispose();
   if (classImage != null) {
     classImage.dispose();
   }
 }
  /*
   * (non-Javadoc)
   * @see org.eclipse.jface.viewers.BaseLabelProvider#dispose()
   */
  @Override
  public void dispose() {

    if (this.imageRegistry != null) this.imageRegistry.dispose();

    super.dispose();
  }
 public void dispose() {
   for (String code : imageCache.keySet()) {
     Image im = imageCache.get(code);
     if (im != null && !im.isDisposed()) {
       im.dispose();
     }
   }
   imageCache.clear();
   super.dispose();
 }
示例#7
0
  /** @see BaseLabelProvider#dispose() */
  @Override
  public void dispose() {
    // dispose any images created
    for (Image image : urlImages.values()) {
      image.dispose();
    }
    urlImages.clear();

    super.dispose();
  }
示例#8
0
 /* (non-Javadoc)
  * @see IBaseLabelProvider#removeListener(ILabelProviderListener)
  */
 @Override
 public void removeListener(ILabelProviderListener listener) {
   if (fLabelDecorators != null) {
     for (int i = 0; i < fLabelDecorators.size(); i++) {
       ILabelDecorator decorator = fLabelDecorators.get(i);
       decorator.removeListener(listener);
     }
   }
   super.removeListener(listener);
 }
 @Override
 public void dispose() {
   // dispose of our decorated images
   for (Image image : decoratedImages.values()) {
     image.dispose();
   }
   decoratedImages.clear();
   tagImage.dispose();
   lightweightTagImage.dispose();
   super.dispose();
 }
 @Override
 public void dispose() {
   super.dispose();
   ImageUtil.disposeImage("Images.AliasIcon");
   ImageUtil.disposeImage("Images.ConnectedAliasIcon");
   ImageUtil.disposeImage("Images.ConnectionIcon");
   ImageUtil.disposeImage("Images.DriverIcon");
   ImageUtil.disposeImage("Images.QueryIcon");
   ImageUtil.disposeImage("Images.QueryParamIcon");
   ImageUtil.disposeImage("Images.DBResourcesIcon");
 }
 /* (non-Javadoc)
  * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
  */
 public void dispose() {
   super.dispose();
   lp.dispose();
 }
 @Override
 public void dispose() {
   images.dispose();
   super.dispose();
 }
 @Override
 public void dispose() {
   EDITOR_REGISTRY.removePropertyListener(editorRegistryListener);
   super.dispose();
 }
 public void dispose() {
   super.dispose();
   ImageUtil.disposeImage("Images.AliasIcon");
   ImageUtil.disposeImage("Images.ConnectedAliasIcon");
   ImageUtil.disposeImage("Images.ConnectionIcon");
 }
 public void dispose() {
   super.dispose();
   fLabelProvider.dispose();
 }
 public void addListener(ILabelProviderListener listener) {
   super.addListener(listener);
   fLabelProvider.addListener(listener);
 }
 public void removeListener(ILabelProviderListener listener) {
   super.removeListener(listener);
   fLabelProvider.removeListener(listener);
 }
 public void fireLabelProviderChanged(LabelProviderChangedEvent e) {
   super.fireLabelProviderChanged(e);
 }
 /*
  * @see org.eclipse.jface.viewers.BaseLabelProvider#dispose()
  */
 @Override
 public void dispose() {
   inDirect.dispose();
   inDirect = null;
   super.dispose();
 }
 /*
  * (non-Javadoc)
  *
  * @see org.eclipse.pde.internal.ui.editor.FormOutlinePage#dispose()
  */
 public void dispose() {
   super.dispose();
   if (fLabelProvider != null) fLabelProvider.dispose();
 }
 /* (non-Javadoc)
  * Method declared on ILabelProvider
  */
 public void dispose() {
   PlatformUI.getWorkbench().getEditorRegistry().removePropertyListener(editorRegistryListener);
   resourceManager.dispose();
   resourceManager = null;
   super.dispose();
 }
 /* (non-Javadoc)
  * @see org.eclipse.jface.viewers.LabelProvider#dispose()
  */
 public void dispose() {
   super.dispose();
   PDEPlugin.getDefault().getLabelProvider().disconnect(this);
 }