Browse files

tweaked startup

  • Loading branch information...
1 parent 0bf5f93 commit 2d5125f53c3f40c3c208c689c8cbac9b6e49e814 @danja committed May 3, 2011
Showing with 104 additions and 63 deletions.
  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
View
2 .classpath
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="lib/javahelp/ohj.jar"/>
<classpathentry kind="lib" path="lib/javahelp/oracle_ice.jar"/>
<classpathentry kind="lib" path="lib/javahelp/help-indexer.jar"/>
@@ -38,5 +37,6 @@
<classpathentry kind="lib" path="lib/http/httpclient-cache-4.1.jar"/>
<classpathentry kind="lib" path="lib/http/httpcore-4.1.jar"/>
<classpathentry kind="lib" path="lib/http/httpmime-4.1.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="classes"/>
</classpath>
View
12 .settings/org.eclipse.jdt.core.prefs
@@ -1,12 +0,0 @@
-#Fri Sep 03 21:27:11 CEST 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
View
6 MANIFEST.MF
@@ -1,9 +1,9 @@
Manifest-Version: 1.0
-Ant-Version: Apache Ant 1.7.1
-Created-By: 19.0-b09 (Sun Microsystems Inc.)
+Ant-Version: Apache Ant 1.8.1
+Created-By: 1.6.0_24-b07 (Sun Microsystems Inc.)
Built-By: Danny Ayers
Main-Class: org.hyperdata.scute.main.Scute
-Implementation-Version: 0.50-b18
+Implementation-Version: 0.50-b19
Class-Path: Filters.jar:commons-codec-1.4.jar:commons-logging-1.1.1.ja
r:httpclient-4.1.jar:httpclient-cache-4.1.jar:httpcore-4.1.jar:httpmi
me-4.1.jar:Autohelp.jar:help-indexer.jar:help-share.jar:jewt.jar:jhal
View
19 bin/scute.sh
@@ -1,2 +1,17 @@
-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
-java -cp $CP org.hyperdata.scute.main.Scute
+#!/bin/sh
+
+# export JAVA_HOME=/usr/local/java
+# PATH=/usr/local/java/bin:${PATH}
+
+# build the classpath
+for i in `ls ../lib/**/*.jar`
+do
+ CP=${CP}:${i}
+done
+
+CP=$CP:../classes
+
+export CP
+echo $CP
+
+java -cp $CP org.hyperdata.scute.main.Scute --home ../
View
BIN classes/org/hyperdata/resources/general/About16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/About24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Add16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Add24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignBottom16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignBottom24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignCenter16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignCenter24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignJustifyHorizontal16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignJustifyHorizontal24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignJustifyVertical16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignJustifyVertical24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignLeft16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignLeft24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignRight16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignRight24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignTop16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/AlignTop24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Bookmarks16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Bookmarks24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Clone16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/Close16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/ComposeMail16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/ComposeMail24.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/ContextualHelp16.gif
Deleted file not rendered
View
BIN classes/org/hyperdata/resources/general/ContextualHelp24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Copy of Information16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Copy16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Copy24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Cut16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Cut24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Delete16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Delete24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Edit16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Edit24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Export16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Export24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Find16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Find24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/FindAgain16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/FindAgain24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/GeneralIcons.class
Binary file not shown.
View
BIN classes/org/hyperdata/resources/general/Help16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Help24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/History16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/History24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Import16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Import24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Information16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Information24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/New16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/New24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Open16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Open24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/PageSetup16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/PageSetup24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Paste16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Paste24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Preferences16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Preferences24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Print16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Print24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/PrintPreview16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/PrintPreview24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Properties16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Properties24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Redo16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Redo24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Refresh16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Refresh24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Remove16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Remove24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Replace16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Replace24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Save16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Save24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SaveAll16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SaveAll24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SaveAs16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SaveAs24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Search16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Search24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SendMail16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/SendMail24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Stop16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Stop24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/TipOfTheDay16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/TipOfTheDay24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Undo16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Undo24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Zoom16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/Zoom24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/ZoomIn16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/ZoomIn24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/ZoomOut16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/ZoomOut24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/check-ok.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/check-unknown.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/general/tick.png
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/Globe16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/Globe24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/GraphIcons.class
Binary file not shown.
View
BIN classes/org/hyperdata/resources/graph/bigred.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/connectoff.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/connecton.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/copy.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/cut.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/delete.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/group.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/insert.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/jgraph.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/layout16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/layout16inv.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/line16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/paste.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/redo.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/toback.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/tofront.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/undo.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/ungroup.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/zoom.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/zoomin.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/graph/zoomout.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/TreeIcons.class
Binary file not shown.
View
BIN classes/org/hyperdata/resources/tree/literal16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/model16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/property16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/rdf_flyer.24.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/resource16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/root16.gif
Diff not rendered.
View
BIN classes/org/hyperdata/resources/tree/root16.old.gif
Diff not rendered.
View
BIN classes/org/hyperdata/scute/rdf/ModelContainer.class
Binary file not shown.
View
BIN classes/org/hyperdata/scute/rdf/Models.class
Binary file not shown.
View
BIN classes/org/hyperdata/scute/rdf/RdfUtils.class
Binary file not shown.
View
4 data/config.ttl
@@ -2,14 +2,14 @@
@prefix rev: <http://purl.org/stuff/rev#> .
@prefix mo: <http://purl.org/ontology/mo/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix wo: <http://purl.org/ontology/wo/> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
+@prefix wo: <http://purl.org/ontology/wo/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix yagop: <http://dbpedia.org/property/yago/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dbpr: <http://dbpedia.org/resource/> .
-@prefix dbpo: <http://dbpedia.org/ontology/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix dbpo: <http://dbpedia.org/ontology/> .
@prefix dbpp: <http://dbpedia.org/property/> .
@prefix yagoc: <http://dbpedia.org/class/yago/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
View
1 data/temp.ttl
@@ -21,3 +21,4 @@
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix x: <http://purl.org/stuff/> .
+
View
1 src/org/hyperdata/scute/history/CardListImpl.java
@@ -59,5 +59,4 @@ public void add(Card card) {
public void remove() {
cards.remove(index);
}
-
}
View
60 src/org/hyperdata/scute/main/Config.java
@@ -25,35 +25,27 @@
*/
public class Config extends ModelContainer {
- public static final String DATA_DIR = "data/";
- // set in code
- /** The Constant ASSEMBLER_FILENAME. */
- public static final String ASSEMBLER_FILENAME = "data/tdb-assembler.ttl";
+ public static String HELPSET;
+ // filenames all set up on init(DATA_DIR)
+ public static String DATA_DIR = "data/";
+ public static String ASSEMBLER_FILENAME;
+ public static String SPARQL_FILENAME;
+ public static String CONFIG_FILENAME;
+ public static String WORKING_MODEL_FILENAME;
+ public static String RDFXML_TEMP;
+ public static String TURTLE_TEMP;
+ public static String SCRATCH_FILENAME;
+ public static String ENDPOINTS_MODEL;
- public static final String CONFIG_URI = "http://purl.org/stuff/scute/application/config";
-
- public static final String SPARQL_FILENAME = "data/sparql-temp.txt";
-
- public static final String WORKING_MODEL_URI = "http://purl.org/stuff/scute/application/working";
+ public static String CONFIG_URI = "http://purl.org/stuff/scute/application/config";
+ public static String WORKING_MODEL_URI = "http://purl.org/stuff/scute/application/working";
+ public static String CONFIG_MODEL_URI = "http://purl.org/stuff/scute/application/config";
+ public static String VERSION_STRING = "Version 0.5 Beta";
+ public static Syntax SPARQL_SYNTAX = Syntax.syntaxSPARQL_11;
- public static final String CONFIG_MODEL_URI = "http://purl.org/stuff/scute/application/config";
-
- public static final String VERSION_STRING = "Version 0.5 Beta";
-
- public static final Syntax SPARQL_SYNTAX = Syntax.syntaxSPARQL_11;
- //quite a few alternatives there
-
- public static final String CONFIG_FILENAME = "data/config.ttl";
- public static final String WORKING_MODEL_FILENAME = "data/working.ttl";
- public static final String RDFXML_TEMP = "data/temp.rdf";
- public static final String TURTLE_TEMP = "data/temp.ttl";
- public static final String SCRATCH_FILENAME = "data/temp.txt";
- public static final String ENDPOINTS_MODEL = "data/endpoints.ttl";
-
/** The base uri. */
public static String baseUri = "http://purl.org/stuff/scute/";
- /** The swib resource. */
public static Resource scuteResource;
/** The model. */
@@ -73,7 +65,8 @@
private static String CONFIG_FORMAT = "Turtle";
/** The self. */
- public static Config self = new Config(); // seems a good name for a singleton
+ public static Config self; // seems a good name for a singleton
+ private static String SCUTE_HOME;
/**
* Instantiates a new config.
@@ -182,9 +175,9 @@ public void saveNow() {
public void load() {
try {
RdfUtils.load(model, CONFIG_FILENAME, CONFIG_FORMAT);
+ System.out.println("CONFIG_FILENAME="+CONFIG_FILENAME);
} catch (IOException exception) {
// do error popup
- System.out.println("WOOF");
Log.exception(exception);
System.exit(1);
}
@@ -296,4 +289,19 @@ public void setSelectedView(String viewName) {
public static String getAboutString() {
return "Scute "+VERSION_STRING;
}
+
+ public static void init(String string) {
+ SCUTE_HOME = string;
+ DATA_DIR = SCUTE_HOME + "data/";
+ ASSEMBLER_FILENAME = DATA_DIR + "tdb-assembler.ttl";
+ SPARQL_FILENAME = DATA_DIR + "sparql-temp.txt";
+ CONFIG_FILENAME = DATA_DIR + "config.ttl";
+ WORKING_MODEL_FILENAME = DATA_DIR + "working.ttl";
+ RDFXML_TEMP = DATA_DIR + "temp.rdf";
+ TURTLE_TEMP = DATA_DIR + "temp.ttl";
+ SCRATCH_FILENAME = DATA_DIR + "temp.txt";
+ ENDPOINTS_MODEL = DATA_DIR + "endpoints.ttl";
+ HELPSET = SCUTE_HOME + "doc/www/Scute.hs";
+ self = new Config();
+ }
}
View
15 src/org/hyperdata/scute/main/Scute.java
@@ -88,6 +88,15 @@
* the arguments
*/
public static void main(String[] args) {
+ String homeDir = "";
+ for (int i = 0; i < args.length; i++){
+ if(args[i].equals("--home")){
+ homeDir = args[i+1];
+ break;
+ }
+ }
+ Config.init(homeDir);
+// System.out.println("config="+Config.self.CONFIG_FILENAME);
new Scute();
}
@@ -307,9 +316,14 @@ private void makeToolsPanel() {
panel.add(toolsPanel, BorderLayout.NORTH);
toolsPanel.setLayout(new BoxLayout(toolsPanel, BoxLayout.X_AXIS));
// controlPanel.add(splitButtons.getLeftButton()); more trouble than it was worth
+
toolsPanel.add(fileUI.getToolBar());
toolsPanel.add(historyToolbar);
toolsPanel.add(editorToolbar);
+
+// System.out.println("fileUI.getToolBar()="+fileUI.getToolBar());
+// System.out.println("historyToolbar="+historyToolbar);
+// System.out.println("editorToolbar="+editorToolbar);
// controlPanel.add(splitButtons.getRightButton()); more trouble than it was worth
}
@@ -335,6 +349,7 @@ private void makeFrame() {
menuBar.add(helpUI.getHelpMenu());
menuBar.setVisible(false);
frame.setJMenuBar(menuBar);
+
frame.setContentPane(panel);
// frame.pack();
View
2 src/org/hyperdata/scute/main/ScuteHelp.java
@@ -42,7 +42,7 @@ public static void main(String[] args) {
public ScuteHelp(){
help = new Help();
- File file = new File("doc/www/Scute.hs");
+ File file = new File(Config.HELPSET);
URL url = null;
try {
url = file.toURI().toURL();
View
2 src/org/hyperdata/scute/rdf/ModelContainer.java
@@ -30,7 +30,7 @@
*/
public void saveModelToFile() {
try {
- // System.out.println("saving Model to file " + getModelURI());
+ // System.out.println("saving Model to file " + getModelFilename());
RdfUtils.save(getModel(), getModelFilename());
setSaved(true);
} catch (IOException exception) {
View
41 src/org/hyperdata/scute/toolbars/file/FileUI.java
@@ -19,6 +19,7 @@
import javax.swing.JButton;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
+import javax.swing.JPanel;
import javax.swing.JToolBar;
import org.hyperdata.resources.general.GeneralIcons;
@@ -56,7 +57,7 @@
private Action saveAsAction;
/** The tool bar. */
- private final JToolBar toolBar;
+ private final JPanel toolBar;
/**
* Instantiates a new file tool ui.
@@ -68,40 +69,54 @@ public FileUI(FilesInterface editor) {
this.editor = editor;
createActions();
- toolBar = new JToolBar();
- toolBar.setFloatable(false);
+ toolBar = new JPanel();
+
fileMenu = new JMenu("File");
fileMenu.setMnemonic(KeyEvent.VK_F);
- final JButton newButton = toolBar.add(newAction);
- newButton.setBorderPainted(false);
+ final JButton newButton = new JButton(newAction);
+ newButton.setHideActionText(true);
+ toolBar.add(newButton);
+ // newButton.setBorderPainted(false);
final JMenuItem newMenuItem = fileMenu.add(newAction);
newMenuItem.setMnemonic(KeyEvent.VK_N);
newButton.setToolTipText("Create new file");
- final JButton openButton = toolBar.add(openAction);
+ final JButton openButton = new JButton(openAction);
+ openButton.setHideActionText(true);
+ toolBar.add(openButton);
final JMenuItem openMenuItem = fileMenu.add(openAction);
openButton.setToolTipText("Open file");
openMenuItem.setMnemonic(KeyEvent.VK_O);
- final JButton saveButton = toolBar.add(saveAction);
+ final JButton saveButton = new JButton(saveAction);
+ saveButton.setHideActionText(true);
+ toolBar.add(saveButton);
final JMenuItem saveMenuItem = fileMenu.add(saveAction);
saveButton.setToolTipText("Save file");
saveMenuItem.setMnemonic(KeyEvent.VK_S);
- final JButton saveAsButton = toolBar.add(saveAsAction);
+ final JButton saveAsButton = new JButton(saveAsAction);
+ saveAsButton.setHideActionText(true);
+ toolBar.add(saveAsButton);
fileMenu.add(saveAsAction);
saveAsButton.setToolTipText("Save file as...");
- toolBar.add(cloneAction);
+ final JButton cloneButton = new JButton(cloneAction);
+ cloneButton.setHideActionText(true);
+ toolBar.add(cloneButton);
fileMenu.add(cloneAction);
- saveAsButton.setToolTipText("Clone");
+ cloneButton.setToolTipText("Clone");
- toolBar.add(closeAction);
+ final JButton closeButton = new JButton(closeAction);
+ closeButton.setHideActionText(true);
+ toolBar.add(closeButton);
fileMenu.add(closeAction);
- saveAsButton.setToolTipText("Close file");
+ closeButton.setToolTipText("Close file");
+
fileMenu.add(exitAction);
+
}
/**
@@ -248,7 +263,7 @@ public Action getSaveAsAction() {
*
* @return the tool bar
*/
- public JToolBar getToolBar() {
+ public JPanel getToolBar() {
return toolBar;
}
View
2 src/org/hyperdata/scute/toolbars/file/OpenDialog.java
@@ -67,7 +67,7 @@ public OpenDialog(final Frame frame) {
JButton uriButton = new JButton("Select Graph");
Dimension buttonDimension = uriButton.getPreferredSize();
fileButton.setPreferredSize(buttonDimension);
- final JFileChooser fc = new JFileChooser(Config.DATA_DIR);
+ final JFileChooser fc = new JFileChooser(Config.self.DATA_DIR);
filenamePanel.add(fileCheckBox);
filenamePanel.add(filenameTextField);

0 comments on commit 2d5125f

Please sign in to comment.