Ejemplo n.º 1
0
    /** Stops the operations object. */
    public void stop() {
      m_loadProgressPanel.stop();
      m_database.removeListener(m_databaseListener);

      CGlobalProgressManager.instance().remove(this);
    }
Ejemplo n.º 2
0
 /**
  * Creates a new operation object.
  *
  * @param database Database to be loaded.
  */
 public CDatabaseLoaderOperation(final IDatabase database) {
   m_database = database;
   m_loadProgressPanel.start();
   database.addListener(m_databaseListener);
   CGlobalProgressManager.instance().add(this);
 }