示例#1
0
  @Override
  public void delete() {
    m_database.removeListener(m_databaseListener);

    if (m_database.isLoaded()) {
      final List<INaviProject> projects = m_database.getContent().getProjects();

      for (final INaviProject project : projects) {
        project.removeListener(m_projectListener);
      }
    }
  }
示例#2
0
    /** Stops the operations object. */
    public void stop() {
      m_loadProgressPanel.stop();
      m_database.removeListener(m_databaseListener);

      CGlobalProgressManager.instance().remove(this);
    }