Polymorph-ToolBuilder

PSPluggableListSpec
A PSPluggableListSpec is xxxxxxxxx.
Instance Variables
action: <Object>
icon: <Object>
action
- xxxxx
icon
- xxxxx
action
Answer the value of action
action:
Set the value of action
icon
Answer the value of icon
icon:
Set the value of icon
PSToolBuilder
A PSToolBuilder is xxxxxxxxx.
Instance Variables
buildPluggableList:
Build an appropriate pluggable list.
buildPluggablePanel:
Build a pluggable panel (aka button row!).
buildPluggableWindow:
pluggableListSpec
Answer the spec supporting an action selector (doubleclick).
PSUIManager
A PSUIManager is xxxxxxxxx.
Instance Variables
chooseColor
Answer the user choice of a colour.
chooseColor:
Answer the user choice of a colour.
chooseColor:title:
Answer the user choice of a colour.
chooseDirectory:from:
Answer the user choice of a directory.
chooseFileMatching:label:
Let the user choose a file matching the given patterns
chooseFont
Answer the user choice of a font.
chooseFont:
Answer the user choice of a font.
chooseFont:title:
Answer the user choice of a font.
chooseFrom:lines:message:title:
Choose an item from the given list. Answer the selected item.
chooseFrom:lines:title:
Choose an item from the given list. Answer the index of the selected item.
chooseFrom:values:lines:message:title:
Choose an item from the given list. Answer the selected item.
chooseFrom:values:lines:title:
Choose an item from the given list. Answer the selected item.
confirm:
Put up a question dialog (without cancel) with the text queryString.
Answer true if the response is yes, false if no.
This is a modal question--the user must respond yes or no.
confirm:orCancel:
Put up a question dialog (with cancel) with the text queryString.
Answer true if the response is yes, false if no.
Answer the value of the cancel block if cancelled.
This is a modal question--the user must respond yes or no or cancel.
confirm:trueChoice:falseChoice:
Put up a yes/no menu with caption queryString. The actual wording for the two choices will be as provided in the trueChoice and falseChoice parameters. Answer true if the response is the true-choice, false if it's the false-choice.
This is a modal question -- the user must respond one way or the other.
inform:
Display a message for the user to read and then dismiss.
informUserDuring:
Display a message as progress during execution of the given block.
modalMorph
Answer the morph that should be used to handle modality.
multiLineRequest:centerAt:initialAnswer:answerHeight:
Create a multi-line instance of me whose question is queryString with
the given initial answer. Invoke it centered at the given point, and
answer the string the user accepts. Answer nil if the user cancels. An
empty string returned means that the ussr cleared the editing area and
then hit 'accept'. Because multiple lines are invited, we ask that the user
use the ENTER key, or (in morphic anyway) hit the 'accept' button, to
submit; that way, the return key can be typed to move to the next line.
request:initialAnswer:
Create an instance of me whose question is queryString with the given
initial answer. Answer the string the user accepts.
Answer the empty string if the user cancels.
Allow for interception with a ProvideAnswerNotification handler.
requestPassword:
Request for a password.
Allow for interception with a ProvideAnswerNotification handler.
Answer nil if the user cancels.
PluggableStandardWindow
A PluggableStandardWindow is xxxxxxxxx.
Instance Variables
children: <Object>
closeWindowSelector: <Object>
getChildrenSelector: <Object>
getLabelSelector: <Object>
children
- xxxxx
closeWindowSelector
- xxxxx
getChildrenSelector
- xxxxx
getLabelSelector
- xxxxx
addPaneMorph:
closeWindowSelector
closeWindowSelector:
delete
Should be this way around since the window may not close
for other reasons!
getChildrenSelector
getChildrenSelector:
getLabelSelector
getLabelSelector:
label
label:
update:
Receive a change notice from an object of whom the receiver is a
dependent. The default behavior is to do nothing; a subclass might want
to change itself in some way.
PluggableThemedPanelMorph
A PluggableThemedPanelMorph is xxxxxxxxx.
Instance Variables
adoptPaneColor:
Set the pane color.
color:
Set the pane color.
extent:
Update the bar fillStyle if appropriate.
initialize
Initialize the receiver.
normalFillStyle
Return the normal fillStyle of the receiver.