⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plugin.java

📁 java写的多功能文件编辑器
💻 JAVA
字号:
/* * 13:39:57 02/02/00 * * Plugin.java - All plugins MUST implement this * Copyright (C) 1999 Romain Guy * romain.guy@jext.org * www.jext.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. */package org.jext;import java.util.Vector;import org.jext.options.OptionsDialog;/** * An interface which defines the basical behavior * of a Jext plugin. A plugin MUST implement this. */public interface Plugin{  /**   * Called by parent (instance of Jext) to requires menu items   * specific to the plugin. Menu items have to be added into the   * Vector pluginsMenuItems and submenus have to be added into the   * Vector pluginsMenu.   */  public void createMenuItems(JextFrame parent, Vector pluginsMenus, Vector pluginsMenuItems) throws Throwable;  /**   * Called by Jext when user request plugins options. Plugin has to   * add an AbstractOptionPane to the AbstractOptionsDialog parent.   */  public void createOptionPanes(OptionsDialog parent) throws Throwable;  /**   * Called by Jext on startup to start plugin.   */  public void start() throws Throwable;  /**   * Called by Jext on close to stop plugin activities.   * This is called, in the background mode, only when the JVM exits completely, differently from the   * {@link org.jext.event.JextEvent#KILLING_JEXT} event.   * See its docs for a discussion of differencies.   */  public void stop() throws Throwable;}// End of Plugin.java

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -