PageRenderTime 84ms CodeModel.GetById 82ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/org/gjt/sp/jedit/browser/BrowserListener.java

#
Java | 46 lines | 8 code | 5 blank | 33 comment | 0 complexity | 8be350131affe01c092c72dd9ed95a3a MD5 | raw file
 1/*
 2 * BrowserListener.java - VFS browser listener
 3 * Copyright (C) 2000 Slava Pestov
 4 *
 5 * This program is free software; you can redistribute it and/or
 6 * modify it under the terms of the GNU General Public License
 7 * as published by the Free Software Foundation; either version 2
 8 * of the License, or any later version.
 9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 */
19
20package org.gjt.sp.jedit.browser;
21
22import java.util.EventListener;
23
24import org.gjt.sp.jedit.io.VFS;
25
26/**
27 * A browser event listener.
28 * @author Slava Pestov
29 * @version $Id: BrowserListener.java 3801 2001-09-08 04:50:46Z spestov $
30 */
31public interface BrowserListener extends EventListener
32{
33	/**
34	 * The user has selected a set of files.
35	 * @param browser The VFS browser
36	 * @param files The selected files
37	 */
38	void filesSelected(VFSBrowser browser, VFS.DirectoryEntry[] files);
39
40	/**
41	 * The user has double-clicked a set of files.
42	 * @param browser The VFS browser
43	 * @param files The selected files
44	 */
45	void filesActivated(VFSBrowser browser, VFS.DirectoryEntry[] files);
46}