Package org.gvt.action

Source Code of org.gvt.action.AboutAction

package org.gvt.action;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.resource.ImageDescriptor;
import org.gvt.ChisioMain;
import org.gvt.inspector.AboutDialog;

/**
* @author Cihan Kucukkececi
*
* Copyright: I-Vis Research Group, Bilkent University, 2007
*/
public class AboutAction extends Action
{
  ChisioMain main;

  public AboutAction(ChisioMain main)
  {
    setText("About Chisio BioPAX Editor");
    setToolTipText(getText());
    setImageDescriptor(ImageDescriptor.createFromFile(
      ChisioMain.class,
      "icon/cbe-icon.png"));
    this.main = main;
  }

  public void run()
  {
    new AboutDialog(main.getShell()).open();
  }
}
TOP

Related Classes of org.gvt.action.AboutAction

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.