Package org.java.plugin.registry

Examples of org.java.plugin.registry.ExtensionPoint


  private static final String EXTENSION_ID = "FiletypeHandler";
 
  @SuppressWarnings("unchecked")
  public static void loadHandlers() {
    ExtensionPoint fhExt = PluginCore.getManager().getRegistry().getExtensionPoint(CORE_PLUGIN_ID, EXTENSION_ID);
    for (Extension e : fhExt.getConnectedExtensions()) {
      String pluginClassName = "";
      try {
       
        PluginDescriptor extensionDescriptor = e.getDeclaringPluginDescriptor();
        pluginClassName = e.getParameter("class").valueAsString();
View Full Code Here


    LOG.fine("Activating the plugins.");
    // load plugins for the task-extension-point
    PluginDescriptor core = pluginManager.getRegistry()
        .getPluginDescriptor("org.openstreetmap.osmosis.core.plugin.Core");

    ExtensionPoint point = pluginManager.getRegistry().getExtensionPoint(core.getId(), "Task");
    for (Iterator<Extension> it = point.getConnectedExtensions().iterator(); it.hasNext();) {

      Extension ext = it.next();
      PluginDescriptor descr = ext.getDeclaringPluginDescriptor();
      try {
        pluginManager.enablePlugin(descr, true);
View Full Code Here

TOP

Related Classes of org.java.plugin.registry.ExtensionPoint

Copyright © 2018 www.massapicom. 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.