Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.683.mcz
==================== Summary ====================
Name: Tools-mt.683
Author: mt
Time: 5 April 2016, 10:35:30.367517 am
UUID: 933f05b4-6fdf-bc45-a831-18ea95e6bbb7
Ancestors: Tools-ul.682
Use item-specific help text. Do not overwrite widget help, which should be like 'Messages' or so.
=============== Diff against Tools-ul.682 ===============
Item was changed:
----- Method: Browser>>buildMessageListWith: (in category 'toolbuilder') -----
buildMessageListWith: builder
| listSpec |
listSpec := builder pluggableListSpec new.
listSpec
model: self;
list: #messageList;
getIndex: #messageListIndex;
setIndex: #messageListIndex:;
icon: #messageIconAt:;
+ helpItem: #messageHelpAt:;
- help: #messageHelpAt:;
menu: #messageListMenu:shifted:;
keyPress: #messageListKey:from:.
SystemBrowser browseWithDragNDrop
ifTrue:[listSpec dragItem: #dragFromMessageList:].
^listSpec
!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.683.mcz
==================== Summary ====================
Name: Tools-mt.683
Author: mt
Time: 5 April 2016, 10:35:30.367517 am
UUID: 933f05b4-6fdf-bc45-a831-18ea95e6bbb7
Ancestors: Tools-ul.682
Use item-specific help text. Do not overwrite widget help, which should be like 'Messages' or so.
=============== Diff against Tools-ul.682 ===============
Item was changed:
----- Method: Browser>>buildMessageListWith: (in category 'toolbuilder') -----
buildMessageListWith: builder
| listSpec |
listSpec := builder pluggableListSpec new.
listSpec
model: self;
list: #messageList;
getIndex: #messageListIndex;
setIndex: #messageListIndex:;
icon: #messageIconAt:;
+ helpItem: #messageHelpAt:;
- help: #messageHelpAt:;
menu: #messageListMenu:shifted:;
keyPress: #messageListKey:from:.
SystemBrowser browseWithDragNDrop
ifTrue:[listSpec dragItem: #dragFromMessageList:].
^listSpec
!
Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.95.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-mt.95
Author: mt
Time: 5 April 2016, 10:33:54.497517 am
UUID: cfb10ebe-4bc5-1a4e-a829-1060547b5541
Ancestors: ToolBuilder-Kernel-mt.94
Adds way to specify help (selector) per item in a list. Use regular #help for the widgets overall help text also in lists.
=============== Diff against ToolBuilder-Kernel-mt.94 ===============
Item was changed:
PluggableWidgetSpec subclass: #PluggableListSpec
+ instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem'
- instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted'
classVariableNames: ''
poolDictionaries: ''
category: 'ToolBuilder-Kernel'!
!PluggableListSpec commentStamp: 'ar 7/15/2005 11:54' prior: 0!
A single selection list element.
Instance variables:
list <Symbol> The selector to retrieve the list elements.
getIndex <Symbol> The selector to retrieve the list selection index.
setIndex <Symbol> The selector to set the list selection index.
getSelected <Symbol> The selector to retrieve the list selection.
setSelected <Symbol> The selector to set the list selection.
menu <Symbol> The selector to offer (to retrieve?) the context menu.
keyPress <Symbol> The selector to invoke for handling keyboard shortcuts.
autoDeselect <Boolean> Whether the list should allow automatic deselection or not.
dragItem <Symbol> Selector to initiate a drag action on an item
dropItem <Symbol> Selector to initiate a drop action of an item
dropAccept <Symbol> Selector to determine whether a drop would be accepted!
Item was added:
+ ----- Method: PluggableListSpec>>helpItem (in category 'accessing') -----
+ helpItem
+
+ ^ helpItem!
Item was added:
+ ----- Method: PluggableListSpec>>helpItem: (in category 'accessing') -----
+ helpItem: selector
+
+ helpItem := selector.!
Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.95.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-mt.95
Author: mt
Time: 5 April 2016, 10:33:54.497517 am
UUID: cfb10ebe-4bc5-1a4e-a829-1060547b5541
Ancestors: ToolBuilder-Kernel-mt.94
Adds way to specify help (selector) per item in a list. Use regular #help for the widgets overall help text also in lists.
=============== Diff against ToolBuilder-Kernel-mt.94 ===============
Item was changed:
PluggableWidgetSpec subclass: #PluggableListSpec
+ instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem'
- instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted'
classVariableNames: ''
poolDictionaries: ''
category: 'ToolBuilder-Kernel'!
!PluggableListSpec commentStamp: 'ar 7/15/2005 11:54' prior: 0!
A single selection list element.
Instance variables:
list <Symbol> The selector to retrieve the list elements.
getIndex <Symbol> The selector to retrieve the list selection index.
setIndex <Symbol> The selector to set the list selection index.
getSelected <Symbol> The selector to retrieve the list selection.
setSelected <Symbol> The selector to set the list selection.
menu <Symbol> The selector to offer (to retrieve?) the context menu.
keyPress <Symbol> The selector to invoke for handling keyboard shortcuts.
autoDeselect <Boolean> Whether the list should allow automatic deselection or not.
dragItem <Symbol> Selector to initiate a drag action on an item
dropItem <Symbol> Selector to initiate a drop action of an item
dropAccept <Symbol> Selector to determine whether a drop would be accepted!
Item was added:
+ ----- Method: PluggableListSpec>>helpItem (in category 'accessing') -----
+ helpItem
+
+ ^ helpItem!
Item was added:
+ ----- Method: PluggableListSpec>>helpItem: (in category 'accessing') -----
+ helpItem: selector
+
+ helpItem := selector.!