|
Class: DidYouKnowTipViewer
Object
|
+--Model
|
+--ApplicationModel
|
+--DidYouKnowTipViewer
- Package:
- stx:libhtml
- Category:
- System-Documentation
- Version:
- rev:
1.43
date: 2024/03/19 11:50:28
- user: cg
- file: DidYouKnowTipViewer.st directory: libhtml
- module: stx stc-classLibrary: libhtml
shows 'did you know' tips.
The tips are found in a folder as individual html documents,
which are chosen randomly.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2008 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
image specs
-
stxIcon
-
stxIcon
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:DidYouKnowTipViewer andSelector:#windowSpec
DidYouKnowTipViewer new openInterface:#windowSpec
DidYouKnowTipViewer open
|
-
windowSpecToAddTip
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:DidYouKnowTipViewer andSelector:#windowSpecToAddTip
DidYouKnowTipViewer new openInterface:#windowSpecToAddTip
|
menu specs
-
mainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:DidYouKnowTipViewer andSelector:#mainMenu
(Menu new fromLiteralArrayEncoding:(DidYouKnowTipViewer mainMenu)) startUp
|
aspects
-
allTipsShownHolder
-
-
currentTipTextHolder
-
-
currentTipURLHolder
-
-
htmlTextForNewTip
-
-
iconHolder
-
-
infoHolder
-
-
nextTipEnabledHolder
-
-
publishTipToExeptHolder
-
-
showEnglishTips
-
-
showTipOfTheDayAtStartupHolder
-
-
textAcceptChannel
-
-
tipTitleHolder
-
initialization
-
defaultIcon
-
-
initialize
-
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications
-
postBuildWith: aBuilder
-
(comment from inherited method)
this is sent after an interface is built from a spec,
but only iff the appModel is not the same as the topView's app
(i.e. if it is not a build for the same appModel again).
In the other case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.
menu actions
-
checkTipsDirectory
-
-
chooseTip
-
-
clearHistory
-
-
doAddTip
-
send an email to stx-support@exept.de
-
openAddTipWindow
-
-
openDocumentation
-
This method was generated by the Browser.
It will be invoked when the menu-item 'help-documentation' is selected.
Also called when <F1> is pressed
-
openEditorOnCurrentTip
-
menu-dynamic
-
historyMenu
-
private
-
addToTipHistory: aTipName
-
-
chooseRandomTip
-
self new chooseRandomTip
-
isInTipHistory: aTip
-
-
noMoreTipsInfoText
-
-
noTipsInfoText
-
-
showNextTip
-
self new showNextTip
-
showNoMoreTipsInfo
-
-
showNoTipsInfo
-
-
showText: tipText
-
-
showTipFile: tipFilename
-
|tipText|
-
showTipFromHistory: tipName
-
-
tipsDirectory
-
look for a folder named:
docDir / lang / 'didYouKnowTips
where docDir is the ST/X doc/online folder
Usage example(s):
self basicNew tipsDirectory
|
Starting the application:
|