congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EditorPart.dispose
Code IndexAdd Tabnine to your IDE (free)

How to use
dispose
method
in
org.eclipse.ui.part.EditorPart

Best Java code snippets using org.eclipse.ui.part.EditorPart.dispose (Showing top 13 results out of 315)

origin: org.eclipse.platform/org.eclipse.ui.workbench

  @Override
  public void dispose() {
    super.dispose();
    parentControl = null;
  }
}
origin: org.eclipse.platform/org.eclipse.compare

@Override
public void dispose() {
  IEditorInput input= getEditorInput();
  if (input instanceof IPropertyChangeNotifier)
    ((IPropertyChangeNotifier)input).removePropertyChangeListener(this);
  super.dispose();
}
origin: org.eclipse/org.eclipse.compare

public void dispose() {

  IEditorInput input= getEditorInput();
  if (input instanceof IPropertyChangeNotifier)
    ((IPropertyChangeNotifier)input).removePropertyChangeListener(this);
              
  super.dispose();
}
    
origin: org.eclipse/org.eclipse.wst.server.ui

/**
 * Dispose of the editor.
 */
public void dispose() {
  super.dispose();
  
  Iterator iterator = getSections().iterator();
  while (iterator.hasNext()) {
    ServerEditorSection section = (ServerEditorSection) iterator.next();
    section.dispose();
  }
  
  if (toolkit != null) {
    toolkit.dispose();
    toolkit = null;
  }
  
  commandManager = null;
  sectionToInsertionId = null;
  sections = null;
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * The <code>MultiPageEditorPart</code> implementation of this
 * <code>IWorkbenchPart</code> method disposes all nested editors.
 * Subclasses may extend.
 */
@Override
public void dispose() {
  deactivateSite(true, false);
  pageChangeListeners.clear();
  for (int i = 0; i < nestedEditors.size(); ++i) {
    IEditorPart editor = (IEditorPart) nestedEditors.get(i);
    disposePart(editor);
  }
  nestedEditors.clear();
  if (pageContainerSite instanceof IDisposable) {
    ((IDisposable) pageContainerSite).dispose();
    pageContainerSite = null;
  }
  for (int i = 0; i < pageSites.size(); i++) {
    IServiceLocator sl = (IServiceLocator) pageSites.get(i);
    if (sl instanceof IDisposable) {
      ((IDisposable) sl).dispose();
    }
  }
  pageSites.clear();
  super.dispose();
}
origin: org.eclipse.platform/org.eclipse.debug.ui

@Override
public void dispose() {
  if (fLaunchesListener != null) {
    DebugPlugin.getDefault().getLaunchManager().removeLaunchListener(fLaunchesListener);
  }
  super.dispose();
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * Release the added listener.
 *
 * @since 3.2
 */
@Override
public void dispose() {
  getSite().getPage().removePartListener(propagationListener);
  super.dispose();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide

/**
 * The <code>WorkbenchPart</code> implementation of this
 * <code>IWorkbenchPart</code> method disposes the title image
 * loaded by <code>setInitializationData</code>. Subclasses may extend.
 */
@Override
public void dispose() {
  super.dispose();
  if (busyCursor != null) {
    busyCursor.dispose();
  }
  if (handCursor != null) {
    handCursor.dispose();
  }
  if (this.colorListener != null) {
    JFacePreferences.getPreferenceStore().removePropertyChangeListener(
        this.colorListener);
  }
}
origin: org.eclipse.pde/org.eclipse.pde.ui

@Override
public void dispose() {
  if (inputFileListener != null) {
    PDEPlugin.getWorkspace().removeResourceChangeListener(inputFileListener);
    inputFileListener = null;
  }
  toolkit.dispose();
  PDEPlugin.getDefault().getLabelProvider().disconnect(this);
  super.dispose();
}
origin: inspectIT/inspectIT

  /**
   * {@inheritDoc}
   */
  @Override
  public void dispose() {
    InspectIT.getDefault().getCmrRepositoryManager().removeCmrRepositoryChangeListener(this);
    InspectIT.getDefault().getInspectITStorageManager().removeStorageChangeListener(this);

    // stop the timer if it is active
    stopUpdateTimer();

    // dispose the local resource manager
    resourceManager.dispose();

    super.dispose();

    // dispose the preference panel
    if (null != preferencePanel) {
      preferencePanel.dispose();
    }

    if (null != subView) {
      subView.dispose();
    }
  }
}
origin: org.eclipse/org.eclipse.ui.workbench.texteditor

fLinearUndoViolationApprover= null;
super.dispose();
origin: org.eclipse.platform/org.eclipse.ui.workbench.texteditor

super.dispose();
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.workbench.texteditor

super.dispose();
org.eclipse.ui.partEditorPartdispose

Popular methods of EditorPart

  • setInput
    Sets the input to this editor. This method simply updates the internal member variable.Unlike most o
  • getAdapter
  • firePropertyChange
  • getEditorInput
  • addPropertyListener
  • getPartName
  • getSite
  • getTitle
  • internalSetPartName
  • isDirty
  • removePropertyListener
  • setDefaultPartName
  • removePropertyListener,
  • setDefaultPartName,
  • setFocus,
  • setPartName,
  • setTitle

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Runner (org.openjdk.jmh.runner)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now