/** * Copyright (c) 2014 Codetrails GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Johannes Dorn - initial API and implementation. */ package org.eclipse.recommenders.snipmatch.rcp; import org.eclipse.recommenders.snipmatch.ISnippetRepository; /** * Triggered when the snippet repository was closed to inform clients that the snippet repository is currently not * available. */ public class SnippetRepositoryClosedEvent { private final ISnippetRepository repo; public SnippetRepositoryClosedEvent(ISnippetRepository repo) { this.repo = repo; } public ISnippetRepository getRepository() { return repo; } }