Improve error reporting in the branch dialog
[egit/imyousuf.git] / org.spearce.egit.core / src / org / spearce / egit / core / project / RepositoryChangeListener.java
blob01da17b660410ade4c7afdaf8d85d079898e9701
1 /*******************************************************************************
2 * Copyright (C) 2007, Shawn O. Pearce <spearce@spearce.org>
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * See LICENSE for the full license text, also available.
7 *******************************************************************************/
8 package org.spearce.egit.core.project;
10 /**
11 * Receives notification of a repository change event.
12 * <p>
13 * A change listener may be called from any thread, especially background job
14 * threads, but also from the UI thread. Implementors are encouraged to complete
15 * quickly, and make arrange for their tasks to run on the UI event thread if
16 * necessary.
17 * </p>
19 public interface RepositoryChangeListener {
20 /**
21 * Invoked when a repository has had some or all of its contents change.
23 * @param which
24 * the affected repository. Never null.
26 public void repositoryChanged(RepositoryMapping which);