rwdtinker 1.45 → 1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. data/Readme.txt +9 -0
  2. data/code/01rwdcore/03helptexthash.rb +42 -3
  3. data/code/01rwdcore/openhelpwindow.rb +35 -10
  4. data/code/01rwdcore/rwdwindowreturn.rb +2 -1
  5. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
  6. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +0 -0
  7. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
  8. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listzips.rb +0 -0
  9. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationrecord.rb +0 -0
  10. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationvariables.rb +0 -0
  11. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
  12. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
  13. data/code/{xa5rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +2 -3
  14. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
  15. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/saveconfigurationrecord.rb +0 -0
  16. data/configuration/rwdtinkerversion.cnf +1 -1
  17. data/configuration/tinkerwin2version.cnf +1 -1
  18. data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +1 -1
  19. data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +5 -0
  20. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +1 -1
  21. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +1 -1
  22. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{40editconfiguration.rwd → 60editconfiguration.rwd} +1 -0
  23. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{3arwddiagnostics.rwd → 70rwddiagnostics.rwd} +0 -0
  24. data/rwd_files/HowTo_Tinker.txt +5 -0
  25. metadata +14 -14
data/Readme.txt CHANGED
@@ -212,6 +212,15 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
212
212
  Thanks, Steven Gibson
213
213
 
214
214
  == Changelog
215
+ version 1.46
216
+ more work on context help
217
+ window calls point to tab as well as windows
218
+ help added help buttons on Document, Selection, View Applet, tabs
219
+
220
+ version 1.45
221
+ first steps toward context sensitive help
222
+ added help button on main window/tab
223
+
215
224
  version 1.44
216
225
  updated directory structure - refactored gui files
217
226
  Changed gui directory names - more like Java package titles
@@ -1,9 +1,48 @@
1
1
  # Help files for RwdTinker core
2
2
 
3
3
 
4
- :general_help => "Viewing installed Applets: go to 'Selection tab', then go to 'List Scripts' tab",
4
+ :general_help => "You can work with Applets: go to 'Selection tab',
5
+ On that back screen you will find:
6
+ List Applets: you can see and delete installed applets
7
+ List Zips: you can see lists of applets that you can install
8
+ Edit Configuration: You can view the rwdtinker configuration and change it
9
+ Diagnostic Tab: You can view the environments variables that rwdtinker is running with
10
+ ",
5
11
  :network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the
6
12
  init.rb file to something like:\n
7
13
  RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n
8
- Then you should be able to login at: http://yourhostname:8080"
9
-
14
+ Then you should be able to login at: http://yourhostname:8080",
15
+
16
+ :applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'
17
+ To see the text of a install file
18
+ Type in the name of the file you want.
19
+
20
+ type it without the inf ending
21
+ rwdapplet-0.1
22
+
23
+ Then click the 'View Installed File' button
24
+
25
+ If it finds the file it will open it. It displays the text the search box.
26
+
27
+ You can uninstall applets on this screen",
28
+
29
+ :applet_installation => " You can download an applet created by someone else\n
30
+ put the file in the zips directory\n
31
+
32
+ click on the 'list zips' tab\n
33
+ click on 'list applets available for installing'\n
34
+
35
+ chose the applet you want\n
36
+ click on 'install applet'\n
37
+ If all goes well the applet should be installed.\n
38
+ You will need to restart rwdtinker to see the new screens",
39
+ :applet_tinkerbackeditconfiguration => " You can edit the configuration
40
+
41
+ Remember to reload the configuration variables if you want your
42
+ changes used.",
43
+ :documents_rwdtinker => "Documents:
44
+
45
+
46
+ when you click on a document name, the document should pop up in a
47
+ browser window, or in another browser tab."
48
+
@@ -1,20 +1,45 @@
1
1
  # this code is to call the help window
2
2
  def runhelpwindow
3
3
 
4
- @rwdhelptopic = $help_topic
5
- @rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}"
6
- helptopicsarray = ["general_help", "network_help"]
7
-
4
+ if @rwd_window == "main"
5
+ if @rwd_tab == "documentsrwdtinkerone"
6
+ $help_topic = "documents_rwdtinker"
7
+ end
8
+ helptopicsarray = ["general_help", "network_help","applet_installation","applet_viewing"]
9
+ $previouswindow = @rwd_window
10
+ $previoustab = @rwd_tab
11
+
12
+ end
13
+
14
+ if @rwd_window == "tinkerbackwindow"
15
+ if @rwd_tab == "filelister"
16
+ $help_topic = "applet_viewing"
17
+ helptopicsarray = ["applet_installation","general_help", "network_help"]
18
+ end
19
+ if @rwd_tab == "zipslister"
20
+ $help_topic = "applet_installation"
21
+ helptopicsarray = ["applet_installation","applet_viewing","general_help", "network_help"]
22
+ end
23
+ if @rwd_tab == "editconfigurationfile"
24
+ $help_topic = "applet_tinkerbackeditconfiguration"
25
+ helptopicsarray = ["applet_installation","applet_viewing","general_help", "network_help"]
26
+ end
27
+
28
+ $previouswindow = @rwd_window
29
+ $previoustab = @rwd_tab
30
+ end
31
+ if @rwd_window == "rwdtinkerhelpwindow"
32
+ helptopicsarray = ["general_help", "network_help","applet_installation","applet_viewing"]
33
+ end
34
+ @rwdhelptopic = $help_topic
35
+ @rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}"
8
36
  @rwdhelpsubchoicesoutput = helptopicsarray.rwd_method("choosenewhelptopic")
9
- $prevouswindow = @rwd_window
10
- @rwd_window = "rwdtinkerhelpwindow"
37
+ @rwd_window = "rwdtinkerhelpwindow"
11
38
  end
12
39
 
13
- def choosenewhelptopic(inffile)
40
+ def choosenewhelptopic(inffile)
14
41
  $help_topic = inffile
15
42
  runhelpwindow
16
-
17
- end
18
-
43
+ end
19
44
 
20
45
 
@@ -1,8 +1,9 @@
1
1
  # this code is to return to the window back from the help window
2
2
  def rwdwindowreturn
3
- $previouswindow = "main"
3
+
4
4
 
5
5
  @rwd_window = "#{$previouswindow}"
6
+ @rwd_tab = "#{$previoustab}"
6
7
  end
7
8
 
8
9
 
@@ -4,10 +4,9 @@
4
4
  # For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
5
5
 
6
6
  # call the rwdtinker helpwindow
7
- def runrwdtinkerhelpwindow
8
- @rwd_window = "rwdtinkerhelpwindow"
9
- end
7
+
10
8
  def runrwdtinkerbackwindow
11
9
  @rwd_window = "tinkerbackwindow"
10
+ @rwd_tab = "filelister"
12
11
  end
13
12
 
@@ -1,2 +1,2 @@
1
1
 
2
- RwdTinkerVersion = "1.45"
2
+ RwdTinkerVersion = "1.46"
@@ -1,3 +1,3 @@
1
1
 
2
- RwdTinkerWin2Version = "0.7"
2
+ RwdTinkerWin2Version = "0.8"
3
3
 
@@ -1,6 +1,6 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=\"one\" caption=#{Message[:documents]}>
3
+ <tab name=\"documentsrwdtinkerone\" caption=#{Message[:documents]}>
4
4
  <horizontal>
5
5
  <table>"
6
6
 
@@ -3,5 +3,10 @@ $rwdguivar=
3
3
  <row> <p align=\"left\"><a href=.>Spawn a clone Dialog window</a></p></row>
4
4
  </table>
5
5
  </horizontal>
6
+ <horizontal>
7
+
8
+ <button caption=\"Help\" action=\"runhelpwindow\"/>
9
+
10
+ </horizontal>
6
11
  </tab>"
7
12
 
@@ -10,7 +10,7 @@ $rwdguivar=
10
10
 
11
11
  <horizontal>
12
12
  <button caption=\"View Install Text\" action=\"openappletname\"/>
13
- <button caption=\"Cancel\" action=\"main\"/>
13
+ <button caption=\"Help\" action=\"runhelpwindow\"/>
14
14
  </horizontal>
15
15
  <p>%displaytext%</p>
16
16
 
@@ -9,7 +9,7 @@ $rwdguivar=
9
9
 
10
10
  <horizontal>
11
11
  <button caption=\"install applet\" action=\"installapplet\"/>
12
- <button caption=\"Cancel\" action=\"main\"/>
12
+ <button caption=\"Help\" action=\"runhelpwindow\"/>
13
13
 
14
14
  </horizontal>
15
15
  <p>%installapplettext%</p>
@@ -9,6 +9,7 @@ $rwdguivar=
9
9
  <button caption=\"Load Record\" action=\"loadconfigurationrecord\"/>
10
10
  <button caption=\"Save Changes\" action=\"saveconfigurationrecord\"/>
11
11
  <button caption=\"Reload Variables\" action=\"loadconfigurationvariables\"/>
12
+ <button caption=\"Help\" action=\"runhelpwindow\"/>
12
13
 
13
14
 
14
15
 
@@ -212,6 +212,11 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
212
212
  Thanks, Steven Gibson
213
213
 
214
214
  == Changelog
215
+ version 1.46
216
+ more work on context help
217
+ window calls point to tab as well as windows
218
+ help added help buttons on Document, Selection, View Applet, tabs
219
+
215
220
  version 1.45
216
221
  first steps toward context sensitive help
217
222
  added help button on main window/tab
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: rwdtinker
5
5
  version: !ruby/object:Gem::Version
6
- version: "1.45"
6
+ version: "1.46"
7
7
  date: 2005-01-23
8
8
  summary: rwdtinker application is a framework to program for RubyWebDialogs.
9
9
  require_paths:
@@ -29,17 +29,6 @@ files:
29
29
  - lib/temp.rb
30
30
  - code/zz0applicationend/zz0end.rb
31
31
  - code/dd0viewphoto/dd0viewphoto.rb
32
- - code/xa5rwdtinkercallable/callable.rb
33
- - code/xb1rwdtinkerbackwindow/openappletname.rb
34
- - code/xb1rwdtinkerbackwindow/removeapplet.rb
35
- - code/xb1rwdtinkerbackwindow/installapplet.rb
36
- - code/xb1rwdtinkerbackwindow/listzips.rb
37
- - code/xb1rwdtinkerbackwindow/diagnostictab.rb
38
- - code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb
39
- - code/xb1rwdtinkerbackwindow/listinstalledfiles.rb
40
- - code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
41
- - code/xb1rwdtinkerbackwindow/loadconfigurationvariables.rb
42
- - code/xb1rwdtinkerbackwindow/saveconfigurationrecord.rb
43
32
  - code/01rwdcore/rwdtinkerversion.rb
44
33
  - code/01rwdcore/openhelpwindow.rb
45
34
  - code/01rwdcore/01rwdcore.rb
@@ -47,6 +36,17 @@ files:
47
36
  - code/01rwdcore/03helptexthash.rb
48
37
  - code/01rwdcore/04helptextend.rb
49
38
  - code/01rwdcore/rwdwindowreturn.rb
39
+ - code/superant.com.rwdtinkerbackwindow/openappletname.rb
40
+ - code/superant.com.rwdtinkerbackwindow/removeapplet.rb
41
+ - code/superant.com.rwdtinkerbackwindow/installapplet.rb
42
+ - code/superant.com.rwdtinkerbackwindow/listzips.rb
43
+ - code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
44
+ - code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb
45
+ - code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb
46
+ - code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
47
+ - code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb
48
+ - code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
49
+ - code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb
50
50
  - configuration/rwdtinker.cnf
51
51
  - configuration/rwdtinkerversion.cnf
52
52
  - configuration/language.cnf
@@ -98,11 +98,11 @@ files:
98
98
  - gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
99
99
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd
100
100
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
101
- - gui/tinkerbackwindows/superant.com.tinkerbackwindow/3arwddiagnostics.rwd
101
+ - gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd
102
102
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd
103
103
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd
104
104
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd
105
- - gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd
105
+ - gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd
106
106
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
107
107
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
108
108
  - gui/frontwindowtdocumentzend/superant.com.documentsend