[graphl-cvs] graphl/src/org/mediavirus/graphl/gui TypeMenu.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2006-06-08 13:15:30
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/gui In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17343/src/org/mediavirus/graphl/gui Modified Files: TypeMenu.java Log Message: a lot of changes done a long time ago... changelog has to be updated another time :( Index: TypeMenu.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/gui/TypeMenu.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TypeMenu.java 18 Dec 2005 11:11:40 -0000 1.4 --- TypeMenu.java 8 Jun 2006 13:15:01 -0000 1.5 *************** *** 57,61 **** */ protected void addItem(Node node, int which, boolean deep) { ! List items = node.getNeighbours(NS.graphl + "contains", true); for (Iterator iter = items.iterator(); iter.hasNext();) { --- 57,61 ---- */ protected void addItem(Node node, int which, boolean deep) { ! List items = node.getNeighbours(NS.graphl + "contains", Node.FORWARD); for (Iterator iter = items.iterator(); iter.hasNext();) { *************** *** 71,75 **** || (((which & PROPERTIES) > 0) && item.hasType("http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"))) { if (item.hasType("http://www.w3.org/1999/02/22-rdf-syntax-ns#Property")) { ! Node range = item.getFirstNeighbour("http://www.w3.org/2000/01/rdf-schema#range",true); if (range != null && range.getId().equals("http://www.w3.org/2000/01/rdf-schema#Literal")) { // skip properties that have a range of literal --- 71,75 ---- || (((which & PROPERTIES) > 0) && item.hasType("http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"))) { if (item.hasType("http://www.w3.org/1999/02/22-rdf-syntax-ns#Property")) { ! Node range = item.getFirstNeighbour("http://www.w3.org/2000/01/rdf-schema#range",Node.FORWARD); if (range != null && range.getId().equals("http://www.w3.org/2000/01/rdf-schema#Literal")) { // skip properties that have a range of literal |