~cklee/gephi/FDEB

« back to all changes in this revision

Viewing changes to ImportPlugin/src/org/gephi/io/importer/plugin/file/ImporterGEXF.java

  • Committer: Christopher Kelvin Lee
  • Date: 2010-06-20 17:17:36 UTC
  • Revision ID: cklee@christopher-kelvin-lees-macbook.local-20100620171736-hr5llyfi143k3mfr
first iteration of FDEB in FDEB_demonstration and FDEB_reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
            //Nodes
250
250
            unknownParents = new ConcurrentHashMap<String, List<String>>();
251
251
            parseNodes(nodeListE, null);
252
 
            nodeListE = null;
253
252
 
254
253
            //Unknown parents
255
254
            setUnknownParents();
489
488
                    edge.setType(EdgeDraft.EdgeType.UNDIRECTED);
490
489
                } else if (edgeType.equals("directed")) {
491
490
                    edge.setType(EdgeDraft.EdgeType.DIRECTED);
492
 
                } else if (edgeType.equals("mutual")) {
 
491
                } else if (edgeType.equals("double")) {
493
492
                    edge.setType(EdgeDraft.EdgeType.MUTUAL);
494
493
                } else {
495
494
                    report.logIssue(new Issue(NbBundle.getMessage(ImporterGEXF.class, "importerGEXF_error_edgetype", edgeType, edgeId), Issue.Level.SEVERE));
765
764
    }
766
765
 
767
766
    public boolean isMatchingImporter(FileObject fileObject) {
768
 
        return fileObject.hasExt("gexf") || fileObject.hasExt("GEXF");
 
767
        return fileObject.hasExt("gexf");
769
768
    }
770
769
 
771
770
    public boolean cancel() {