1 /*******************************************************************************
2 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
3 * Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * See LICENSE for the full license text, also available.
8 *******************************************************************************/
9 package org
.spearce
.egit
.ui
.internal
.components
;
11 import org
.spearce
.jgit
.transport
.RemoteConfig
;
12 import org
.spearce
.jgit
.transport
.URIish
;
15 * Interface for listeners of repository selection events from repository
18 public interface RepositorySelectionListener
{
20 * Notify the receiver that the repository selection has changed. Each time
21 * at least one argument of this call is null, which indicates that it has
22 * illegal value or this form of repository selection is not selected.
25 * the new specified URI. null if the new URI is invalid or user
26 * chosen to specify repository as remote config instead of URI.
28 * the new remote config. null if user chosen to specify
31 public void selectionChanged(URIish newURI
, RemoteConfig newConfig
);