PageRenderTime 74ms CodeModel.GetById 71ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/InfoViewer/infoviewer/actions/about.java

#
Java | 43 lines | 15 code | 10 blank | 18 comment | 0 complexity | a73d4cdd34a22104deb9a9d684dcde4d MD5 | raw file
 1/*
 2 * about.java - about action for InfoViewer
 3 * Copyright (C) 1999 Dirk Moebius
 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 infoviewer.actions;
21
22import java.awt.event.ActionEvent;
23
24import org.gjt.sp.jedit.GUIUtilities;
25import org.gjt.sp.jedit.jEdit;
26
27
28public class about extends InfoViewerAction {
29
30
31	private static final long serialVersionUID = -3569448369419866147L;
32
33	public about() {
34        super("infoviewer.about");
35    }
36
37    public void actionPerformed(ActionEvent evt) {
38        GUIUtilities.message(getViewer(evt), "infoviewer.aboutdialog",
39            new String[] {
40                jEdit.getProperty("plugin.infoviewer.InfoViewerPlugin.version") });
41    }
42}
43