Examples of XmlOrganisation


Examples of org.jayasoft.woj.tools.dlbuilder.xmldescriptor.model.XmlOrganisation

  @Override
  public void refresh() {
    while (_model.getRowCount() != 0) {
      _model.removeRow(0);
    }
    XmlOrganisation xmlOrg = (XmlOrganisation) getObjectShown();
    _model.addRow(new Object[] {"Name", xmlOrg.getName()});
    _model.addRow(new Object[] {"Path", xmlOrg.getPath()});
  }
View Full Code Here

Examples of org.jayasoft.woj.tools.dlbuilder.xmldescriptor.model.XmlOrganisation

          GenericDownloader downloader = new GenericDownloader(d);
         
          // Create download description
          List<String> problems =new ArrayList<String>();
          for (Iterator iter = orgSet.getOrganisations().iterator(); iter.hasNext();) {
            XmlOrganisation org = (XmlOrganisation) iter.next();
            for (Iterator iterator = org.getModules().iterator(); iterator.hasNext();) {
              XmlModule module = (XmlModule) iterator.next();
              try {
                downloader.enqueueDownload(org, module);
              } catch (Exception ex) {
                System.err.println("error while handling "+org.getName()+"/"+module.getName() + " : " +ex.getMessage());
                problems.add(org.getName()+ "/" + module.getName());
              }
            }
          }
         
          // Handle problems log
View Full Code Here

Examples of org.jayasoft.woj.tools.dlbuilder.xmldescriptor.model.XmlOrganisation

  }

  @Override
  protected Collection<TreeNode> loadChildren() {
    Collection<TreeNode> col = new ArrayList<TreeNode>();
    XmlOrganisation organisation = (XmlOrganisation) getUserObject();
    List<XmlModule> children = new ArrayList(organisation.getModules());
    Collections.sort(children, XmlModule.NAME_COMPARATOR );
    for (XmlModule module : children) {
      col.add(new XmlModuleTreeNode(module));
    }
    return col;
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.