Examples of dispose()


Examples of org.eclipse.jface.viewers.ILabelProvider.dispose()

        // Listen for disposal
        this.addDisposeListener(new DisposeListener() {
            public void widgetDisposed(DisposeEvent event) {
                contentProvider.dispose();
                labelProvider.dispose();
                categoryTreeViewer.removeTreeListener(collapseListener);
            }
        });

        // initialize the actions that the context sensitive menu requires
View Full Code Here

Examples of org.eclipse.jface.wizard.ProgressMonitorPart.dispose()

                1, true), 10);
        try {
            progressArea.layout();
            PlatformGIS.runBlockingOperation(runnable, part);
        } finally {
            part.dispose();
            progressArea.layout();
        }

    }
View Full Code Here

Examples of org.eclipse.jgit.revplot.PlotWalk.dispose()

      if (is != null) {
        is.close();
        is = null;
      }
      if (rw != null) {
        rw.dispose();
        rw = null;
      }
      if (r != null) {
        r.close();
        r = null;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.ObjectWalk.dispose()

        if (lastPackedRefs != null)
          for (Ref lpr : lastPackedRefs.values())
            w.markUninteresting(w.parseAny(lpr.getObjectId()));
        removeReferenced(deletionCandidates, w);
      } finally {
        w.dispose();
      }
    }

    if (deletionCandidates.isEmpty())
      return;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.dispose()

          throw new JGitInternalException(MessageFormat.format(
              JGitText.get().cannotReadCommit, entry.getNewId()),
              e);
        }
    } finally {
      walk.dispose();
    }
    return stashCommits;
  }
}
View Full Code Here

Examples of org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit.dispose()

      ClickPlugin.log(ex);
    } finally {
      if (artifactEdit != null) {
        // save and dispose
        artifactEdit.saveIfNecessary(monitor);
        artifactEdit.dispose();
      }

    }
  }
View Full Code Here

Examples of org.eclipse.jst.jsf.designtime.internal.view.AbstractDTViewHandler.dispose()

                if (extData != null)
                {
                    final AbstractDTViewHandler handler = extData.removeInstance(project);
                    if (handler != null)
                    {
                        handler.dispose();
                    }
                }
            }
        }
View Full Code Here

Examples of org.eclipse.jst.jsf.facesconfig.util.FacesConfigArtifactEdit.dispose()

          }
          finally
          {
              if (facesConfigEdit != null)
              {
                  facesConfigEdit.dispose();
              }
          }
        }
    }
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.converter.ITagConverter.dispose()

    public void deactivate()
    {
        ITagConverter tagConverter = (ITagConverter) getModel();
        if (tagConverter != null)
        {
            tagConverter.dispose();
        }
       
        // always do super stuff
        super.deactivate();
    }
View Full Code Here

Examples of org.eclipse.ltk.core.refactoring.Change.dispose()

      }finally{
        workspace.removeResourceChangeListener(rcl);
      }
    }finally{
      if (change != null) {
        change.dispose();
      }
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.