/** Stops the operations object. */ public void stop() { m_loadProgressPanel.stop(); m_database.removeListener(m_databaseListener); CGlobalProgressManager.instance().remove(this); }
/** * 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); }