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

📄 raplaextensionpoints.java

📁 Rapla是一个灵活的多用户资源管理系统。它提供的一些功能有:日历GUI
💻 JAVA
字号:
package org.rapla.plugin;




/** Constant Pool of all basic extension points of the Rapla system.
 * You can add your extension  in the provideService Method of your PluginDescriptor
 * <pre>
 * container.addContainerProvidedComponent( REPLACE_WITH_EXTENSION_POINT_NAME, REPLACE_WITH_CLASS_IMPLEMENTING_EXTENSION, config);
 * </pre>
 * @see org.rapla.framework.PluginDescriptor
*/

public interface RaplaExtensionPoints
{
    /** add your own views to Rapla, by providing a org.rapla.gui.ViewFactory */
    String CALENDAR_VIEW_EXTENSION = "org.rapla.gui.CalendarView";

    /** A client extension is started automaticaly when a user has successfully login into the Rapla system*/
    String CLIENT_EXTENSION = "org.rapla.clientPlugin";
    /** A server extension is started automaticaly when the server is up and running and connected to a data store*/
    String SERVER_EXTENSION = "org.rapla.serverPlugin";

    /**
     * You can add arbitrary serlvet pages to your rapla webapp.
     *
     * Example that adds a page with the name "my-page-name" and the class
     * "org.rapla.plugin.myplugin.MyPageGenerator". You can call this page with <code>rapla?page=my-page-name</code>
     * <p/>
     * In the provideService Method of your PluginDescriptor do the following
     <pre>
     container.addContainerProvidedComponent( RaplaExtensionPoints.SERVLET_PAGE_EXTENSION, "org.rapla.plugin.myplugin.MyPageGenerator", "my-page-name", config);
     </pre>

    *@see org.rapla.servletpages.RaplaPageGenerator
     m*/
    String SERVLET_PAGE_EXTENSION = "org.rapla.serverPage";

    /** You can add a specific configuration panel for your plugin.*/
    String PLUGIN_OPTION_PANEL_EXTENSION = "org.rapla.plugin.Option";
    /** You can add additional option panels for editing the user preference.
     * @see org.rapla.entities.configuration.Preferences*/
    String USER_OPTION_PANEL_EXTENSION = "org.rapla.UserOptions";
    /** You can add additional option panels for the editing the system preferences
    * @see org.rapla.entities.configuration.Preferences*/
    String SYSTEM_OPTION_PANEL_EXTENSION = "org.rapla.SystemOptions";

    /** add your own wizard to create events. See ReservationWizard class */
    String RESERVATION_WIZARD_EXTENSION = "org.rapla.gui.Reservationwizard";

    /** add your own menu entries in the context menu of an object. To do this add
      an ObjectMenuFactory under this entry.*/
    String OBJECT_MENU_EXTENSION = "org.rapla.gui.ObjectMenuFactory";


    /** add your own submenus to the admin menu. Get the MenuExtensionPoint via the lookup method and add the menu.
     *  */
    String ADMIN_MENU_EXTENSION_POINT ="org.rapla.gui.AdminMenuInsert";
    /** add your own import-menu submenus*/
    String IMPORT_MENU_EXTENSION_POINT ="org.rapla.gui.ImportMenuInsert";
    /** add your own export-menu submenus*/
    String EXPORT_MENU_EXTENSION_POINT ="org.rapla.gui.ExportMenuInsert";
    /** add your own view-menu submenus*/
    String VIEW_MENU_EXTENSION_POINT ="org.rapla.gui.ViewMenuInsert";
    /** add your own edit-menu submenus*/
    String EDIT_MENU_EXTENSION_POINT = "org.rapla.gui.EditMenuInsert";
    /** add your own help-menu submenus*/
    String HELP_MENU_EXTENSION_POINT = "org.rapla.gui.ExtraMenuInsert";

    /** you can add your own entries on the index page Just add a HTMLMenuEntry to the list*/
    String HTML_MAIN_MENU_EXTENSION_POINT = "org.rapla.servletpages";
}

⌨️ 快捷键说明

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