rubyslippers 0.96 → 0.97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/Readme.txt +299 -191
  2. data/code/{00rwdtinkercore/aa0begin.rb → 01rwdcore/01rwdcore.rb} +2 -0
  3. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  4. data/code/01rwdcore/03helptexthash.rb +48 -0
  5. data/code/01rwdcore/04helptextend.rb +6 -0
  6. data/code/01rwdcore/openhelpwindow.rb +45 -0
  7. data/code/01rwdcore/rwdwindowreturn.rb +11 -0
  8. data/code/dd0viewphoto/dd0viewphoto.rb +4 -0
  9. data/code/superant.com.rubyslippers/helptexthashrubyslippers.rb +43 -0
  10. data/code/superant.com.rubyslippers/loadconfigurationrecord.rb +34 -0
  11. data/code/superant.com.rubyslippers/loadconfigurationvariables.rb +13 -0
  12. data/code/superant.com.rubyslippers/openhelpwindowrubyslippers.rb +33 -0
  13. data/code/superant.com.rubyslippers/runrubyslipperswindow.rb +1 -0
  14. data/code/superant.com.rubyslippers/saveconfigurationrecord.rb +18 -0
  15. data/code/superant.com.rubyslippersbackwindow/listgemspecrecord.rb +8 -3
  16. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationrecord.rb +1 -1
  17. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationvariables.rb +1 -1
  18. data/code/{xa5rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +2 -3
  19. data/configuration/rubyslippers.cnf +7 -7
  20. data/configuration/rubyslippersversion.cnf +1 -1
  21. data/configuration/rwdtinker.cnf +3 -0
  22. data/configuration/rwdtinkerversion.cnf +1 -1
  23. data/configuration/tinkerwin2version.cnf +1 -1
  24. data/gui/frontwindow0/superant.com.rubyslippers/30viewgemdata.rwd +1 -1
  25. data/gui/frontwindow0/superant.com.rubyslippers/60installgem.rwd +1 -1
  26. data/gui/frontwindow0/superant.com.rubyslippers/80gemcommands.rwd +1 -1
  27. data/gui/frontwindow0/superant.com.rubyslippers/85gemfilesinstalled.rwd +1 -1
  28. data/gui/frontwindow0/superant.com.rubyslippers/92viewconfiguration.rwd +31 -9
  29. data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +1 -1
  30. data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +1 -1
  31. data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +5 -0
  32. data/gui/tinkerbackwindows/superant.com.rubyslippersbackwindow/3viewgemspec.rwd +1 -1
  33. data/gui/tinkerbackwindows/superant.com.rubyslippersbackwindow/92viewconfiguration.rwd +16 -0
  34. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +1 -1
  35. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +1 -1
  36. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{40editconfiguration.rwd → 60editconfiguration.rwd} +1 -0
  37. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +32 -0
  38. data/rwd_files/HowTo_RubySlippers.txt +4 -0
  39. data/rwd_files/HowTo_Tinker.txt +9 -0
  40. metadata +34 -25
  41. data/gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd +0 -17
  42. data/installed/rwdtinkerwin2-0.5.inf +0 -8
  43. data/installed/rwdviewlogo-0.4.inf +0 -4
  44. data/rubyslippers-0.96.gem +0 -0
  45. /data/code/{00rwdtinkercore → 01rwdcore}/rwdtinkerversion.rb +0 -0
  46. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
  47. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +0 -0
  48. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
  49. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listzips.rb +0 -0
  50. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
  51. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
  52. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
  53. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/saveconfigurationrecord.rb +0 -0
  54. /data/gui/tinkerbackwindows/superant.com.rubyslippersbackwindow/{7rwddiagnostics.rwd → 94rwddiagnostics.rwd} +0 -0
  55. /data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{3arwddiagnostics.rwd → 70rwddiagnostics.rwd} +0 -0
  56. /data/gui/tinkerbackwindows/{superant.com.tinercallablewindow → superant.com.tinkerhelpwindow}/9end.rwd +0 -0
data/Readme.txt CHANGED
@@ -1,132 +1,131 @@
1
- = RubySlippers Frontend for RubyGems
2
-
3
- How To use RubySlippers - a frontend for RubyGems
4
-
5
-
6
- The configuration file is at:
7
- configuration/rubyslippers.cnf
8
-
9
- There you can change the location of your gemspec files.
10
-
11
-
12
- = Quick Start
13
-
14
- You should unzip the program in a directory you have assess to.
15
-
16
- at the command line run:
17
- ruby init.rb
18
- Point your browser at
19
- http://localhost:7705
20
- or where it tells you
21
-
22
-
23
- = View Gem
24
-
25
-
26
- Use the "View Gem" tab
27
-
28
- You can view the list of gems you have installed
29
- by clicking on the list files button
30
-
31
- You can view the contents of the gemspec file by typing or pasting a name in.
32
-
33
- When you are finished press the open button (leave off the .gemspec ending)
34
-
35
-
36
-
37
- = Install Gem
38
-
39
-
40
- Using the "Install Gem" tab
41
-
42
-
43
- You can list the Gems available in the repository
44
- Click on the button.
45
- It will take several seconds then should show the list.
46
-
47
-
48
- To install a gem, enter the name into to textbox and
49
- click on the install Gem button
50
- You should see the result of the command on the screen
51
-
52
- You can check in the first tab if it is installed.
53
-
54
-
55
- = Gem Commands:
56
-
57
-
58
- Go to "Gem Commands" tab
59
-
60
- <blockquote/>
61
- You can view the setup that Gem has on your system.
62
-
63
- Click on Show Environment
64
- This will show your setup
65
-
66
- You can run a Gem command or a shell command
67
- Enter the command in the box and press the
68
- Run Command button
69
-
70
- It displays the result of the command on the screen.
71
-
72
-
73
- = Gem Files:
74
-
75
-
76
- Go to "Gem Files" tab
77
-
78
-
79
- You can view the files that are installed for applications
80
-
81
- Click on Show Gem Dirs
82
- This will show your list of Gems installed
83
-
84
-
85
- Click on Show Application Files
86
- This will show your list of files installed
1
+ = RwdTinker framework for RubyWebDialogs
2
+
3
+
4
+ RwdTinker is a web brower interface to and system for developing programs
5
+
6
+ == Usage
7
+
8
+
9
+ How to Use the Tinker framework Program (rwdtinker)
10
+
11
+
12
+ 1. stand alone application
13
+ 2. framework for building applications
14
+ 3. Open brower windows with html documents
15
+
16
+ The GUI interface used is RubyWebDialogs
17
+
18
+
19
+ Start the program by typing
20
+ ruby init.rb
21
+
22
+ Then point your web browser to:
23
+ http://localhost:7705/
24
+
25
+
26
+ == Viewing installed Applets:
27
+
28
+
29
+ Go to "List Scripts" tab
30
+
31
+
32
+ You can get a list of all installed applets by clicking the listfiles button
33
+
34
+ To see the text of a install file
35
+ Type in the name of the file you want.
36
+
37
+ type it without the inf ending
38
+ rwdapplet-0.1
39
+
40
+ Then click the "View Installed File" button
87
41
 
88
- == Rubyslippers Back Window
42
+ If it finds the file it will open it. It displays the text the search box.
43
+
44
+ You can uninstall applets on this screen
45
+
46
+ == Installing Applets
47
+
48
+ click on the "Selection Panel"
49
+ click on Rwdtinker Back Window
50
+
51
+ You can download an applet created by someone else
52
+ put the file in the zips directory
53
+
54
+ click on the "list zips" tab
55
+ click on "list applets available for installing"
56
+
57
+ chose the applet you want
58
+ click on "install applet"
59
+ If all goes well the applet should be installed.
60
+ You will need to restart rwdtinker to see the new screens
61
+
62
+
63
+ == Changing configuration file
89
64
 
90
- From the Selection Panel you can click on the Rubyslippers Back Window
91
- This window has tabs to help you in building gems
65
+ click on "Edit Configuration"
66
+ You can view the configuration file
92
67
 
93
- == Add Info
68
+ You can edit the configuration
69
+
70
+ Remember to reload the configuration variables if you want your
71
+ changes used.
72
+
73
+ == Manually installing applets
74
+
75
+ * unzip an applet
76
+
77
+ unzip the applet into the program directoy
78
+ unzip randomapplet.zip
79
+
80
+ This should place the needed files in the correct directories
81
+
82
+
83
+ == Creating Applets
84
+
85
+ To add code, commands and gui tabs
86
+
87
+ Move program files into a directory under the code directory.
88
+ Move gui files into a directory under the gui directory.
89
+ The gui directory name you create is important, because the gui
90
+ rwd file is built in alpha order by directory name
91
+
92
+
93
+ There are two ways to add applets to the directories.
94
+
95
+ Creating code
96
+
94
97
 
95
- To view gemspecs you already have see the View Gemspec tab
98
+ * Manually write code and gui files
96
99
 
97
- For edits to gemspec go to the Edit Gem tab
100
+ The files go into your code directory
101
+ the filenames for code do not matter
102
+
103
+ The gui files go into your gui directory
104
+ The gui files need to be in order by name and end with .rwd
105
+
106
+
107
+
108
+ If you need a config file that goes in the configuration directory
109
+
110
+ internationalization and localization are helped by replacing the
111
+ gui files in the subdirectories under gui
98
112
 
99
- At the Build Gem tab
100
- You can
101
- Rename gemspec
102
- Delete gemspec
103
- copy gemspec
104
-
105
- When building a gem the
106
- The Gem name should be pointing to the Gemspec that you want
107
- Gem Directory box should be pointing to the top directory of you source files
108
-
109
-
110
-
111
- Have alot of fun!
112
- give me bug reports and suggestions.
113
-
114
-
115
-
116
- = Problem solving
117
-
118
-
119
- On my Linux system I changed permissions on my gem directory to allow
120
- the nonprovileged user to install gems.
121
-
122
-
123
- = Documents
124
-
125
-
126
- when you click on a document name, the document should pop up in a
127
- browser window, or in another browser tab.
128
-
113
+
114
+ == Documents
115
+
129
116
 
117
+ when you click on a document name, the document should pop up in a
118
+ browser window, or in another browser tab.
119
+
120
+ To exit, press the x inside the browser window.
121
+
122
+ == Languages
123
+
124
+
125
+ You can add tranlations in the lang subdirectory
126
+ You change the $lang constant in Tinker config file in the configuration directory
127
+ You can see one translation on the install applet tab, after you have installed and applet
128
+
130
129
  == Using over a Network
131
130
 
132
131
  To serve the application over your local LAN,change the last line in the
@@ -144,76 +143,185 @@ user2 = pass phrase
144
143
  Thus the file .rwduids might contain:
145
144
 
146
145
  erik = secret
146
+
147
+ == Requirements:
148
+ RubyWebDialogs - I am using 0.1.2
149
+ This package you downloaded should have a runtime version of
150
+ the needed rubywebdialog files
151
+
152
+ Ruby I am using version 1.8.2
147
153
 
148
- ==Contacts
149
-
150
- For more information see:
151
- http://rwdapplications.rubyforge.org/wiki/wiki.pl
152
-
153
-
154
- For more information about RubyWebDialogs see:
155
- http://www.erikveen.dds.nl/rubywebdialogs/index.html
156
-
157
- Thanks, Steven Gibson
158
-
159
- =Changelog
160
- Version 0.96
161
- updated for rwdtinker 1.44 - refactored gui files
154
+ I have tested this under Linux-Debian kernel 2.6.9
155
+
156
+ = Operation:
157
+ The code files reside in the code directory and are combined before
158
+ the main Class is loaded
159
+
160
+ The rwd files in gui are combined before the gui is activated
161
+
162
+ Translated text reside in the lang directory
163
+
164
+ == Installing:
165
+
166
+ untar the file
167
+ tar zxvf rwdtinker-x.y.tar.gz
168
+ then cd to the directory
169
+ cd rwdshell-x.y
170
+ then start the init.rb program file
171
+ ruby init.rb
172
+ Then point your browser at http://localhost:7705
173
+ or where it tells you.
174
+ Trouble shooting:
175
+
176
+ If the program is not working, try looking at the ev subdirectory. That is where
177
+ the runtime of rubywebdialogs are.
178
+
179
+ for long term installation, I would suggest putting most files in a lib directory
180
+ like /usr/lib/rwdshell
181
+ then make a writable directory the local directory for command files to be written
182
+ like ~/rwdshell
183
+
184
+
185
+ Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
186
+
187
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
188
+
189
+ RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
190
+
191
+ == Credits
192
+
193
+ Thanks go to:
194
+
195
+ * Matz, for creating Ruby in the first place.
196
+ * Erik, for creating RubyWebDialogs.
197
+ * Charlotte, my wife for coming up for the name Tinker.
198
+
199
+ == License
200
+
201
+ rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
202
+ under the terms of the GPL licence:
203
+
204
+ == Contact
205
+ For more information see:
206
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
207
+
208
+
209
+ For more information about RubyWebDialogs see:
210
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
211
+
212
+ Thanks, Steven Gibson
213
+
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
+
224
+ version 1.44
225
+ updated directory structure - refactored gui files
162
226
  Changed gui directory names - more like Java package titles
163
- added error feedback on gem commands
164
-
165
-
166
- Version 0.95
167
- Updated for version 1.42 - semi-live updates should work
168
- Changed gem commands tab - added pull down choices
169
- Added tab for viewing Rubyslippers configuration file
170
- Added back window with tabs for building gems
171
- Added list gemspec files
172
- view a gemspec file
173
- Edit a gemspec
174
- Rename, copy, delete gemspec file
175
- build gem
176
-
177
- Version 0.94
178
- Updated to version 1.4 of rwdtinker
179
- added more i18n fixes
180
- updated l10n files es, jp, nl
227
+
228
+ version 1.43
229
+ changed setup variables file for live changes
230
+ added editing and reloading of config file
231
+ added unzip filename to config file
232
+
233
+ version 1.42
234
+ update for live update system
235
+ update applets for live update
236
+ code file name cleanup
237
+
238
+ version 1.41
239
+ l10n work es,nl, jp
240
+ separated out languge.cnf
241
+ added zip applets refreshacpi, rwdcalc
242
+
243
+ version 1.40
244
+ removed extra lines from init.rb
245
+ fixed help second window
246
+ added some tranlations for Spanish
247
+ More work on l10n
248
+
249
+ version 1.3
250
+ refactored gui files to do easier i10n
251
+ removed lang directories under gui
252
+ added lang files under lang dir
253
+ removed redundant code files left from moving applet handling to back window
254
+ removed zipped applets not yet refactored
255
+
256
+ version 1.24
257
+ added internet usage instructions to HowTo_Tinker.txt
258
+ removed HowTo_Tinker.html
259
+ added panels for Helpabout
260
+ changed photo logo tab to only have embedded picture, no button
261
+
262
+ version 1.23
263
+ moving diagnostic tab and applet handling tabs to second window
264
+ added selection panel tab to choose secondary windows.
265
+
266
+ version 1.21
267
+ changing version on help screen to be button
268
+ added version window
269
+ added diagnostic tab
181
270
 
271
+ version 1.2
272
+ added gemspec for creating a rwdtinker.gem
273
+ added rdoc comments
274
+ changed order on remove applets tab
275
+
276
+ version 1.1
277
+ changed order of elements on install applet tab
278
+ Add more i81n ablility - added lang directorys for language hash files
279
+ added in test file using WATIR stands for "Web Application Testing In Ruby,
280
+
281
+ version 1.0
282
+ Improved name selection in zips and applet screens
283
+ added rubyslippers applet and rwdrefreshacpi applets as zips
284
+
285
+ version 0.9
286
+ Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
287
+ updated RubyWebDialogs for people who do not have it installed
288
+ added rwdschedule applet as zip file
289
+
290
+ version 0.8
291
+ changed location of code files
292
+ only directory of code files needs to be added to inf file
293
+ changed location of gui files
294
+ only directory of gui files needs to be added to inf file
295
+ Added constants in conf file for code location and gui location
296
+ removed all zips not yt updated to new directory layout
297
+ change loading of conf files to not need intermediate file
298
+ and favicon.ico
299
+
300
+ version 0.7
301
+ moved changelog to HowTo_Tinker.html
302
+ copied english gui text to the dirs I think we should translate to
303
+ update backup zip files to newest versions
304
+ upgraded the ev directory - for those who don't have RubyWebDialogs
305
+
306
+ version 0.6
307
+ updated version number
308
+ changed merge name to rwdtinker.rb
309
+
310
+ version 0.4
311
+ added zip listing and installing - Linux only
312
+
313
+ Version 0,3
314
+ changed name to Tinker
315
+
316
+ Version 0.2
317
+ added some i18n directories for the gui files
318
+
319
+ Version 0.1
320
+ first public version released
321
+ includes document screen
322
+ Open Photo screen
323
+ included configuration directory
324
+ zips directories
325
+ installed directory
326
+ installed applet lister
182
327
 
183
- Version 0.93
184
- Updated to version 1.3 of rwdtinker
185
-
186
- Version 0.92
187
- Added to version 1.23 of rwdtinker
188
- created gemspec
189
-
190
- Version 0.91
191
- Changed download of remote gem list - should now work on XP - avoids SystemStackError
192
- added txt file to hold downloaded list
193
- Changed order on list installed gems directories
194
- Fixed view gemspec - it was totally broken! (bug introduced in 0.8)
195
-
196
- Version 0.9
197
- Added scan for gem_server
198
- links for gem_server content
199
-
200
- Version 0.8
201
- Improved file selection
202
-
203
- Version 0.7
204
- Was updated to work with rwdtinker version 0.9
205
-
206
- Version 0.6
207
- fixes to work under XP
208
- wrong variable in listfiles function
209
- added configuration for XP vs Linux systems
210
- updated the rwdrefreshacpi applet in zips
211
-
212
- Version 0.5
213
- first applet
214
- added gem files tab - should list install app files
215
-
216
- Version 0.4
217
- first public version released
218
- using rwdtinker framework
219
-
@@ -10,6 +10,8 @@ class RwdTinker < RWDialog
10
10
  @rwd_window = "main"
11
11
  @result = "idle"
12
12
  @display= "idle"
13
+
14
+
13
15
  end
14
16
 
15
17
  def inspect
@@ -0,0 +1,4 @@
1
+
2
+
3
+ Helptext = Hash.new { |hh, kk| hh[kk] = "ERROR: Identificador de mensaje desconocido: #{kk.inspect}."; hh[kk] }
4
+ helpmessage = {
@@ -0,0 +1,48 @@
1
+ # Help files for RwdTinker core
2
+
3
+
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
+ ",
11
+ :network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the
12
+ init.rb file to something like:\n
13
+ RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n
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
+
@@ -0,0 +1,6 @@
1
+
2
+ }
3
+ helpmessage.each { |kk, vv| Helptext[kk] = vv }
4
+
5
+
6
+
@@ -0,0 +1,45 @@
1
+ # this code is to call the help window
2
+ def runhelpwindow
3
+
4
+ if @rwd_window == "main"
5
+ if @rwd_tab == "documentsrwdtinkerone"
6
+ $help_topic = "documents_rwdtinker"
7
+ end
8
+ $helptopicsarray = $helptopicsarray | ["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 = $helptopicsarray | ["applet_installation","applet_viewing"]
18
+ end
19
+ if @rwd_tab == "zipslister"
20
+ $help_topic = "applet_installation"
21
+ $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
22
+ end
23
+ if @rwd_tab == "editconfigurationfile"
24
+ $help_topic = "applet_tinkerbackeditconfiguration"
25
+ $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
26
+ end
27
+
28
+ $previouswindow = @rwd_window
29
+ $previoustab = @rwd_tab
30
+ end
31
+ if @rwd_window == "rwdtinkerhelpwindow"
32
+ $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
33
+ end
34
+ @rwdhelptopic = $help_topic
35
+ @rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}"
36
+ @rwdhelpsubchoicesoutput = $helptopicsarray.rwd_method("choosenewhelptopic")
37
+ @rwd_window = "rwdtinkerhelpwindow"
38
+ end
39
+
40
+ def choosenewhelptopic(inffile)
41
+ $help_topic = inffile
42
+ runhelpwindow
43
+ end
44
+
45
+
@@ -0,0 +1,11 @@
1
+ # this code is to return to the window back from the help window
2
+ def rwdwindowreturn
3
+
4
+
5
+ @rwd_window = "#{$previouswindow}"
6
+ @rwd_tab = "#{$previoustab}"
7
+ end
8
+
9
+
10
+
11
+
@@ -0,0 +1,4 @@
1
+ def viewphoto
2
+ @rwd_window = "photo"
3
+
4
+ end
@@ -0,0 +1,43 @@
1
+
2
+
3
+ Helptext.update( :rubyslippers_generalhelp => " You can view the list of gems you have installed
4
+ by clicking on the list files button
5
+
6
+ You can view the contents of the gemspec file by typing or pasting a name in.
7
+
8
+ When you are finished press the open button (leave off the .gemspec ending) ",
9
+ :Install_Gem => "You can list the Gems available in the repository
10
+ Click on the button.
11
+ It will take several seconds then should show the list.
12
+
13
+ To install a gem, enter the name into to textbox and
14
+ click on the install Gem button
15
+ You should see the result of the command on the screen
16
+
17
+ You can check in the first tab if it is installed.",
18
+ :GemCommands_help => "You can view the setup that Gem has on your system.
19
+
20
+ Click on Show Environment
21
+ This will show your setup
22
+
23
+ You can run a Gem command or a shell command
24
+ Enter the command in the box and press the
25
+ Run Command button
26
+
27
+ It displays the result of the command on the screen.",
28
+ :gemfiles_help => "You can view the files that are installed for applications
29
+
30
+ Click on Show Gem Dirs
31
+ This will show your list of Gems installed
32
+
33
+
34
+ Click on Show Application Files
35
+ This will show your list of files installed",
36
+ :gemdocs_help => "You can scan for the Gem doc server.
37
+
38
+ If the gem doc server is running you can click and view the docs
39
+ The docs for installed Gems should be visible "
40
+
41
+
42
+
43
+ )