Package xnap.plugin

Examples of xnap.plugin.IPlugin


    }

    public void valueChanged(ListSelectionEvent e)
    {
  PluginInfo i = (PluginInfo)jlPlugins.getSelectedValue();
  IPlugin p = PluginManager.getInstance().getPluginByName(i.getName());

  jlName.setText(i.getName());
  jlVersion.setText(i.getVersion());
  jlInstalledVersion.setText((p != null) ? p.getVersion() : "");
  jlDescription.setText(i.getDescription());

  if (p != null) {
      int c = VersionParser.compare(i.getVersion(), p.getVersion());
      acInstall.setEnabled(c != 0);
  }
  else {
      acInstall.setEnabled(true);
  }
View Full Code Here

TOP

Related Classes of xnap.plugin.IPlugin

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.