Examples of Plugin

  • org.syncany.plugins.Plugin
    A plugin can be used to store Syncany's repository files on any remote location. Implementations of the Plugin class identify a storage/transfer plugin.

    Using the 'id' attribute, plugins can be loaded by the {@link Plugins} class. Once a plugin is loaded, a corresponding {@link TransferSettings} object must be created and initialized. From the connection object, a {@link TransferManager} can then be used toupload/download files to the repository.

    Per naming convention, plugins must end by the name Plugin and extend this class. Furthermore, all plugin classes must reside in a package org.syncany.plugins.plugin-id, where plugin-id is the identifier specified by {@link #getId()}. @author Philipp C. Heckel

  • plugin.common.Plugin
  • plugins.PluginManager.tools.command.Plugin
    Plugin command used to list/load/unload/reload plugins at runtime. @author Witlospock @version 1.0
  • resources.digesters.Plugin
    Un plug-in es una extensi�n que se puede agregar a EasyBot. Por ejemplo, un robot y todos los componentes que lo conforman, son definidos como plug-ins.
    Un plug-in se crea a partir de un documento XML, y de un conjunto de reglas (tambi�n en formato XML) que permiten establecer los datos del estado del plug-in creado.
  • runjettyrun.Plugin
    The activator class controls the plug-in life cycle. @author hillenius

  • Examples of com.sun.tools.xjc.Plugin

            if( !isSupportedExtension(uri) ) {
                // recognizable but not not supported, meaning
                // the plug-in isn't enabled

                // look for plug-in that handles this URI
                Plugin owner = null;
                for( Plugin p : options.getAllPlugins() ) {
                    if(p.getCustomizationURIs().contains(uri)) {
                        owner = p;
                        break;
                    }
                }
                if(owner!=null)
                    // we know the plug-in that supports this namespace, but it's not enabled
                    error( Messages.ERR_PLUGIN_NOT_ENABLED.format(owner.getOptionName(),uri));
                else {
                    // this shouldn't happen, but be defensive...
                    error( Messages.ERR_UNSUPPORTED_EXTENSION.format(uri) );
                }
            }
    View Full Code Here

    Examples of com.tulskiy.musique.spi.Plugin

            });

            pluginsList.addListSelectionListener(new ListSelectionListener() {
                @Override
                public void valueChanged(ListSelectionEvent e) {
                    Plugin plugin = (Plugin) pluginsList.getSelectedValue();

                    configPluginButton.setEnabled(plugin != null && plugin.isConfigurable());
                    aboutPluginButton.setEnabled(plugin != null);
                }
            });
            configPluginButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    Plugin plugin = (Plugin) pluginsList.getSelectedValue();
                    if (plugin != null)
                        plugin.configure(OptionsDialog.this);
                }
            });

            aboutPluginButton.addActionListener(new ActionListener() {
                @Override
    View Full Code Here

    Examples of de.odysseus.calyxo.control.Plugin

          Iterator pluginConfigs = pluginsConfig.getPluginConfigs();
          while (pluginConfigs.hasNext()) {
            PluginConfig pluginConfig = (PluginConfig)pluginConfigs.next();
            log.debug("Initializing plugin " + pluginConfig.getClassName());
            Class c = context.getClassLoader().loadClass(pluginConfig.getClassName());
            Plugin plugin = (Plugin)c.newInstance();
            plugin.init(pluginConfig, pluginContext);
            plugins.add(plugin);
          }
        }
      }
    View Full Code Here

    Examples of de.odysseus.calyxo.control.Plugin

       */
      protected void destroyPlugins() {
        log.debug("Destroying plugins");
        Iterator plugins = this.plugins.iterator();
        while (plugins.hasNext()) {
          Plugin plugin = (Plugin)plugins.next();
          plugin.destroy();
        }
      }
    View Full Code Here

    Examples of de.pdf_scrutinizer.API.app.plugIn

                            }
                        }
                    }

                    app.viewerVersion = Double.parseDouble(viewerVersion);
                    plugIn plugin = app.getPlugin();
                    plugin.version = Double.parseDouble(pluginVersion);
                    app.setPlugin(plugin);
                    log.info("using viewerVersion " + app.viewerVersion);
                    for (String str : codes) {
                        doExecute(str, cx, scope);
    View Full Code Here

    Examples of de.taliis.editor.plugin.Plugin

      public int getChildCount(Object parent) {
        if(rooted==true) countViews();
       
        if(parent==root) return fm.getFileList().size();
        else if(parent instanceof menuNode) {
          Plugin p = ((menuNode)parent).view;

          if(p instanceof PluginStorage) {
            openedFile f = ((menuNode)parent).file;
            Vector<Plugin> tmp = (Vector<Plugin>)views.get(f.getExtension());
            if(tmp!=null)
    View Full Code Here

    Examples of devplugin.Plugin

          }

          return new ProgramContextMenu(mTree, selectedPath, PluginTreeModel.getPlugin(selectedPath[0]), selectedPrograms);
        }
        else if (node.getType() == Node.PLUGIN_ROOT) {
          Plugin plugin = PluginTreeModel.getPlugin(selectedPath[0]);
          if (plugin != null) {
            return new PluginBasedPluginContextMenu(mTree, selectedPath[0], plugin, node.getActionMenus());
          }
          else {
            PluginProxy proxy = PluginTreeModel.getPluginProxy(selectedPath[0]);
    View Full Code Here

    Examples of edu.umd.cs.findbugs.Plugin

            String redirect = dfc.getGlobalOption(KEY_REDIRECT_ALL_UPDATE_CHECKS);
            String sysprop = System.getProperty("findbugs.redirectUpdateChecks");
            if (sysprop != null) {
                redirect = sysprop;
            }
            Plugin setter = dfc.getGlobalOptionSetter(KEY_REDIRECT_ALL_UPDATE_CHECKS);
            URI redirectUri = null;
            String pluginName = setter == null ? "<unknown plugin>" : setter.getShortDescription();
            if (redirect != null && !redirect.trim().equals("")) {
                try {
                    redirectUri = new URI(redirect);
                    logError(Level.INFO, "Redirecting all plugin update checks to " + redirectUri + " (" + pluginName + ")");
    View Full Code Here

    Examples of forestry.plugins.Plugin

        if (arguments.length < 3)
          throw new WrongUsageException("/" + getCommandName() + " plugins info <plugin-name>");

        ForestryPlugin found = null;
        for (PluginManager.Module pluginModule : PluginManager.getLoadedModules()) {
          Plugin info = pluginModule.instance().getClass().getAnnotation(Plugin.class);
          if (info == null)
            continue;

          if ((info.pluginID().equalsIgnoreCase(arguments[2]) || info.name().equalsIgnoreCase(arguments[2]))) {
            found = pluginModule.instance();
            break;
          }
        }

        if (found == null)
          throw new CommandException(StringUtil.localizeAndFormat("chat.plugins.error", arguments[2]));

        String entry = "\u00A7c";
        if (found.isAvailable())
          entry = "\u00A7a";
        Plugin info = found.getClass().getAnnotation(Plugin.class);
        if (info != null) {
          sendChatMessage(sender, entry + "Plugin: " + info.name());
          if (!info.version().isEmpty())
            sendChatMessage(sender, "\u00A79Version: " + info.version());
          if (!info.author().isEmpty())
            sendChatMessage(sender, "\u00A79Author(s): " + info.author());
          if (!info.url().isEmpty())
            sendChatMessage(sender, "\u00A79URL: " + info.url());
          if (!info.unlocalizedDescription().isEmpty())
            sendChatMessage(sender, StatCollector.translateToLocal(info.unlocalizedDescription()));
        }

      }
    View Full Code Here

    Examples of fr.soleil.lib.flyscan.model.parsing.plugin.Plugin

                                    }

                                    for (final FSObject fsObject : section.getObjects()) {

                                        if (fsObject != null) {
                                            Plugin pluginObj = getPluginAndProcessParamsWithDefaultValues(plugins, section,
                                                    fsObject);

                                            objectPanel = buildObjectPanel(fsObject);

                                            final GridBagConstraints sectionConstraints = new GridBagConstraints();
                                            sectionConstraints.gridx = 0;
                                            sectionConstraints.gridy = GridBagConstraints.RELATIVE;
                                            sectionConstraints.gridwidth = GridBagConstraints.REMAINDER;
                                            sectionConstraints.weightx = 1;
                                            sectionConstraints.weighty = 1;
                                            sectionConstraints.anchor = GridBagConstraints.NORTHWEST;
                                            sectionConstraints.fill = GridBagConstraints.HORIZONTAL;
                                            sectionConstraints.insets = new Insets(5, 5, 5, 5);

                                            sectionPanel.add(objectPanel, sectionConstraints);

                                            for (final Entry entry : fsObject.getEntries()) {
                                                if ((!entry.isExpert()) || (entry.isExpert() && isExpert)) {
                                                    try {
                                                        buidEntryGUI(objectPanel, sectionPanel, fsObject, pluginObj, entry,
                                                                GENERAL, null);
                                                    } catch (FSParsingException e) {
                                                        if (e.getComponent() != null && e.getLabelName() != null) {
                                                            displayError(entry, section, fsObject, e.getLabelName(),
                                                                    e.getComponent(), e.getMessage(), GENERAL);
                                                        }
                                                        e.printStackTrace();
                                                        LOGGER.log(Level.SEVERE, e.getMessage());
                                                    }
                                                }

                                            }
                                        }

                                    }
                                }

                                generalPanel.add(sectionPanel, constraints);
                            }

                        } else {

                            for (final FSObject fsObject : section.getObjects()) {

                                if (fsObject != null) {
                                    // Choose plugin
                                    Plugin pluginObj = getPluginAndProcessParamsWithDefaultValues(plugins, section,
                                            fsObject);

                                    objectPanel = buildObjectPanel(fsObject);

                                    if (fsObject instanceof ContinuousActuator) {
    View Full Code Here
    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.