View Javadoc

1   /*
2    * Copyright (c) 2007 Creative Sphere Limited.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v1.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v10.html
7    *
8    * Contributors:
9    *
10   *   Creative Sphere - initial API and implementation
11   *
12   */
13  package org.abstracthorizon.aequo.action;
14  
15  import java.awt.event.ActionEvent;
16  
17  import org.abstracthorizon.aequo.gui.AboutWindow;
18  
19  /**
20   * New session action.
21   *
22   * @author Daniel Sendula
23   */
24  public class AboutAction extends BaseAction {
25  
26      /**
27       * Constructor
28       */
29      public AboutAction() {
30          setName("About");
31          setMessage("About");
32          setDescription("About");
33      }
34  
35      /**
36       * Performs the operation
37       * @param e event
38       */
39      public void perform(ActionEvent e) {
40          AboutWindow aboutWindow = new AboutWindow();
41          aboutWindow.setVisible(true);
42      }
43  }