KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > gjt > sp > jedit > browser > BrowserListener


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
20 package org.gjt.sp.jedit.browser;
21
22 import java.util.EventListener JavaDoc;
23
24 import org.gjt.sp.jedit.io.VFSFile;
25
26 /**
27  * A browser event listener.
28  * @author Slava Pestov
29  * @version $Id: BrowserListener.java 5179 2005-02-05 20:34:41Z spestov $
30  */

31 public interface BrowserListener extends EventListener JavaDoc
32 {
33     /**
34      * The user has selected a set of files.
35      * @param browser The VFS browser
36      * @param files The selected files
37      * @since jEdit 4.3pre1
38      */

39     void filesSelected(VFSBrowser browser, VFSFile[] files);
40
41     /**
42      * The user has double-clicked a set of files.
43      * @param browser The VFS browser
44      * @param files The selected files
45      * @since jEdit 4.3pre1
46      */

47     void filesActivated(VFSBrowser browser, VFSFile[] files);
48 }
49
Popular Tags