--- a/SettingsDialog.st Fri Nov 30 14:25:59 2012 +0000
+++ b/SettingsDialog.st Fri Nov 30 17:23:39 2012 +0000
@@ -249,6 +249,31 @@
^ AbstractLauncherApplication resourcePackName
! !
+!SettingsDialog class methodsFor:'help specs'!
+
+flyByHelpSpec
+ <resource: #help>
+
+ ^ super flyByHelpSpec addPairsFrom:#(
+
+#acceptChangedSettings
+'Accept changed settings for the current ST/X session.\Notice, that these affect the current session only.\To make the current settings the default for futre settings, save them to the settings file (using the "Save" button). Also notice, that some values affect new opened windows/tools only.'
+
+#discardChangedSettings
+'Discard changes and revert to the current active settings values'
+
+#helpOnSettings
+'Show the online documentation on the shown values in an HTML viewer'
+
+#loadSettingsFromFile
+'Load the settings from a file'
+
+#saveSettingsToFile
+'Save the current settings into a file. The "settings.stx" file is automatically read upon every fresh start of ST/X.'
+
+)
+! !
+
!SettingsDialog class methodsFor:'interface specs'!
windowSpec
@@ -324,6 +349,7 @@
tabable: true
model: saveSettingsWithoutAskingForFile
extent: (Point 126 22)
+ activeHelpKey: saveSettingsToFile
)
(ActionButtonSpec
label: 'Load From...'
@@ -332,6 +358,7 @@
tabable: true
model: loadSettingsFromFile
extent: (Point 126 22)
+ activeHelpKey: loadSettingsFromFile
)
)
@@ -391,6 +418,7 @@
tabable: true
model: doSave
enableChannel: enableOK
+ activeHelpKey: acceptChangedSettings
extent: (Point 168 22)
)
(ActionButtonSpec
@@ -400,6 +428,7 @@
tabable: true
model: doReload
enableChannel: enableReload
+ activeHelpKey: discardChangedSettings
extent: (Point 169 22)
)
(ActionButtonSpec
@@ -410,6 +439,7 @@
model: help
enableChannel: enableHelp
extent: (Point 169 22)
+ activeHelpKey: helpOnSettings
)
)
@@ -1735,15 +1765,15 @@
!SettingsDialog class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/SettingsDialog.st,v 1.98 2012/08/10 10:45:42 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/SettingsDialog.st,v 1.101 2012/11/04 21:47:51 cg Exp $'
!
version_CVS
- ^ '§Header: /cvs/stx/stx/libtool/SettingsDialog.st,v 1.98 2012/08/10 10:45:42 stefan Exp §'
+ ^ '§Header: /cvs/stx/stx/libtool/SettingsDialog.st,v 1.101 2012/11/04 21:47:51 cg Exp §'
!
version_SVN
- ^ '$Id: SettingsDialog.st 8048 2012-09-07 17:28:09Z vranyj1 $'
+ ^ '$Id: SettingsDialog.st 8074 2012-11-30 17:23:39Z vranyj1 $'
! !
SettingsDialog initialize!