Examples of IPluginData


Examples of org.jamesii.core.plugins.IPluginData

  public Icon getIcon(final Dimension dim) {

    // backup: if no icon is given try to use the icon of the plug-in
    if (data.getIconURI() == null) {

      IPluginData pdata = SimSystem.getRegistry().getPlugin(data);

      if (pdata != null) {

        if (pdata.getId().getIconURI() != null) {
          return getIcon(dim, pdata.getId().getIconURI());
        }

        // backup: if no icon is given try to use the icon of the plug-in type
        IPluginTypeData ptdata = SimSystem.getRegistry().getPluginType(pdata);
        if (ptdata != null) {
View Full Code Here

Examples of org.jamesii.core.plugins.IPluginData

            // read the XML file and add a found plugin to the internal
            // list of
            // plug-ins found

            try {
              IPluginData data =
                  reader.readPluginXMLFile(source, s,
                      "Path:" + files[i].getAbsolutePath());
              if (data != null) {
                foundPlugins.add(data);
              }
View Full Code Here

Examples of org.jamesii.core.plugins.IPluginData

        try {
          InputStream xmlInput = archive.getInputStream(curEntry);
          InputSource source = new InputSource(xmlInput);

          try {
            IPluginData data =
                reader.readPluginXMLFile(source, fileName, "JAR file:"
                    + jarFile.getAbsolutePath());
            foundPlugins.add(data);
            paths.put(foundPlugins.get(foundPlugins.size() - 1),
                jarFile.getName() + ":" + fileName);
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.