[graphl-cvs] graphl/src/org/mediavirus/graphl GraphlApplication.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2005-08-24 16:09:37
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5730/src/org/mediavirus/graphl Modified Files: GraphlApplication.java Log Message: files are now loaded in addition to existing graph Index: GraphlApplication.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/GraphlApplication.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** GraphlApplication.java 17 Aug 2005 15:52:51 -0000 1.19 --- GraphlApplication.java 24 Aug 2005 16:09:30 -0000 1.20 *************** *** 34,38 **** import org.mediavirus.graphl.graph.Node; import org.mediavirus.graphl.graph.filter.FilteredGraph; ! import org.mediavirus.graphl.graph.filter.TestFilter; import org.mediavirus.graphl.graph.rdf.RDFGraph; import org.mediavirus.graphl.gui.GenericDialog; --- 34,38 ---- import org.mediavirus.graphl.graph.Node; import org.mediavirus.graphl.graph.filter.FilteredGraph; ! import org.mediavirus.graphl.graph.filter.SourceFilter; import org.mediavirus.graphl.graph.rdf.RDFGraph; import org.mediavirus.graphl.gui.GenericDialog; *************** *** 97,101 **** FilteredGraph fgraph = new FilteredGraph(new RDFGraph()); ! fgraph.addFilter(new TestFilter()); mainPanel = new GraphlPanel(fgraph); --- 97,106 ---- FilteredGraph fgraph = new FilteredGraph(new RDFGraph()); ! SourceFilter filter = new SourceFilter(); ! filter.addSource("file:/C:/data/projects/graphl/config/vocabs/foaf-owl.rdf"); ! filter.addSource("file:/C:/data/projects/graphl/config/vocabs/rdf+rdfs.rdf"); ! filter.addSource("file:/C:/data/projects/graphl/config/config.rdf"); ! filter.addSource(NS.graphl + "SYSTEM"); ! fgraph.addFilter(filter); mainPanel = new GraphlPanel(fgraph); *************** *** 402,406 **** mainPanel.getGraphPane().pauseLayouter(); ! mainPanel.getGraph().clear(); mainPanel.getGraph().readFromFile(file.getAbsolutePath()); --- 407,411 ---- mainPanel.getGraphPane().pauseLayouter(); ! //mainPanel.getGraph().clear(); mainPanel.getGraph().readFromFile(file.getAbsolutePath()); |