Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tweaked startup

  • Loading branch information...
commit 2d5125f53c3f40c3c208c689c8cbac9b6e49e814 1 parent 0bf5f93
Danny Ayers authored

Showing 147 changed files with 104 additions and 63 deletions. Show diff stats Hide diff stats

  1. +1 1  .classpath
  2. +0 12 .settings/org.eclipse.jdt.core.prefs
  3. +3 3 MANIFEST.MF
  4. +17 2 bin/scute.sh
  5. BIN  classes/org/hyperdata/resources/general/About16.gif
  6. BIN  classes/org/hyperdata/resources/general/About24.gif
  7. BIN  classes/org/hyperdata/resources/general/Add16.gif
  8. BIN  classes/org/hyperdata/resources/general/Add24.gif
  9. BIN  classes/org/hyperdata/resources/general/AlignBottom16.gif
  10. BIN  classes/org/hyperdata/resources/general/AlignBottom24.gif
  11. BIN  classes/org/hyperdata/resources/general/AlignCenter16.gif
  12. BIN  classes/org/hyperdata/resources/general/AlignCenter24.gif
  13. BIN  classes/org/hyperdata/resources/general/AlignJustifyHorizontal16.gif
  14. BIN  classes/org/hyperdata/resources/general/AlignJustifyHorizontal24.gif
  15. BIN  classes/org/hyperdata/resources/general/AlignJustifyVertical16.gif
  16. BIN  classes/org/hyperdata/resources/general/AlignJustifyVertical24.gif
  17. BIN  classes/org/hyperdata/resources/general/AlignLeft16.gif
  18. BIN  classes/org/hyperdata/resources/general/AlignLeft24.gif
  19. BIN  classes/org/hyperdata/resources/general/AlignRight16.gif
  20. BIN  classes/org/hyperdata/resources/general/AlignRight24.gif
  21. BIN  classes/org/hyperdata/resources/general/AlignTop16.gif
  22. BIN  classes/org/hyperdata/resources/general/AlignTop24.gif
  23. BIN  classes/org/hyperdata/resources/general/Bookmarks16.gif
  24. BIN  classes/org/hyperdata/resources/general/Bookmarks24.gif
  25. BIN  classes/org/hyperdata/resources/general/Clone16.gif
  26. BIN  classes/org/hyperdata/resources/general/Close16.gif
  27. BIN  classes/org/hyperdata/resources/general/ComposeMail16.gif
  28. BIN  classes/org/hyperdata/resources/general/ComposeMail24.gif
  29. BIN  classes/org/hyperdata/resources/general/ContextualHelp16.gif
  30. BIN  classes/org/hyperdata/resources/general/ContextualHelp24.gif
  31. BIN  classes/org/hyperdata/resources/general/Copy of Information16.gif
  32. BIN  classes/org/hyperdata/resources/general/Copy16.gif
  33. BIN  classes/org/hyperdata/resources/general/Copy24.gif
  34. BIN  classes/org/hyperdata/resources/general/Cut16.gif
  35. BIN  classes/org/hyperdata/resources/general/Cut24.gif
  36. BIN  classes/org/hyperdata/resources/general/Delete16.gif
  37. BIN  classes/org/hyperdata/resources/general/Delete24.gif
  38. BIN  classes/org/hyperdata/resources/general/Edit16.gif
  39. BIN  classes/org/hyperdata/resources/general/Edit24.gif
  40. BIN  classes/org/hyperdata/resources/general/Export16.gif
  41. BIN  classes/org/hyperdata/resources/general/Export24.gif
  42. BIN  classes/org/hyperdata/resources/general/Find16.gif
  43. BIN  classes/org/hyperdata/resources/general/Find24.gif
  44. BIN  classes/org/hyperdata/resources/general/FindAgain16.gif
  45. BIN  classes/org/hyperdata/resources/general/FindAgain24.gif
  46. BIN  classes/org/hyperdata/resources/general/GeneralIcons.class
  47. BIN  classes/org/hyperdata/resources/general/Help16.gif
  48. BIN  classes/org/hyperdata/resources/general/Help24.gif
  49. BIN  classes/org/hyperdata/resources/general/History16.gif
  50. BIN  classes/org/hyperdata/resources/general/History24.gif
  51. BIN  classes/org/hyperdata/resources/general/Import16.gif
  52. BIN  classes/org/hyperdata/resources/general/Import24.gif
  53. BIN  classes/org/hyperdata/resources/general/Information16.gif
  54. BIN  classes/org/hyperdata/resources/general/Information24.gif
  55. BIN  classes/org/hyperdata/resources/general/New16.gif
  56. BIN  classes/org/hyperdata/resources/general/New24.gif
  57. BIN  classes/org/hyperdata/resources/general/Open16.gif
  58. BIN  classes/org/hyperdata/resources/general/Open24.gif
  59. BIN  classes/org/hyperdata/resources/general/PageSetup16.gif
  60. BIN  classes/org/hyperdata/resources/general/PageSetup24.gif
  61. BIN  classes/org/hyperdata/resources/general/Paste16.gif
  62. BIN  classes/org/hyperdata/resources/general/Paste24.gif
  63. BIN  classes/org/hyperdata/resources/general/Preferences16.gif
  64. BIN  classes/org/hyperdata/resources/general/Preferences24.gif
  65. BIN  classes/org/hyperdata/resources/general/Print16.gif
  66. BIN  classes/org/hyperdata/resources/general/Print24.gif
  67. BIN  classes/org/hyperdata/resources/general/PrintPreview16.gif
  68. BIN  classes/org/hyperdata/resources/general/PrintPreview24.gif
  69. BIN  classes/org/hyperdata/resources/general/Properties16.gif
  70. BIN  classes/org/hyperdata/resources/general/Properties24.gif
  71. BIN  classes/org/hyperdata/resources/general/Redo16.gif
  72. BIN  classes/org/hyperdata/resources/general/Redo24.gif
  73. BIN  classes/org/hyperdata/resources/general/Refresh16.gif
  74. BIN  classes/org/hyperdata/resources/general/Refresh24.gif
  75. BIN  classes/org/hyperdata/resources/general/Remove16.gif
  76. BIN  classes/org/hyperdata/resources/general/Remove24.gif
  77. BIN  classes/org/hyperdata/resources/general/Replace16.gif
  78. BIN  classes/org/hyperdata/resources/general/Replace24.gif
  79. BIN  classes/org/hyperdata/resources/general/Save16.gif
  80. BIN  classes/org/hyperdata/resources/general/Save24.gif
  81. BIN  classes/org/hyperdata/resources/general/SaveAll16.gif
  82. BIN  classes/org/hyperdata/resources/general/SaveAll24.gif
  83. BIN  classes/org/hyperdata/resources/general/SaveAs16.gif
  84. BIN  classes/org/hyperdata/resources/general/SaveAs24.gif
  85. BIN  classes/org/hyperdata/resources/general/Search16.gif
  86. BIN  classes/org/hyperdata/resources/general/Search24.gif
  87. BIN  classes/org/hyperdata/resources/general/SendMail16.gif
  88. BIN  classes/org/hyperdata/resources/general/SendMail24.gif
  89. BIN  classes/org/hyperdata/resources/general/Stop16.gif
  90. BIN  classes/org/hyperdata/resources/general/Stop24.gif
  91. BIN  classes/org/hyperdata/resources/general/TipOfTheDay16.gif
  92. BIN  classes/org/hyperdata/resources/general/TipOfTheDay24.gif
  93. BIN  classes/org/hyperdata/resources/general/Undo16.gif
  94. BIN  classes/org/hyperdata/resources/general/Undo24.gif
  95. BIN  classes/org/hyperdata/resources/general/Zoom16.gif
  96. BIN  classes/org/hyperdata/resources/general/Zoom24.gif
  97. BIN  classes/org/hyperdata/resources/general/ZoomIn16.gif
  98. BIN  classes/org/hyperdata/resources/general/ZoomIn24.gif
  99. BIN  classes/org/hyperdata/resources/general/ZoomOut16.gif
  100. BIN  classes/org/hyperdata/resources/general/ZoomOut24.gif
  101. BIN  classes/org/hyperdata/resources/general/check-ok.gif
  102. BIN  classes/org/hyperdata/resources/general/check-unknown.gif
  103. BIN  classes/org/hyperdata/resources/general/tick.png
  104. BIN  classes/org/hyperdata/resources/graph/Globe16.gif
  105. BIN  classes/org/hyperdata/resources/graph/Globe24.gif
  106. BIN  classes/org/hyperdata/resources/graph/GraphIcons.class
  107. BIN  classes/org/hyperdata/resources/graph/bigred.gif
  108. BIN  classes/org/hyperdata/resources/graph/connectoff.gif
  109. BIN  classes/org/hyperdata/resources/graph/connecton.gif
  110. BIN  classes/org/hyperdata/resources/graph/copy.gif
  111. BIN  classes/org/hyperdata/resources/graph/cut.gif
  112. BIN  classes/org/hyperdata/resources/graph/delete.gif
  113. BIN  classes/org/hyperdata/resources/graph/group.gif
  114. BIN  classes/org/hyperdata/resources/graph/insert.gif
  115. BIN  classes/org/hyperdata/resources/graph/jgraph.gif
  116. BIN  classes/org/hyperdata/resources/graph/layout16.gif
  117. BIN  classes/org/hyperdata/resources/graph/layout16inv.gif
  118. BIN  classes/org/hyperdata/resources/graph/line16.gif
  119. BIN  classes/org/hyperdata/resources/graph/paste.gif
  120. BIN  classes/org/hyperdata/resources/graph/redo.gif
  121. BIN  classes/org/hyperdata/resources/graph/toback.gif
  122. BIN  classes/org/hyperdata/resources/graph/tofront.gif
  123. BIN  classes/org/hyperdata/resources/graph/undo.gif
  124. BIN  classes/org/hyperdata/resources/graph/ungroup.gif
  125. BIN  classes/org/hyperdata/resources/graph/zoom.gif
  126. BIN  classes/org/hyperdata/resources/graph/zoomin.gif
  127. BIN  classes/org/hyperdata/resources/graph/zoomout.gif
  128. BIN  classes/org/hyperdata/resources/tree/TreeIcons.class
  129. BIN  classes/org/hyperdata/resources/tree/literal16.gif
  130. BIN  classes/org/hyperdata/resources/tree/model16.gif
  131. BIN  classes/org/hyperdata/resources/tree/property16.gif
  132. BIN  classes/org/hyperdata/resources/tree/rdf_flyer.24.gif
  133. BIN  classes/org/hyperdata/resources/tree/resource16.gif
  134. BIN  classes/org/hyperdata/resources/tree/root16.gif
  135. BIN  classes/org/hyperdata/resources/tree/root16.old.gif
  136. BIN  classes/org/hyperdata/scute/rdf/ModelContainer.class
  137. BIN  classes/org/hyperdata/scute/rdf/Models.class
  138. BIN  classes/org/hyperdata/scute/rdf/RdfUtils.class
  139. +2 2 data/config.ttl
  140. +1 0  data/temp.ttl
  141. +0 1  src/org/hyperdata/scute/history/CardListImpl.java
  142. +34 26 src/org/hyperdata/scute/main/Config.java
  143. +15 0 src/org/hyperdata/scute/main/Scute.java
  144. +1 1  src/org/hyperdata/scute/main/ScuteHelp.java
  145. +1 1  src/org/hyperdata/scute/rdf/ModelContainer.java
  146. +28 13 src/org/hyperdata/scute/toolbars/file/FileUI.java
  147. +1 1  src/org/hyperdata/scute/toolbars/file/OpenDialog.java
2  .classpath
... ... @@ -1,7 +1,6 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <classpath>
3 3 <classpathentry kind="src" path="src"/>
4   - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
5 4 <classpathentry kind="lib" path="lib/javahelp/ohj.jar"/>
6 5 <classpathentry kind="lib" path="lib/javahelp/oracle_ice.jar"/>
7 6 <classpathentry kind="lib" path="lib/javahelp/help-indexer.jar"/>
@@ -38,5 +37,6 @@
38 37 <classpathentry kind="lib" path="lib/http/httpclient-cache-4.1.jar"/>
39 38 <classpathentry kind="lib" path="lib/http/httpcore-4.1.jar"/>
40 39 <classpathentry kind="lib" path="lib/http/httpmime-4.1.jar"/>
  40 + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
41 41 <classpathentry kind="output" path="classes"/>
42 42 </classpath>
12 .settings/org.eclipse.jdt.core.prefs
... ... @@ -1,12 +0,0 @@
1   -#Fri Sep 03 21:27:11 CEST 2010
2   -eclipse.preferences.version=1
3   -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
4   -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
5   -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6   -org.eclipse.jdt.core.compiler.compliance=1.6
7   -org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8   -org.eclipse.jdt.core.compiler.debug.localVariable=generate
9   -org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10   -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11   -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12   -org.eclipse.jdt.core.compiler.source=1.6
6 MANIFEST.MF
... ... @@ -1,9 +1,9 @@
1 1 Manifest-Version: 1.0
2   -Ant-Version: Apache Ant 1.7.1
3   -Created-By: 19.0-b09 (Sun Microsystems Inc.)
  2 +Ant-Version: Apache Ant 1.8.1
  3 +Created-By: 1.6.0_24-b07 (Sun Microsystems Inc.)
4 4 Built-By: Danny Ayers
5 5 Main-Class: org.hyperdata.scute.main.Scute
6   -Implementation-Version: 0.50-b18
  6 +Implementation-Version: 0.50-b19
7 7 Class-Path: Filters.jar:commons-codec-1.4.jar:commons-logging-1.1.1.ja
8 8 r:httpclient-4.1.jar:httpclient-cache-4.1.jar:httpcore-4.1.jar:httpmi
9 9 me-4.1.jar:Autohelp.jar:help-indexer.jar:help-share.jar:jewt.jar:jhal
19 bin/scute.sh
... ... @@ -1,2 +1,17 @@
1   -export CP=../lib/antlr-2.7.5.jar:../lib/iri.jar:lib/arq-extra.jar:../lib/jena.jar:../lib/arq.jar:../lib/jenatest.jar:../lib/rdftree.jar:../lib/json.jar:../lib/stax-api-1.0.jar:../lib/commons-logging-1.1.jar:../lib/junit.jar:../lib/wstx-asl-3.0.0.jar:../lib/concurrent.jar:../lib/log4j-1.2.12.jar:../lib/xercesImpl.jar:../lib/looks-2.1.4.jar:../lib/xml-apis.jar:../lib/icu4j_3_4.jar:../lib/lucene-core-2.0.0.jar
2   -java -cp $CP org.hyperdata.scute.main.Scute
  1 +#!/bin/sh
  2 +
  3 +# export JAVA_HOME=/usr/local/java
  4 +# PATH=/usr/local/java/bin:${PATH}
  5 +
  6 +# build the classpath
  7 +for i in `ls ../lib/**/*.jar`
  8 +do
  9 + CP=${CP}:${i}
  10 +done
  11 +
  12 +CP=$CP:../classes
  13 +
  14 +export CP
  15 +echo $CP
  16 +
  17 +java -cp $CP org.hyperdata.scute.main.Scute --home ../
BIN  classes/org/hyperdata/resources/general/About16.gif
BIN  classes/org/hyperdata/resources/general/About24.gif
BIN  classes/org/hyperdata/resources/general/Add16.gif
BIN  classes/org/hyperdata/resources/general/Add24.gif
BIN  classes/org/hyperdata/resources/general/AlignBottom16.gif
BIN  classes/org/hyperdata/resources/general/AlignBottom24.gif
BIN  classes/org/hyperdata/resources/general/AlignCenter16.gif
BIN  classes/org/hyperdata/resources/general/AlignCenter24.gif
BIN  classes/org/hyperdata/resources/general/AlignJustifyHorizontal16.gif
BIN  classes/org/hyperdata/resources/general/AlignJustifyHorizontal24.gif
BIN  classes/org/hyperdata/resources/general/AlignJustifyVertical16.gif
BIN  classes/org/hyperdata/resources/general/AlignJustifyVertical24.gif
BIN  classes/org/hyperdata/resources/general/AlignLeft16.gif
BIN  classes/org/hyperdata/resources/general/AlignLeft24.gif
BIN  classes/org/hyperdata/resources/general/AlignRight16.gif
BIN  classes/org/hyperdata/resources/general/AlignRight24.gif
BIN  classes/org/hyperdata/resources/general/AlignTop16.gif
BIN  classes/org/hyperdata/resources/general/AlignTop24.gif
BIN  classes/org/hyperdata/resources/general/Bookmarks16.gif
BIN  classes/org/hyperdata/resources/general/Bookmarks24.gif
BIN  classes/org/hyperdata/resources/general/Clone16.gif
BIN  classes/org/hyperdata/resources/general/Close16.gif
BIN  classes/org/hyperdata/resources/general/ComposeMail16.gif
BIN  classes/org/hyperdata/resources/general/ComposeMail24.gif
BIN  classes/org/hyperdata/resources/general/ContextualHelp16.gif
BIN  classes/org/hyperdata/resources/general/ContextualHelp24.gif
BIN  classes/org/hyperdata/resources/general/Copy of Information16.gif
BIN  classes/org/hyperdata/resources/general/Copy16.gif
BIN  classes/org/hyperdata/resources/general/Copy24.gif
BIN  classes/org/hyperdata/resources/general/Cut16.gif
BIN  classes/org/hyperdata/resources/general/Cut24.gif
BIN  classes/org/hyperdata/resources/general/Delete16.gif
BIN  classes/org/hyperdata/resources/general/Delete24.gif
BIN  classes/org/hyperdata/resources/general/Edit16.gif
BIN  classes/org/hyperdata/resources/general/Edit24.gif
BIN  classes/org/hyperdata/resources/general/Export16.gif
BIN  classes/org/hyperdata/resources/general/Export24.gif
BIN  classes/org/hyperdata/resources/general/Find16.gif
BIN  classes/org/hyperdata/resources/general/Find24.gif
BIN  classes/org/hyperdata/resources/general/FindAgain16.gif
BIN  classes/org/hyperdata/resources/general/FindAgain24.gif
BIN  classes/org/hyperdata/resources/general/GeneralIcons.class
Binary file not shown
BIN  classes/org/hyperdata/resources/general/Help16.gif
BIN  classes/org/hyperdata/resources/general/Help24.gif
BIN  classes/org/hyperdata/resources/general/History16.gif
BIN  classes/org/hyperdata/resources/general/History24.gif
BIN  classes/org/hyperdata/resources/general/Import16.gif
BIN  classes/org/hyperdata/resources/general/Import24.gif
BIN  classes/org/hyperdata/resources/general/Information16.gif
BIN  classes/org/hyperdata/resources/general/Information24.gif
BIN  classes/org/hyperdata/resources/general/New16.gif
BIN  classes/org/hyperdata/resources/general/New24.gif
BIN  classes/org/hyperdata/resources/general/Open16.gif
BIN  classes/org/hyperdata/resources/general/Open24.gif
BIN  classes/org/hyperdata/resources/general/PageSetup16.gif
BIN  classes/org/hyperdata/resources/general/PageSetup24.gif
BIN  classes/org/hyperdata/resources/general/Paste16.gif
BIN  classes/org/hyperdata/resources/general/Paste24.gif
BIN  classes/org/hyperdata/resources/general/Preferences16.gif
BIN  classes/org/hyperdata/resources/general/Preferences24.gif
BIN  classes/org/hyperdata/resources/general/Print16.gif
BIN  classes/org/hyperdata/resources/general/Print24.gif
BIN  classes/org/hyperdata/resources/general/PrintPreview16.gif
BIN  classes/org/hyperdata/resources/general/PrintPreview24.gif
BIN  classes/org/hyperdata/resources/general/Properties16.gif
BIN  classes/org/hyperdata/resources/general/Properties24.gif
BIN  classes/org/hyperdata/resources/general/Redo16.gif
BIN  classes/org/hyperdata/resources/general/Redo24.gif
BIN  classes/org/hyperdata/resources/general/Refresh16.gif
BIN  classes/org/hyperdata/resources/general/Refresh24.gif
BIN  classes/org/hyperdata/resources/general/Remove16.gif
BIN  classes/org/hyperdata/resources/general/Remove24.gif
BIN  classes/org/hyperdata/resources/general/Replace16.gif
BIN  classes/org/hyperdata/resources/general/Replace24.gif
BIN  classes/org/hyperdata/resources/general/Save16.gif
BIN  classes/org/hyperdata/resources/general/Save24.gif
BIN  classes/org/hyperdata/resources/general/SaveAll16.gif
BIN  classes/org/hyperdata/resources/general/SaveAll24.gif
BIN  classes/org/hyperdata/resources/general/SaveAs16.gif
BIN  classes/org/hyperdata/resources/general/SaveAs24.gif
BIN  classes/org/hyperdata/resources/general/Search16.gif
BIN  classes/org/hyperdata/resources/general/Search24.gif
BIN  classes/org/hyperdata/resources/general/SendMail16.gif
BIN  classes/org/hyperdata/resources/general/SendMail24.gif
BIN  classes/org/hyperdata/resources/general/Stop16.gif
BIN  classes/org/hyperdata/resources/general/Stop24.gif
BIN  classes/org/hyperdata/resources/general/TipOfTheDay16.gif
BIN  classes/org/hyperdata/resources/general/TipOfTheDay24.gif
BIN  classes/org/hyperdata/resources/general/Undo16.gif
BIN  classes/org/hyperdata/resources/general/Undo24.gif
BIN  classes/org/hyperdata/resources/general/Zoom16.gif
BIN  classes/org/hyperdata/resources/general/Zoom24.gif
BIN  classes/org/hyperdata/resources/general/ZoomIn16.gif
BIN  classes/org/hyperdata/resources/general/ZoomIn24.gif
BIN  classes/org/hyperdata/resources/general/ZoomOut16.gif
BIN  classes/org/hyperdata/resources/general/ZoomOut24.gif
BIN  classes/org/hyperdata/resources/general/check-ok.gif
BIN  classes/org/hyperdata/resources/general/check-unknown.gif
BIN  classes/org/hyperdata/resources/general/tick.png
BIN  classes/org/hyperdata/resources/graph/Globe16.gif
BIN  classes/org/hyperdata/resources/graph/Globe24.gif
BIN  classes/org/hyperdata/resources/graph/GraphIcons.class
Binary file not shown
BIN  classes/org/hyperdata/resources/graph/bigred.gif
BIN  classes/org/hyperdata/resources/graph/connectoff.gif
BIN  classes/org/hyperdata/resources/graph/connecton.gif
BIN  classes/org/hyperdata/resources/graph/copy.gif
BIN  classes/org/hyperdata/resources/graph/cut.gif
BIN  classes/org/hyperdata/resources/graph/delete.gif
BIN  classes/org/hyperdata/resources/graph/group.gif
BIN  classes/org/hyperdata/resources/graph/insert.gif
BIN  classes/org/hyperdata/resources/graph/jgraph.gif
BIN  classes/org/hyperdata/resources/graph/layout16.gif
BIN  classes/org/hyperdata/resources/graph/layout16inv.gif
BIN  classes/org/hyperdata/resources/graph/line16.gif
BIN  classes/org/hyperdata/resources/graph/paste.gif
BIN  classes/org/hyperdata/resources/graph/redo.gif
BIN  classes/org/hyperdata/resources/graph/toback.gif
BIN  classes/org/hyperdata/resources/graph/tofront.gif
BIN  classes/org/hyperdata/resources/graph/undo.gif
BIN  classes/org/hyperdata/resources/graph/ungroup.gif
BIN  classes/org/hyperdata/resources/graph/zoom.gif
BIN  classes/org/hyperdata/resources/graph/zoomin.gif
BIN  classes/org/hyperdata/resources/graph/zoomout.gif
BIN  classes/org/hyperdata/resources/tree/TreeIcons.class
Binary file not shown
BIN  classes/org/hyperdata/resources/tree/literal16.gif
BIN  classes/org/hyperdata/resources/tree/model16.gif
BIN  classes/org/hyperdata/resources/tree/property16.gif
BIN  classes/org/hyperdata/resources/tree/rdf_flyer.24.gif
BIN  classes/org/hyperdata/resources/tree/resource16.gif
BIN  classes/org/hyperdata/resources/tree/root16.gif
BIN  classes/org/hyperdata/resources/tree/root16.old.gif
BIN  classes/org/hyperdata/scute/rdf/ModelContainer.class
Binary file not shown
BIN  classes/org/hyperdata/scute/rdf/Models.class
Binary file not shown
BIN  classes/org/hyperdata/scute/rdf/RdfUtils.class
Binary file not shown
4 data/config.ttl
@@ -2,14 +2,14 @@
2 2 @prefix rev: <http://purl.org/stuff/rev#> .
3 3 @prefix mo: <http://purl.org/ontology/mo/> .
4 4 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
5   -@prefix wo: <http://purl.org/ontology/wo/> .
6 5 @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
  6 +@prefix wo: <http://purl.org/ontology/wo/> .
7 7 @prefix void: <http://rdfs.org/ns/void#> .
8 8 @prefix yagop: <http://dbpedia.org/property/yago/> .
9 9 @prefix dcterms: <http://purl.org/dc/terms/> .
10 10 @prefix dbpr: <http://dbpedia.org/resource/> .
11   -@prefix dbpo: <http://dbpedia.org/ontology/> .
12 11 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
  12 +@prefix dbpo: <http://dbpedia.org/ontology/> .
13 13 @prefix dbpp: <http://dbpedia.org/property/> .
14 14 @prefix yagoc: <http://dbpedia.org/class/yago/> .
15 15 @prefix owl: <http://www.w3.org/2002/07/owl#> .
1  data/temp.ttl
@@ -21,3 +21,4 @@
21 21 @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
22 22 @prefix x: <http://purl.org/stuff/> .
23 23
  24 +
1  src/org/hyperdata/scute/history/CardListImpl.java
@@ -59,5 +59,4 @@ public void add(Card card) {
59 59 public void remove() {
60 60 cards.remove(index);
61 61 }
62   -
63 62 }
60 src/org/hyperdata/scute/main/Config.java
@@ -25,35 +25,27 @@
25 25 */
26 26 public class Config extends ModelContainer {
27 27
28   - public static final String DATA_DIR = "data/";
29   - // set in code
30   - /** The Constant ASSEMBLER_FILENAME. */
31   - public static final String ASSEMBLER_FILENAME = "data/tdb-assembler.ttl";
  28 + public static String HELPSET;
  29 + // filenames all set up on init(DATA_DIR)
  30 + public static String DATA_DIR = "data/";
  31 + public static String ASSEMBLER_FILENAME;
  32 + public static String SPARQL_FILENAME;
  33 + public static String CONFIG_FILENAME;
  34 + public static String WORKING_MODEL_FILENAME;
  35 + public static String RDFXML_TEMP;
  36 + public static String TURTLE_TEMP;
  37 + public static String SCRATCH_FILENAME;
  38 + public static String ENDPOINTS_MODEL;
32 39
33   - public static final String CONFIG_URI = "http://purl.org/stuff/scute/application/config";
34   -
35   - public static final String SPARQL_FILENAME = "data/sparql-temp.txt";
36   -
37   - public static final String WORKING_MODEL_URI = "http://purl.org/stuff/scute/application/working";
  40 + public static String CONFIG_URI = "http://purl.org/stuff/scute/application/config";
  41 + public static String WORKING_MODEL_URI = "http://purl.org/stuff/scute/application/working";
  42 + public static String CONFIG_MODEL_URI = "http://purl.org/stuff/scute/application/config";
  43 + public static String VERSION_STRING = "Version 0.5 Beta";
  44 + public static Syntax SPARQL_SYNTAX = Syntax.syntaxSPARQL_11;
38 45
39   - public static final String CONFIG_MODEL_URI = "http://purl.org/stuff/scute/application/config";
40   -
41   - public static final String VERSION_STRING = "Version 0.5 Beta";
42   -
43   - public static final Syntax SPARQL_SYNTAX = Syntax.syntaxSPARQL_11;
44   - //quite a few alternatives there
45   -
46   - public static final String CONFIG_FILENAME = "data/config.ttl";
47   - public static final String WORKING_MODEL_FILENAME = "data/working.ttl";
48   - public static final String RDFXML_TEMP = "data/temp.rdf";
49   - public static final String TURTLE_TEMP = "data/temp.ttl";
50   - public static final String SCRATCH_FILENAME = "data/temp.txt";
51   - public static final String ENDPOINTS_MODEL = "data/endpoints.ttl";
52   -
53 46 /** The base uri. */
54 47 public static String baseUri = "http://purl.org/stuff/scute/";
55 48
56   - /** The swib resource. */
57 49 public static Resource scuteResource;
58 50
59 51 /** The model. */
@@ -73,7 +65,8 @@
73 65 private static String CONFIG_FORMAT = "Turtle";
74 66
75 67 /** The self. */
76   - public static Config self = new Config(); // seems a good name for a singleton
  68 + public static Config self; // seems a good name for a singleton
  69 + private static String SCUTE_HOME;
77 70
78 71 /**
79 72 * Instantiates a new config.
@@ -182,9 +175,9 @@ public void saveNow() {
182 175 public void load() {
183 176 try {
184 177 RdfUtils.load(model, CONFIG_FILENAME, CONFIG_FORMAT);
  178 + System.out.println("CONFIG_FILENAME="+CONFIG_FILENAME);
185 179 } catch (IOException exception) {
186 180 // do error popup
187   - System.out.println("WOOF");
188 181 Log.exception(exception);
189 182 System.exit(1);
190 183 }
@@ -296,4 +289,19 @@ public void setSelectedView(String viewName) {
296 289 public static String getAboutString() {
297 290 return "Scute "+VERSION_STRING;
298 291 }
  292 +
  293 + public static void init(String string) {
  294 + SCUTE_HOME = string;
  295 + DATA_DIR = SCUTE_HOME + "data/";
  296 + ASSEMBLER_FILENAME = DATA_DIR + "tdb-assembler.ttl";
  297 + SPARQL_FILENAME = DATA_DIR + "sparql-temp.txt";
  298 + CONFIG_FILENAME = DATA_DIR + "config.ttl";
  299 + WORKING_MODEL_FILENAME = DATA_DIR + "working.ttl";
  300 + RDFXML_TEMP = DATA_DIR + "temp.rdf";
  301 + TURTLE_TEMP = DATA_DIR + "temp.ttl";
  302 + SCRATCH_FILENAME = DATA_DIR + "temp.txt";
  303 + ENDPOINTS_MODEL = DATA_DIR + "endpoints.ttl";
  304 + HELPSET = SCUTE_HOME + "doc/www/Scute.hs";
  305 + self = new Config();
  306 + }
299 307 }
15 src/org/hyperdata/scute/main/Scute.java
@@ -88,6 +88,15 @@
88 88 * the arguments
89 89 */
90 90 public static void main(String[] args) {
  91 + String homeDir = "";
  92 + for (int i = 0; i < args.length; i++){
  93 + if(args[i].equals("--home")){
  94 + homeDir = args[i+1];
  95 + break;
  96 + }
  97 + }
  98 + Config.init(homeDir);
  99 +// System.out.println("config="+Config.self.CONFIG_FILENAME);
91 100 new Scute();
92 101 }
93 102
@@ -307,9 +316,14 @@ private void makeToolsPanel() {
307 316 panel.add(toolsPanel, BorderLayout.NORTH);
308 317 toolsPanel.setLayout(new BoxLayout(toolsPanel, BoxLayout.X_AXIS));
309 318 // controlPanel.add(splitButtons.getLeftButton()); more trouble than it was worth
  319 +
310 320 toolsPanel.add(fileUI.getToolBar());
311 321 toolsPanel.add(historyToolbar);
312 322 toolsPanel.add(editorToolbar);
  323 +
  324 +// System.out.println("fileUI.getToolBar()="+fileUI.getToolBar());
  325 +// System.out.println("historyToolbar="+historyToolbar);
  326 +// System.out.println("editorToolbar="+editorToolbar);
313 327 // controlPanel.add(splitButtons.getRightButton()); more trouble than it was worth
314 328 }
315 329
@@ -335,6 +349,7 @@ private void makeFrame() {
335 349 menuBar.add(helpUI.getHelpMenu());
336 350 menuBar.setVisible(false);
337 351 frame.setJMenuBar(menuBar);
  352 +
338 353 frame.setContentPane(panel);
339 354 // frame.pack();
340 355
2  src/org/hyperdata/scute/main/ScuteHelp.java
@@ -42,7 +42,7 @@ public static void main(String[] args) {
42 42
43 43 public ScuteHelp(){
44 44 help = new Help();
45   - File file = new File("doc/www/Scute.hs");
  45 + File file = new File(Config.HELPSET);
46 46 URL url = null;
47 47 try {
48 48 url = file.toURI().toURL();
2  src/org/hyperdata/scute/rdf/ModelContainer.java
@@ -30,7 +30,7 @@
30 30 */
31 31 public void saveModelToFile() {
32 32 try {
33   - // System.out.println("saving Model to file " + getModelURI());
  33 + // System.out.println("saving Model to file " + getModelFilename());
34 34 RdfUtils.save(getModel(), getModelFilename());
35 35 setSaved(true);
36 36 } catch (IOException exception) {
41 src/org/hyperdata/scute/toolbars/file/FileUI.java
@@ -19,6 +19,7 @@
19 19 import javax.swing.JButton;
20 20 import javax.swing.JMenu;
21 21 import javax.swing.JMenuItem;
  22 +import javax.swing.JPanel;
22 23 import javax.swing.JToolBar;
23 24
24 25 import org.hyperdata.resources.general.GeneralIcons;
@@ -56,7 +57,7 @@
56 57 private Action saveAsAction;
57 58
58 59 /** The tool bar. */
59   - private final JToolBar toolBar;
  60 + private final JPanel toolBar;
60 61
61 62 /**
62 63 * Instantiates a new file tool ui.
@@ -68,40 +69,54 @@ public FileUI(FilesInterface editor) {
68 69 this.editor = editor;
69 70 createActions();
70 71
71   - toolBar = new JToolBar();
72   - toolBar.setFloatable(false);
  72 + toolBar = new JPanel();
  73 +
73 74 fileMenu = new JMenu("File");
74 75 fileMenu.setMnemonic(KeyEvent.VK_F);
75 76
76   - final JButton newButton = toolBar.add(newAction);
77   - newButton.setBorderPainted(false);
  77 + final JButton newButton = new JButton(newAction);
  78 + newButton.setHideActionText(true);
  79 + toolBar.add(newButton);
  80 + // newButton.setBorderPainted(false);
78 81 final JMenuItem newMenuItem = fileMenu.add(newAction);
79 82 newMenuItem.setMnemonic(KeyEvent.VK_N);
80 83 newButton.setToolTipText("Create new file");
81 84
82   - final JButton openButton = toolBar.add(openAction);
  85 + final JButton openButton = new JButton(openAction);
  86 + openButton.setHideActionText(true);
  87 + toolBar.add(openButton);
83 88 final JMenuItem openMenuItem = fileMenu.add(openAction);
84 89 openButton.setToolTipText("Open file");
85 90 openMenuItem.setMnemonic(KeyEvent.VK_O);
86 91
87   - final JButton saveButton = toolBar.add(saveAction);
  92 + final JButton saveButton = new JButton(saveAction);
  93 + saveButton.setHideActionText(true);
  94 + toolBar.add(saveButton);
88 95 final JMenuItem saveMenuItem = fileMenu.add(saveAction);
89 96 saveButton.setToolTipText("Save file");
90 97 saveMenuItem.setMnemonic(KeyEvent.VK_S);
91 98
92   - final JButton saveAsButton = toolBar.add(saveAsAction);
  99 + final JButton saveAsButton = new JButton(saveAsAction);
  100 + saveAsButton.setHideActionText(true);
  101 + toolBar.add(saveAsButton);
93 102 fileMenu.add(saveAsAction);
94 103 saveAsButton.setToolTipText("Save file as...");
95 104
96   - toolBar.add(cloneAction);
  105 + final JButton cloneButton = new JButton(cloneAction);
  106 + cloneButton.setHideActionText(true);
  107 + toolBar.add(cloneButton);
97 108 fileMenu.add(cloneAction);
98   - saveAsButton.setToolTipText("Clone");
  109 + cloneButton.setToolTipText("Clone");
99 110
100   - toolBar.add(closeAction);
  111 + final JButton closeButton = new JButton(closeAction);
  112 + closeButton.setHideActionText(true);
  113 + toolBar.add(closeButton);
101 114 fileMenu.add(closeAction);
102   - saveAsButton.setToolTipText("Close file");
  115 + closeButton.setToolTipText("Close file");
103 116
  117 +
104 118 fileMenu.add(exitAction);
  119 +
105 120 }
106 121
107 122 /**
@@ -248,7 +263,7 @@ public Action getSaveAsAction() {
248 263 *
249 264 * @return the tool bar
250 265 */
251   - public JToolBar getToolBar() {
  266 + public JPanel getToolBar() {
252 267 return toolBar;
253 268 }
254 269
2  src/org/hyperdata/scute/toolbars/file/OpenDialog.java
@@ -67,7 +67,7 @@ public OpenDialog(final Frame frame) {
67 67 JButton uriButton = new JButton("Select Graph");
68 68 Dimension buttonDimension = uriButton.getPreferredSize();
69 69 fileButton.setPreferredSize(buttonDimension);
70   - final JFileChooser fc = new JFileChooser(Config.DATA_DIR);
  70 + final JFileChooser fc = new JFileChooser(Config.self.DATA_DIR);
71 71
72 72 filenamePanel.add(fileCheckBox);
73 73 filenamePanel.add(filenameTextField);

0 comments on commit 2d5125f

Please sign in to comment.
Something went wrong with that request. Please try again.